Lines Matching refs:Operands

48 void VPlanSlp::addCombined(ArrayRef<VPValue *> Operands, VPInstruction *New) {  in addCombined()  argument
49 if (all_of(Operands, [](VPValue *V) { in addCombined()
53 for (VPValue *V : Operands) { in addCombined()
61 auto Res = BundleToCombined.try_emplace(to_vector<4>(Operands), New); in addCombined()
67 bool VPlanSlp::areVectorizable(ArrayRef<VPValue *> Operands) const { in areVectorizable()
69 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
82 cast<VPInstruction>(Operands[0])->getUnderlyingInstr(); in areVectorizable()
85 if (!all_of(Operands, [Opcode, Width](VPValue *Op) { in areVectorizable()
95 if (any_of(Operands, [this](VPValue *Op) { in areVectorizable()
102 if (any_of(Operands, in areVectorizable()
114 VPBasicBlock *Parent = cast<VPInstruction>(Operands[0])->getParent(); in areVectorizable()
120 llvm::is_contained(Operands, VPI)) in areVectorizable()
123 if (LoadsSeen == Operands.size()) in areVectorizable()
132 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
142 if (!all_of(Operands, [](VPValue *Op) { in areVectorizable()
155 SmallVector<VPValue *, 4> Operands; in getOperands() local
159 Operands.push_back(U->getOperand(OperandIndex)); in getOperands()
161 return Operands; in getOperands()
303 for (auto &Operands : MultiNodeOps) { in reorderMultiNodeOps() local
304 FinalOrder.push_back({Operands.first, {Operands.second[0]}}); in reorderMultiNodeOps()
305 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()