• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/

Lines Matching refs:VPValue

57 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {
58 if (all_of(Operands, [](VPValue *V) {
62 for (VPValue *V : Operands) {
76 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const {
78 if (!all_of(Operands, [](VPValue *Op) {
94 if (!all_of(Operands, [Opcode, Width](VPValue *Op) {
104 if (any_of(Operands, [this](VPValue *Op) {
112 [](VPValue *Op) { return Op->hasMoreThanOneUniqueUser(); })) {
139 if (!all_of(Operands, [](VPValue *Op) {
149 if (!all_of(Operands, [](VPValue *Op) {
160 static SmallVector<VPValue *, 4> getOperands(ArrayRef<VPValue *> Values,
162 SmallVector<VPValue *, 4> Operands;
163 for (VPValue *V : Values) {
170 static bool areCommutative(ArrayRef<VPValue *> Values) {
175 static SmallVector<SmallVector<VPValue *, 4>, 4>
176 getOperands(ArrayRef<VPValue *> Values) {
177 SmallVector<SmallVector<VPValue *, 4>, 4> Result;
196 static Optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) {
198 if (any_of(Values, [Opcode](VPValue *V) {
223 static unsigned getLAScore(VPValue *V1, VPValue *V2, unsigned MaxLevel,
240 std::pair<VPlanSlp::OpMode, VPValue *>
241 VPlanSlp::getBest(OpMode Mode, VPValue *Last,
242 SmallPtrSetImpl<VPValue *> &Candidates,
248 SmallVector<VPValue *, 4> BestCandidates;
268 VPValue *Best = nullptr;
318 SmallPtrSet<VPValue *, 4> Candidates;
333 VPValue *Last = FinalOrder[Op].second[Lane - 1];
334 std::pair<OpMode, VPValue *> Res =
347 void VPlanSlp::dumpBundle(ArrayRef<VPValue *> Values) {
360 VPInstruction *VPlanSlp::buildGraph(ArrayRef<VPValue *> Values) {
394 SmallVector<VPValue *, 4> CombinedOperands;
439 for (VPValue *V : Values)