Lines Matching refs:VPValue
39 class VPValue {
54 VPValue(const unsigned char SC, Value *UV = nullptr)
80 VPValue(Value *UV = nullptr) : VPValue(VPValueSC, UV) {} in VPValue() function
81 VPValue(const VPValue &) = delete;
82 VPValue &operator=(const VPValue &) = delete;
122 void replaceAllUsesWith(VPValue *New);
125 typedef DenseMap<Value *, VPValue *> Value2VPValueTy;
126 typedef DenseMap<VPValue *, Value *> VPValue2ValueTy;
128 raw_ostream &operator<<(raw_ostream &OS, const VPValue &V);
132 class VPUser : public VPValue {
134 SmallVector<VPValue *, 2> Operands;
137 VPUser(const unsigned char SC) : VPValue(SC) {} in VPUser()
138 VPUser(const unsigned char SC, ArrayRef<VPValue *> Operands) : VPValue(SC) { in VPUser()
139 for (VPValue *Operand : Operands) in VPUser()
144 VPUser() : VPValue(VPValue::VPUserSC) {} in VPUser()
145 VPUser(ArrayRef<VPValue *> Operands) : VPUser(VPValue::VPUserSC, Operands) {} in VPUser()
146 VPUser(std::initializer_list<VPValue *> Operands) in VPUser()
147 : VPUser(ArrayRef<VPValue *>(Operands)) {} in VPUser()
152 static inline bool classof(const VPValue *V) { in classof()
157 void addOperand(VPValue *Operand) { in addOperand()
163 inline VPValue *getOperand(unsigned N) const { in getOperand()
168 void setOperand(unsigned I, VPValue *New) { Operands[I] = New; } in setOperand()
170 typedef SmallVectorImpl<VPValue *>::iterator operand_iterator;
171 typedef SmallVectorImpl<VPValue *>::const_iterator const_operand_iterator;