Lines Matching refs:Operands

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