Lines Matching defs:Operands
49 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {
50 if (all_of(Operands, [](VPValue *V) {
54 for (VPValue *V : Operands) {
62 auto Res = BundleToCombined.try_emplace(to_vector<4>(Operands), New);
68 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const {
70 if (!all_of(Operands, [](VPValue *Op) {
83 cast<VPInstruction>(Operands[0])->getUnderlyingInstr();
86 if (!all_of(Operands, [Opcode, Width](VPValue *Op) {
96 if (any_of(Operands, [this](VPValue *Op) {
103 if (any_of(Operands,
115 VPBasicBlock *Parent = cast<VPInstruction>(Operands[0])->getParent();
121 llvm::is_contained(Operands, VPI))
124 if (LoadsSeen == Operands.size())
133 if (!all_of(Operands, [](VPValue *Op) {
143 if (!all_of(Operands, [](VPValue *Op) {
156 SmallVector<VPValue *, 4> Operands;
160 Operands.push_back(U->getOperand(OperandIndex));
162 return Operands;
304 for (auto &Operands : MultiNodeOps) {
305 FinalOrder.push_back({Operands.first, {Operands.second[0]}});
306 if (cast<VPInstruction>(Operands.second[0])->getOpcode() ==
397 for (auto &Operands : getOperands(Values)) {
400 dumpBundle(Operands);
403 auto OperandsOpcode = getOpcode(Operands);
406 CombinedOperands.push_back(buildGraph(Operands));
413 MultiNodeOps.emplace_back(Op, Operands);
441 for (auto &Operands : getOperands(Values))
442 CombinedOperands.push_back(buildGraph(Operands));