< prev index next >

src/share/vm/opto/addnode.hpp

Print this page

        

@@ -73,11 +73,11 @@
 //------------------------------AddINode---------------------------------------
 // Add 2 integers
 class AddINode : public AddNode {
 public:
   AddINode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeInt::ZERO; }
   virtual const Type *bottom_type() const { return TypeInt::INT; }
   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
   virtual Node* Identity(PhaseGVN* phase);

@@ -87,11 +87,11 @@
 //------------------------------AddLNode---------------------------------------
 // Add 2 longs
 class AddLNode : public AddNode {
 public:
   AddLNode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeLong::ZERO; }
   virtual const Type *bottom_type() const { return TypeLong::LONG; }
   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
   virtual Node* Identity(PhaseGVN* phase);

@@ -101,11 +101,11 @@
 //------------------------------AddFNode---------------------------------------
 // Add 2 floats
 class AddFNode : public AddNode {
 public:
   AddFNode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
   virtual const Type *add_of_identity( const Type *t1, const Type *t2 ) const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeF::ZERO; }
   virtual const Type *bottom_type() const { return Type::FLOAT; }

@@ -116,11 +116,11 @@
 //------------------------------AddDNode---------------------------------------
 // Add 2 doubles
 class AddDNode : public AddNode {
 public:
   AddDNode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
   virtual const Type *add_of_identity( const Type *t1, const Type *t2 ) const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeD::ZERO; }
   virtual const Type *bottom_type() const { return Type::DOUBLE; }

@@ -139,11 +139,11 @@
          Address,               // Actually address, derived from base
          Offset } ;             // Offset added to address
   AddPNode( Node *base, Node *ptr, Node *off ) : Node(0,base,ptr,off) {
     init_class_id(Class_AddP);
   }
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual Node* Identity(PhaseGVN* phase);
   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
   virtual const Type* Value(PhaseGVN* phase) const;
   virtual const Type *bottom_type() const;
   virtual uint  ideal_reg() const { return Op_RegP; }

@@ -164,11 +164,11 @@
 // Logically OR 2 integers.  Included with the ADD nodes because it inherits
 // all the behavior of addition on a ring.
 class OrINode : public AddNode {
 public:
   OrINode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeInt::ZERO; }
   virtual const Type *bottom_type() const { return TypeInt::INT; }
   virtual Node* Identity(PhaseGVN* phase);
   virtual uint ideal_reg() const { return Op_RegI; }

@@ -178,11 +178,11 @@
 // Logically OR 2 longs.  Included with the ADD nodes because it inherits
 // all the behavior of addition on a ring.
 class OrLNode : public AddNode {
 public:
   OrLNode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeLong::ZERO; }
   virtual const Type *bottom_type() const { return TypeLong::LONG; }
   virtual Node* Identity(PhaseGVN* phase);
   virtual uint ideal_reg() const { return Op_RegL; }

@@ -191,11 +191,11 @@
 //------------------------------XorINode---------------------------------------
 // XOR'ing 2 integers
 class XorINode : public AddNode {
 public:
   XorINode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeInt::ZERO; }
   virtual const Type *bottom_type() const { return TypeInt::INT; }
   virtual uint ideal_reg() const { return Op_RegI; }
 };

@@ -203,11 +203,11 @@
 //------------------------------XorINode---------------------------------------
 // XOR'ing 2 longs
 class XorLNode : public AddNode {
 public:
   XorLNode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeLong::ZERO; }
   virtual const Type *bottom_type() const { return TypeLong::LONG; }
   virtual uint ideal_reg() const { return Op_RegL; }
 };

@@ -217,20 +217,20 @@
 // all the behavior of addition on a ring.  Only new thing is that we allow
 // 2 equal inputs to be equal.
 class MaxNode : public AddNode {
 public:
   MaxNode( Node *in1, Node *in2 ) : AddNode(in1,in2) {}
-  virtual int Opcode() const = 0;
+  virtual uint Opcode() const = 0;
 };
 
 //------------------------------MaxINode---------------------------------------
 // Maximum of 2 integers.  Included with the ADD nodes because it inherits
 // all the behavior of addition on a ring.
 class MaxINode : public MaxNode {
 public:
   MaxINode( Node *in1, Node *in2 ) : MaxNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeInt::make(min_jint); }
   virtual const Type *bottom_type() const { return TypeInt::INT; }
   virtual uint ideal_reg() const { return Op_RegI; }
 };

@@ -239,11 +239,11 @@
 // MINimum of 2 integers.  Included with the ADD nodes because it inherits
 // all the behavior of addition on a ring.
 class MinINode : public MaxNode {
 public:
   MinINode( Node *in1, Node *in2 ) : MaxNode(in1,in2) {}
-  virtual int Opcode() const;
+  virtual uint Opcode() const;
   virtual const Type *add_ring( const Type *, const Type * ) const;
   virtual const Type *add_id() const { return TypeInt::make(max_jint); }
   virtual const Type *bottom_type() const { return TypeInt::INT; }
   virtual uint ideal_reg() const { return Op_RegI; }
   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
< prev index next >