Lines Matching refs:VPValue

58 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {  in addCombined()
59 if (all_of(Operands, [](VPValue *V) { in addCombined()
63 for (VPValue *V : Operands) { in addCombined()
77 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const { in areVectorizable()
79 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
95 if (!all_of(Operands, [Opcode, Width](VPValue *Op) { in areVectorizable()
105 if (any_of(Operands, [this](VPValue *Op) { in areVectorizable()
113 [](VPValue *Op) { return Op->hasMoreThanOneUniqueUser(); })) { in areVectorizable()
140 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
150 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
161 static SmallVector<VPValue *, 4> getOperands(ArrayRef<VPValue *> Values, in getOperands()
163 SmallVector<VPValue *, 4> Operands; in getOperands()
164 for (VPValue *V : Values) { in getOperands()
171 static bool areCommutative(ArrayRef<VPValue *> Values) { in areCommutative()
176 static SmallVector<SmallVector<VPValue *, 4>, 4>
177 getOperands(ArrayRef<VPValue *> Values) { in getOperands()
178 SmallVector<SmallVector<VPValue *, 4>, 4> Result; in getOperands()
197 static Optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) { in getOpcode()
199 if (any_of(Values, [Opcode](VPValue *V) { in getOpcode()
224 static unsigned getLAScore(VPValue *V1, VPValue *V2, unsigned MaxLevel, in getLAScore()
241 std::pair<VPlanSlp::OpMode, VPValue *>
242 VPlanSlp::getBest(OpMode Mode, VPValue *Last, in getBest()
243 SmallPtrSetImpl<VPValue *> &Candidates, in getBest()
249 SmallVector<VPValue *, 4> BestCandidates; in getBest()
269 VPValue *Best = nullptr; in getBest()
319 SmallPtrSet<VPValue *, 4> Candidates; in reorderMultiNodeOps()
334 VPValue *Last = FinalOrder[Op].second[Lane - 1]; in reorderMultiNodeOps()
335 std::pair<OpMode, VPValue *> Res = in reorderMultiNodeOps()
348 void VPlanSlp::dumpBundle(ArrayRef<VPValue *> Values) { in dumpBundle()
358 VPInstruction *VPlanSlp::buildGraph(ArrayRef<VPValue *> Values) { in buildGraph()
392 SmallVector<VPValue *, 4> CombinedOperands; in buildGraph()
437 for (VPValue *V : Values) in buildGraph()