Lines Matching refs:CLASS
125 #define DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CLASS, VALUECLASS) \
126 CLASS::op_iterator CLASS::op_begin() { \
127 return OperandTraits<CLASS>::op_begin(this); \
129 CLASS::const_op_iterator CLASS::op_begin() const { \
130 return OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this)); \
132 CLASS::op_iterator CLASS::op_end() { \
133 return OperandTraits<CLASS>::op_end(this); \
135 CLASS::const_op_iterator CLASS::op_end() const { \
136 return OperandTraits<CLASS>::op_end(const_cast<CLASS*>(this)); \
138 VALUECLASS *CLASS::getOperand(unsigned i_nocapture) const { \
139 assert(i_nocapture < OperandTraits<CLASS>::operands(this) \
142 OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this))[i_nocapture].get()); \
144 void CLASS::setOperand(unsigned i_nocapture, VALUECLASS *Val_nocapture) { \
145 assert(i_nocapture < OperandTraits<CLASS>::operands(this) \
147 OperandTraits<CLASS>::op_begin(this)[i_nocapture] = Val_nocapture; \
149 unsigned CLASS::getNumOperands() const { \
150 return OperandTraits<CLASS>::operands(this); \
152 template <int Idx_nocapture> Use &CLASS::Op() { \
155 template <int Idx_nocapture> const Use &CLASS::Op() const { \