Lines Matching refs:VPValue

44 class VPValue {
67 VPValue(const unsigned char SC, Value *UV = nullptr, VPDef *Def = nullptr);
115 VPValue(Value *UV = nullptr, VPDef *Def = nullptr)
116 : VPValue(VPValueSC, UV, Def) {} in VPValue() function
117 VPValue(const VPValue &) = delete;
118 VPValue &operator=(const VPValue &) = delete;
120 virtual ~VPValue();
180 void replaceAllUsesWith(VPValue *New);
200 typedef DenseMap<Value *, VPValue *> Value2VPValueTy;
201 typedef DenseMap<VPValue *, Value *> VPValue2ValueTy;
203 raw_ostream &operator<<(raw_ostream &OS, const VPValue &V);
216 SmallVector<VPValue *, 2> Operands;
226 VPUser(ArrayRef<VPValue *> Operands, VPUserID ID) : ID(ID) { in VPUser()
227 for (VPValue *Operand : Operands) in VPUser()
231 VPUser(std::initializer_list<VPValue *> Operands, VPUserID ID) in VPUser()
232 : VPUser(ArrayRef<VPValue *>(Operands), ID) {} in VPUser()
236 for (VPValue *Operand : Operands) in VPUser()
245 for (VPValue *Op : operands()) in ~VPUser()
251 void addOperand(VPValue *Operand) { in addOperand()
257 inline VPValue *getOperand(unsigned N) const { in getOperand()
262 void setOperand(unsigned I, VPValue *New) { in setOperand()
269 VPValue *Op = Operands.pop_back_val(); in removeLastOperand()
273 typedef SmallVectorImpl<VPValue *>::iterator operand_iterator;
274 typedef SmallVectorImpl<VPValue *>::const_iterator const_operand_iterator;
292 virtual bool usesScalars(const VPValue *Op) const { in usesScalars()
300 virtual bool onlyFirstLaneUsed(const VPValue *Op) const { in onlyFirstLaneUsed()
313 friend class VPValue; variable
319 TinyPtrVector<VPValue *> DefinedValues;
322 void addDefinedValue(VPValue *V) { in addDefinedValue()
330 void removeDefinedValue(VPValue *V) { in removeDefinedValue()
376 for (VPValue *D : make_early_inc_range(DefinedValues)) { in ~VPDef()
388 VPValue *getVPSingleValue() { in getVPSingleValue()
393 const VPValue *getVPSingleValue() const { in getVPSingleValue()
400 VPValue *getVPValue(unsigned I) { in getVPValue()
404 const VPValue *getVPValue(unsigned I) const { in getVPValue()
410 ArrayRef<VPValue *> definedValues() { return DefinedValues; } in definedValues()
412 ArrayRef<VPValue *> definedValues() const { return DefinedValues; } in definedValues()
439 DenseMap<const VPValue *, unsigned> Slots;
442 void assignSlot(const VPValue *V);
451 unsigned getSlot(const VPValue *V) const { in getSlot()