Lines Matching refs:Operands

58 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {  in addCombined()  argument
59 if (all_of(Operands, [](VPValue *V) { in addCombined()
63 for (VPValue *V : Operands) { in addCombined()
71 auto Res = BundleToCombined.try_emplace(to_vector<4>(Operands), New); in addCombined()
77 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const { in areVectorizable()
79 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
92 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
95 if (!all_of(Operands, [Opcode, Width](VPValue *Op) { in areVectorizable()
105 if (any_of(Operands, [this](VPValue *Op) { in areVectorizable()
112 if (any_of(Operands, in areVectorizable()
124 VPBasicBlock *Parent = cast<VPInstruction>(Operands[0])->getParent(); in areVectorizable()
128 std::find(Operands.begin(), Operands.end(), VPI) != Operands.end()) in areVectorizable()
131 if (LoadsSeen == Operands.size()) in areVectorizable()
140 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
150 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
163 SmallVector<VPValue *, 4> Operands; in getOperands() local
166 Operands.push_back(U->getOperand(OperandIndex)); in getOperands()
168 return Operands; in getOperands()
308 for (auto &Operands : MultiNodeOps) { in reorderMultiNodeOps() local
309 FinalOrder.push_back({Operands.first, {Operands.second[0]}}); in reorderMultiNodeOps()
310 if (cast<VPInstruction>(Operands.second[0])->getOpcode() == in reorderMultiNodeOps()
396 for (auto &Operands : getOperands(Values)) { in buildGraph() local
399 dumpBundle(Operands); in buildGraph()
402 auto OperandsOpcode = getOpcode(Operands); in buildGraph()
405 CombinedOperands.push_back(buildGraph(Operands)); in buildGraph()
412 MultiNodeOps.emplace_back(Op, Operands); in buildGraph()
440 for (auto &Operands : getOperands(Values)) in buildGraph() local
441 CombinedOperands.push_back(buildGraph(Operands)); in buildGraph()