Lines Matching refs:VPValue
44 class VPValue {
67 VPValue(const unsigned char SC, Value *UV = nullptr, VPDef *Def = nullptr);
112 VPValue(Value *UV = nullptr, VPDef *Def = nullptr)
113 : VPValue(VPValueSC, UV, Def) {} in VPValue() function
114 VPValue(const VPValue &) = delete;
115 VPValue &operator=(const VPValue &) = delete;
117 virtual ~VPValue();
177 void replaceAllUsesWith(VPValue *New);
191 typedef DenseMap<Value *, VPValue *> Value2VPValueTy;
192 typedef DenseMap<VPValue *, Value *> VPValue2ValueTy;
194 raw_ostream &operator<<(raw_ostream &OS, const VPValue &V);
209 SmallVector<VPValue *, 2> Operands;
219 VPUser(ArrayRef<VPValue *> Operands, VPUserID ID) : ID(ID) { in VPUser()
220 for (VPValue *Operand : Operands) in VPUser()
224 VPUser(std::initializer_list<VPValue *> Operands, VPUserID ID) in VPUser()
225 : VPUser(ArrayRef<VPValue *>(Operands), ID) {} in VPUser()
229 for (VPValue *Operand : Operands) in VPUser()
238 for (VPValue *Op : operands()) in ~VPUser()
244 void addOperand(VPValue *Operand) { in addOperand()
250 inline VPValue *getOperand(unsigned N) const { in getOperand()
255 void setOperand(unsigned I, VPValue *New) { in setOperand()
262 VPValue *Op = Operands.pop_back_val(); in removeLastOperand()
266 typedef SmallVectorImpl<VPValue *>::iterator operand_iterator;
267 typedef SmallVectorImpl<VPValue *>::const_iterator const_operand_iterator;
290 friend class VPValue; variable
296 TinyPtrVector<VPValue *> DefinedValues;
299 void addDefinedValue(VPValue *V) { in addDefinedValue()
307 void removeDefinedValue(VPValue *V) { in removeDefinedValue()
348 for (VPValue *D : make_early_inc_range(DefinedValues)) { in ~VPDef()
360 VPValue *getVPSingleValue() { in getVPSingleValue()
365 const VPValue *getVPSingleValue() const { in getVPSingleValue()
372 VPValue *getVPValue(unsigned I) { in getVPValue()
376 const VPValue *getVPValue(unsigned I) const { in getVPValue()
382 ArrayRef<VPValue *> definedValues() { return DefinedValues; } in definedValues()
384 ArrayRef<VPValue *> definedValues() const { return DefinedValues; } in definedValues()
412 DenseMap<const VPValue *, unsigned> Slots;
415 void assignSlot(const VPValue *V);
424 unsigned getSlot(const VPValue *V) const { in getSlot()