Lines Matching refs:VPValue

57 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {  in addCombined()
58 if (all_of(Operands, [](VPValue *V) { in addCombined()
62 for (VPValue *V : Operands) { in addCombined()
76 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const { in areVectorizable()
78 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
94 if (!all_of(Operands, [Opcode, Width](VPValue *Op) { in areVectorizable()
104 if (any_of(Operands, [this](VPValue *Op) { in areVectorizable()
112 [](VPValue *Op) { return Op->hasMoreThanOneUniqueUser(); })) { in areVectorizable()
141 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
151 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
162 static SmallVector<VPValue *, 4> getOperands(ArrayRef<VPValue *> Values, in getOperands()
164 SmallVector<VPValue *, 4> Operands; in getOperands()
165 for (VPValue *V : Values) { in getOperands()
173 static bool areCommutative(ArrayRef<VPValue *> Values) { in areCommutative()
178 static SmallVector<SmallVector<VPValue *, 4>, 4>
179 getOperands(ArrayRef<VPValue *> Values) { in getOperands()
180 SmallVector<SmallVector<VPValue *, 4>, 4> Result; in getOperands()
199 static Optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) { in getOpcode()
201 if (any_of(Values, [Opcode](VPValue *V) { in getOpcode()
226 static unsigned getLAScore(VPValue *V1, VPValue *V2, unsigned MaxLevel, in getLAScore()
245 std::pair<VPlanSlp::OpMode, VPValue *>
246 VPlanSlp::getBest(OpMode Mode, VPValue *Last, in getBest()
247 SmallPtrSetImpl<VPValue *> &Candidates, in getBest()
253 SmallVector<VPValue *, 4> BestCandidates; in getBest()
273 VPValue *Best = nullptr; in getBest()
323 SmallPtrSet<VPValue *, 4> Candidates; in reorderMultiNodeOps()
338 VPValue *Last = FinalOrder[Op].second[Lane - 1]; in reorderMultiNodeOps()
339 std::pair<OpMode, VPValue *> Res = in reorderMultiNodeOps()
353 void VPlanSlp::dumpBundle(ArrayRef<VPValue *> Values) { in dumpBundle()
367 VPInstruction *VPlanSlp::buildGraph(ArrayRef<VPValue *> Values) { in buildGraph()
401 SmallVector<VPValue *, 4> CombinedOperands; in buildGraph()
446 for (VPValue *V : Values) in buildGraph()