89 Register as_Register(PhaseRegAlloc *ra_, const Node *node) const { 90 return ::as_Register(reg(ra_, node)); 91 } 92 Register as_Register(PhaseRegAlloc *ra_, const Node *node, int idx) const { 93 return ::as_Register(reg(ra_, node, idx)); 94 } 95 FloatRegister as_FloatRegister(PhaseRegAlloc *ra_, const Node *node) const { 96 return ::as_FloatRegister(reg(ra_, node)); 97 } 98 FloatRegister as_FloatRegister(PhaseRegAlloc *ra_, const Node *node, int idx) const { 99 return ::as_FloatRegister(reg(ra_, node, idx)); 100 } 101 102 #if defined(IA32) || defined(AMD64) 103 XMMRegister as_XMMRegister(PhaseRegAlloc *ra_, const Node *node) const { 104 return ::as_XMMRegister(reg(ra_, node)); 105 } 106 XMMRegister as_XMMRegister(PhaseRegAlloc *ra_, const Node *node, int idx) const { 107 return ::as_XMMRegister(reg(ra_, node, idx)); 108 } 109 #endif 110 // CondRegister reg converter 111 #if defined(PPC64) 112 ConditionRegister as_ConditionRegister(PhaseRegAlloc *ra_, const Node *node) const { 113 return ::as_ConditionRegister(reg(ra_, node)); 114 } 115 ConditionRegister as_ConditionRegister(PhaseRegAlloc *ra_, const Node *node, int idx) const { 116 return ::as_ConditionRegister(reg(ra_, node, idx)); 117 } 118 #endif 119 120 virtual intptr_t constant() const; 121 virtual relocInfo::relocType constant_reloc() const; 122 virtual jdouble constantD() const; 123 virtual jfloat constantF() const; 124 virtual jlong constantL() const; 125 virtual TypeOopPtr *oop() const; 126 virtual int ccode() const; 127 // A zero, default, indicates this value is not needed. 128 // May need to lookup the base register, as done in int_ and ext_format | 89 Register as_Register(PhaseRegAlloc *ra_, const Node *node) const { 90 return ::as_Register(reg(ra_, node)); 91 } 92 Register as_Register(PhaseRegAlloc *ra_, const Node *node, int idx) const { 93 return ::as_Register(reg(ra_, node, idx)); 94 } 95 FloatRegister as_FloatRegister(PhaseRegAlloc *ra_, const Node *node) const { 96 return ::as_FloatRegister(reg(ra_, node)); 97 } 98 FloatRegister as_FloatRegister(PhaseRegAlloc *ra_, const Node *node, int idx) const { 99 return ::as_FloatRegister(reg(ra_, node, idx)); 100 } 101 102 #if defined(IA32) || defined(AMD64) 103 XMMRegister as_XMMRegister(PhaseRegAlloc *ra_, const Node *node) const { 104 return ::as_XMMRegister(reg(ra_, node)); 105 } 106 XMMRegister as_XMMRegister(PhaseRegAlloc *ra_, const Node *node, int idx) const { 107 return ::as_XMMRegister(reg(ra_, node, idx)); 108 } 109 110 KRegister as_KRegister(PhaseRegAlloc *ra_, const Node *node) const { 111 return ::as_KRegister(reg(ra_, node)); 112 } 113 KRegister as_KRegister(PhaseRegAlloc *ra_, const Node *node, int idx) const { 114 return ::as_KRegister(reg(ra_, node, idx)); 115 } 116 #endif 117 // CondRegister reg converter 118 #if defined(PPC64) 119 ConditionRegister as_ConditionRegister(PhaseRegAlloc *ra_, const Node *node) const { 120 return ::as_ConditionRegister(reg(ra_, node)); 121 } 122 ConditionRegister as_ConditionRegister(PhaseRegAlloc *ra_, const Node *node, int idx) const { 123 return ::as_ConditionRegister(reg(ra_, node, idx)); 124 } 125 #endif 126 127 virtual intptr_t constant() const; 128 virtual relocInfo::relocType constant_reloc() const; 129 virtual jdouble constantD() const; 130 virtual jfloat constantF() const; 131 virtual jlong constantL() const; 132 virtual TypeOopPtr *oop() const; 133 virtual int ccode() const; 134 // A zero, default, indicates this value is not needed. 135 // May need to lookup the base register, as done in int_ and ext_format |