< prev index next >

src/hotspot/share/opto/intrinsicnode.hpp

Print this page




 147 
 148 //------------------------------AryEq---------------------------------------
 149 class AryEqNode: public StrIntrinsicNode {
 150  public:
 151   AryEqNode(Node* control, Node* char_array_mem,
 152             Node* s1, Node* s2, ArgEncoding encoding):
 153   StrIntrinsicNode(control, char_array_mem, s1, s2, encoding) {};
 154   virtual int Opcode() const;
 155   virtual const Type* bottom_type() const { return TypeInt::BOOL; }
 156 };
 157 
 158 //------------------------------HasNegatives---------------------------------
 159 class HasNegativesNode: public StrIntrinsicNode {
 160  public:
 161   HasNegativesNode(Node* control, Node* char_array_mem, Node* s1, Node* c1):
 162   StrIntrinsicNode(control, char_array_mem, s1, c1, none) {};
 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) {}




 147 
 148 //------------------------------AryEq---------------------------------------
 149 class AryEqNode: public StrIntrinsicNode {
 150  public:
 151   AryEqNode(Node* control, Node* char_array_mem,
 152             Node* s1, Node* s2, ArgEncoding encoding):
 153   StrIntrinsicNode(control, char_array_mem, s1, s2, encoding) {};
 154   virtual int Opcode() const;
 155   virtual const Type* bottom_type() const { return TypeInt::BOOL; }
 156 };
 157 
 158 //------------------------------HasNegatives---------------------------------
 159 class HasNegativesNode: public StrIntrinsicNode {
 160  public:
 161   HasNegativesNode(Node* control, Node* char_array_mem, Node* s1, Node* c1):
 162   StrIntrinsicNode(control, char_array_mem, s1, c1, none) {};
 163   virtual int Opcode() const;
 164   virtual const Type* bottom_type() const { return TypeInt::BOOL; }
 165 };
 166 
 167 //------------------------------GetFP ---------------------------------
 168  class GetFPNode: public Node {
 169   public:
 170    GetFPNode(Node* ctrl):
 171      Node(ctrl) {}
 172 
 173    virtual int Opcode() const;
 174    virtual uint ideal_reg() const { return Op_RegL; }
 175    virtual const Type* bottom_type() const { return TypeLong::LONG; }
 176  };
 177 
 178 //------------------------------EncodeISOArray--------------------------------
 179 // encode char[] to byte[] in ISO_8859_1
 180 class EncodeISOArrayNode: public Node {
 181  public:
 182   EncodeISOArrayNode(Node* control, Node* arymem, Node* s1, Node* s2, Node* c): Node(control, arymem, s1, s2, c) {};
 183   virtual int Opcode() const;
 184   virtual bool depends_only_on_test() const { return false; }
 185   virtual const Type* bottom_type() const { return TypeInt::INT; }
 186   virtual const TypePtr* adr_type() const { return TypePtr::BOTTOM; }
 187   virtual uint match_edge(uint idx) const;
 188   virtual uint ideal_reg() const { return Op_RegI; }
 189   virtual Node* Ideal(PhaseGVN* phase, bool can_reshape);
 190   virtual const Type* Value(PhaseGVN* phase) const;
 191 };
 192 
 193 //-------------------------------DigitNode----------------------------------------
 194 class DigitNode : public Node {
 195 public:
 196   DigitNode(Node* control, Node *in1) : Node(control, in1) {}


< prev index next >