src/hotspot/share/opto/intrinsicnode.hpp

Print this page

        

*** 178,183 **** --- 178,219 ---- virtual uint ideal_reg() const { return Op_RegI; } virtual Node* Ideal(PhaseGVN* phase, bool can_reshape); virtual const Type* Value(PhaseGVN* phase) const; }; + //-------------------------------DigitNode---------------------------------------- + class DigitNode : public Node { + public: + DigitNode(Node* control, Node *in1) : Node(control, in1) {} + virtual int Opcode() const; + const Type* bottom_type() const { return TypeInt::BOOL; } + virtual uint ideal_reg() const { return Op_RegI; } + }; + + //------------------------------LowerCaseNode------------------------------------ + class LowerCaseNode : public Node { + public: + LowerCaseNode(Node* control, Node *in1) : Node(control, in1) {} + virtual int Opcode() const; + const Type* bottom_type() const { return TypeInt::BOOL; } + virtual uint ideal_reg() const { return Op_RegI; } + }; + + //------------------------------UpperCaseNode------------------------------------ + class UpperCaseNode : public Node { + public: + UpperCaseNode(Node* control, Node *in1) : Node(control, in1) {} + virtual int Opcode() const; + const Type* bottom_type() const { return TypeInt::BOOL; } + virtual uint ideal_reg() const { return Op_RegI; } + }; + + //------------------------------WhitespaceCode----------------------------------- + class WhitespaceNode : public Node { + public: + WhitespaceNode(Node* control, Node *in1) : Node(control, in1) {} + virtual int Opcode() const; + const Type* bottom_type() const { return TypeInt::BOOL; } + virtual uint ideal_reg() const { return Op_RegI; } + }; + #endif // SHARE_VM_OPTO_INTRINSICNODE_HPP