Lines Matching refs:Operands

57 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {  in addCombined()  argument
58 if (all_of(Operands, [](VPValue *V) { in addCombined()
62 for (VPValue *V : Operands) { in addCombined()
70 auto Res = BundleToCombined.try_emplace(to_vector<4>(Operands), New); in addCombined()
76 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const { in areVectorizable()
78 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
91 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
94 if (!all_of(Operands, [Opcode, Width](VPValue *Op) { in areVectorizable()
104 if (any_of(Operands, [this](VPValue *Op) { in areVectorizable()
111 if (any_of(Operands, in areVectorizable()
123 VPBasicBlock *Parent = cast<VPInstruction>(Operands[0])->getParent(); in areVectorizable()
129 llvm::is_contained(Operands, VPI)) in areVectorizable()
132 if (LoadsSeen == Operands.size()) in areVectorizable()
141 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
151 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
164 SmallVector<VPValue *, 4> Operands; in getOperands() local
168 Operands.push_back(U->getOperand(OperandIndex)); in getOperands()
170 return Operands; in getOperands()
312 for (auto &Operands : MultiNodeOps) { in reorderMultiNodeOps() local
313 FinalOrder.push_back({Operands.first, {Operands.second[0]}}); in reorderMultiNodeOps()
314 if (cast<VPInstruction>(Operands.second[0])->getOpcode() == in reorderMultiNodeOps()
405 for (auto &Operands : getOperands(Values)) { in buildGraph() local
408 dumpBundle(Operands); in buildGraph()
411 auto OperandsOpcode = getOpcode(Operands); in buildGraph()
414 CombinedOperands.push_back(buildGraph(Operands)); in buildGraph()
421 MultiNodeOps.emplace_back(Op, Operands); in buildGraph()
449 for (auto &Operands : getOperands(Values)) in buildGraph() local
450 CombinedOperands.push_back(buildGraph(Operands)); in buildGraph()