Lines Matching refs:VPValue
48 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) { in addCombined()
49 if (all_of(Operands, [](VPValue *V) { in addCombined()
53 for (VPValue *V : Operands) { in addCombined()
67 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const { in areVectorizable()
69 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
85 if (!all_of(Operands, [Opcode, Width](VPValue *Op) { in areVectorizable()
95 if (any_of(Operands, [this](VPValue *Op) { in areVectorizable()
103 [](VPValue *Op) { return Op->hasMoreThanOneUniqueUser(); })) { in areVectorizable()
132 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
142 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
153 static SmallVector<VPValue *, 4> getOperands(ArrayRef<VPValue *> Values, in getOperands()
155 SmallVector<VPValue *, 4> Operands; in getOperands()
156 for (VPValue *V : Values) { in getOperands()
164 static bool areCommutative(ArrayRef<VPValue *> Values) { in areCommutative()
169 static SmallVector<SmallVector<VPValue *, 4>, 4>
170 getOperands(ArrayRef<VPValue *> Values) { in getOperands()
171 SmallVector<SmallVector<VPValue *, 4>, 4> Result; in getOperands()
190 static Optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) { in getOpcode()
192 if (any_of(Values, [Opcode](VPValue *V) { in getOpcode()
217 static unsigned getLAScore(VPValue *V1, VPValue *V2, unsigned MaxLevel, in getLAScore()
236 std::pair<VPlanSlp::OpMode, VPValue *>
237 VPlanSlp::getBest(OpMode Mode, VPValue *Last, in getBest()
238 SmallPtrSetImpl<VPValue *> &Candidates, in getBest()
244 SmallVector<VPValue *, 4> BestCandidates; in getBest()
264 VPValue *Best = nullptr; in getBest()
314 SmallPtrSet<VPValue *, 4> Candidates; in reorderMultiNodeOps()
329 VPValue *Last = FinalOrder[Op].second[Lane - 1]; in reorderMultiNodeOps()
330 std::pair<OpMode, VPValue *> Res = in reorderMultiNodeOps()
344 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()