Lines Matching refs:Operands
134 SmallVector<VPValue *, 2> Operands;
138 VPUser(const unsigned char SC, ArrayRef<VPValue *> Operands) : VPValue(SC) { in VPUser() argument
139 for (VPValue *Operand : Operands) in VPUser()
145 VPUser(ArrayRef<VPValue *> Operands) : VPUser(VPValue::VPUserSC, Operands) {} in VPUser() argument
146 VPUser(std::initializer_list<VPValue *> Operands) in VPUser() argument
147 : VPUser(ArrayRef<VPValue *>(Operands)) {} in VPUser()
158 Operands.push_back(Operand); in addOperand()
162 unsigned getNumOperands() const { return Operands.size(); } in getNumOperands()
164 assert(N < Operands.size() && "Operand index out of bounds"); in getOperand()
165 return Operands[N]; in getOperand()
168 void setOperand(unsigned I, VPValue *New) { Operands[I] = New; } in setOperand()
175 operand_iterator op_begin() { return Operands.begin(); } in op_begin()
176 const_operand_iterator op_begin() const { return Operands.begin(); } in op_begin()
177 operand_iterator op_end() { return Operands.end(); } in op_end()
178 const_operand_iterator op_end() const { return Operands.end(); } in op_end()