src/hotspot/share/opto/intrinsicnode.hpp

Print this page




 163   virtual int Opcode() const;
 164   virtual const Type* bottom_type() const { return TypeInt::BOOL; }
 165 };
 166 
 167 
 168 //------------------------------EncodeISOArray--------------------------------
 169 // encode char[] to byte[] in ISO_8859_1
 170 class EncodeISOArrayNode: public Node {
 171  public:
 172   EncodeISOArrayNode(Node* control, Node* arymem, Node* s1, Node* s2, Node* c): Node(control, arymem, s1, s2, c) {};
 173   virtual int Opcode() const;
 174   virtual bool depends_only_on_test() const { return false; }
 175   virtual const Type* bottom_type() const { return TypeInt::INT; }
 176   virtual const TypePtr* adr_type() const { return TypePtr::BOTTOM; }
 177   virtual uint match_edge(uint idx) const;
 178   virtual uint ideal_reg() const { return Op_RegI; }
 179   virtual Node* Ideal(PhaseGVN* phase, bool can_reshape);
 180   virtual const Type* Value(PhaseGVN* phase) const;
 181 };
 182 




































 183 #endif // SHARE_VM_OPTO_INTRINSICNODE_HPP


 163   virtual int Opcode() const;
 164   virtual const Type* bottom_type() const { return TypeInt::BOOL; }
 165 };
 166 
 167 
 168 //------------------------------EncodeISOArray--------------------------------
 169 // encode char[] to byte[] in ISO_8859_1
 170 class EncodeISOArrayNode: public Node {
 171  public:
 172   EncodeISOArrayNode(Node* control, Node* arymem, Node* s1, Node* s2, Node* c): Node(control, arymem, s1, s2, c) {};
 173   virtual int Opcode() const;
 174   virtual bool depends_only_on_test() const { return false; }
 175   virtual const Type* bottom_type() const { return TypeInt::INT; }
 176   virtual const TypePtr* adr_type() const { return TypePtr::BOTTOM; }
 177   virtual uint match_edge(uint idx) const;
 178   virtual uint ideal_reg() const { return Op_RegI; }
 179   virtual Node* Ideal(PhaseGVN* phase, bool can_reshape);
 180   virtual const Type* Value(PhaseGVN* phase) const;
 181 };
 182 
 183 //-------------------------------DigitNode----------------------------------------
 184 class DigitNode : public Node {
 185 public:
 186   DigitNode(Node* control, Node *in1) : Node(control, in1) {}
 187   virtual int Opcode() const;
 188   const Type* bottom_type() const { return TypeInt::BOOL; }
 189   virtual uint ideal_reg() const { return Op_RegI; }
 190 };
 191 
 192 //------------------------------LowerCaseNode------------------------------------
 193 class LowerCaseNode : public Node {
 194 public:
 195   LowerCaseNode(Node* control, Node *in1) : Node(control, in1) {}
 196   virtual int Opcode() const;
 197   const Type* bottom_type() const { return TypeInt::BOOL; }
 198   virtual uint ideal_reg() const { return Op_RegI; }
 199 };
 200 
 201 //------------------------------UpperCaseNode------------------------------------
 202 class UpperCaseNode : public Node {
 203 public:
 204   UpperCaseNode(Node* control, Node *in1) : Node(control, in1) {}
 205   virtual int Opcode() const;
 206   const Type* bottom_type() const { return TypeInt::BOOL; }
 207   virtual uint ideal_reg() const { return Op_RegI; }
 208 };
 209 
 210 //------------------------------WhitespaceCode-----------------------------------
 211 class WhitespaceNode : public Node {
 212 public:
 213   WhitespaceNode(Node* control, Node *in1) : Node(control, in1) {}
 214   virtual int Opcode() const;
 215   const Type* bottom_type() const { return TypeInt::BOOL; }
 216   virtual uint ideal_reg() const { return Op_RegI; }
 217 };
 218 
 219 #endif // SHARE_VM_OPTO_INTRINSICNODE_HPP