Lines Matching refs:VPValue

49 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {  in addCombined()
50 if (all_of(Operands, [](VPValue *V) { in addCombined()
54 for (VPValue *V : Operands) { in addCombined()
68 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const { in areVectorizable()
70 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
86 if (!all_of(Operands, [Opcode, Width](VPValue *Op) { in areVectorizable()
96 if (any_of(Operands, [this](VPValue *Op) { in areVectorizable()
104 [](VPValue *Op) { return Op->hasMoreThanOneUniqueUser(); })) { in areVectorizable()
133 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
143 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
154 static SmallVector<VPValue *, 4> getOperands(ArrayRef<VPValue *> Values, in getOperands()
156 SmallVector<VPValue *, 4> Operands; in getOperands()
157 for (VPValue *V : Values) { in getOperands()
165 static bool areCommutative(ArrayRef<VPValue *> Values) { in areCommutative()
170 static SmallVector<SmallVector<VPValue *, 4>, 4>
171 getOperands(ArrayRef<VPValue *> Values) { in getOperands()
172 SmallVector<SmallVector<VPValue *, 4>, 4> Result; in getOperands()
191 static std::optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) { in getOpcode()
193 if (any_of(Values, [Opcode](VPValue *V) { in getOpcode()
218 static unsigned getLAScore(VPValue *V1, VPValue *V2, unsigned MaxLevel, in getLAScore()
237 std::pair<VPlanSlp::OpMode, VPValue *>
238 VPlanSlp::getBest(OpMode Mode, VPValue *Last, in getBest()
239 SmallPtrSetImpl<VPValue *> &Candidates, in getBest()
245 SmallVector<VPValue *, 4> BestCandidates; in getBest()
265 VPValue *Best = nullptr; in getBest()
315 SmallPtrSet<VPValue *, 4> Candidates; in reorderMultiNodeOps()
330 VPValue *Last = FinalOrder[Op].second[Lane - 1]; in reorderMultiNodeOps()
331 std::pair<OpMode, VPValue *> Res = in reorderMultiNodeOps()
345 void VPlanSlp::dumpBundle(ArrayRef<VPValue *> Values) { in dumpBundle()
359 VPInstruction *VPlanSlp::buildGraph(ArrayRef<VPValue *> Values) { in buildGraph()
393 SmallVector<VPValue *, 4> CombinedOperands; in buildGraph()
438 for (VPValue *V : Values) in buildGraph()