< prev index next >

src/share/vm/opto/subnode.hpp

Print this page




 485 //-------------------------------ReverseBytesUSNode--------------------------------
 486 // reverse bytes of an unsigned short / char
 487 class ReverseBytesUSNode : public Node {
 488 public:
 489   ReverseBytesUSNode(Node *c, Node *in1) : Node(c, in1) {}
 490   virtual int Opcode() const;
 491   const Type *bottom_type() const { return TypeInt::CHAR; }
 492   virtual uint ideal_reg() const { return Op_RegI; }
 493 };
 494 
 495 //-------------------------------ReverseBytesSNode--------------------------------
 496 // reverse bytes of a short
 497 class ReverseBytesSNode : public Node {
 498 public:
 499   ReverseBytesSNode(Node *c, Node *in1) : Node(c, in1) {}
 500   virtual int Opcode() const;
 501   const Type *bottom_type() const { return TypeInt::SHORT; }
 502   virtual uint ideal_reg() const { return Op_RegI; }
 503 };
 504 











 505 #endif // SHARE_VM_OPTO_SUBNODE_HPP


 485 //-------------------------------ReverseBytesUSNode--------------------------------
 486 // reverse bytes of an unsigned short / char
 487 class ReverseBytesUSNode : public Node {
 488 public:
 489   ReverseBytesUSNode(Node *c, Node *in1) : Node(c, in1) {}
 490   virtual int Opcode() const;
 491   const Type *bottom_type() const { return TypeInt::CHAR; }
 492   virtual uint ideal_reg() const { return Op_RegI; }
 493 };
 494 
 495 //-------------------------------ReverseBytesSNode--------------------------------
 496 // reverse bytes of a short
 497 class ReverseBytesSNode : public Node {
 498 public:
 499   ReverseBytesSNode(Node *c, Node *in1) : Node(c, in1) {}
 500   virtual int Opcode() const;
 501   const Type *bottom_type() const { return TypeInt::SHORT; }
 502   virtual uint ideal_reg() const { return Op_RegI; }
 503 };
 504 
 505 //------------------------------MaskCreateNode------------------------------------
 506 // Provide a mask for a vector predicate machine
 507 class MaskCreateINode : public Node {
 508 public:
 509   MaskCreateINode(Node *c, Node *in1) : Node(c, in1) {}
 510   virtual int Opcode() const;
 511   const Type *bottom_type() const { return TypeInt::INT; }
 512   virtual uint ideal_reg() const { return Op_RegI; }
 513   virtual const Type *Value(PhaseGVN *phase) const { return TypeInt::INT; }
 514 };
 515 
 516 #endif // SHARE_VM_OPTO_SUBNODE_HPP
< prev index next >