Home
last modified time | relevance | path

Searched refs:NumParts (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp688 unsigned NumParts = in determineAssignments() local
691 if (NumParts == 1) { in determineAssignments()
713 for (unsigned Part = 0; Part < NumParts; ++Part) { in determineAssignments()
719 if (Part == NumParts - 1) in determineAssignments()
795 const unsigned NumParts = Args[i].Flags.size(); in handleAssignments() local
800 if (NumParts != 1 || NewLLT != OrigTy) { in handleAssignments()
803 Args[i].Regs.resize(NumParts); in handleAssignments()
814 for (unsigned Part = 0; Part < NumParts; ++Part) in handleAssignments()
819 assert((j + (NumParts - 1)) < ArgLocs.size() && in handleAssignments()
832 for (unsigned Part = 0; Part < NumParts; ++Part) { in handleAssignments()
[all …]
H A DLegalizerHelper.cpp61 unsigned NumParts = Size / NarrowSize; in getNarrowTypeBreakDown() local
62 unsigned LeftoverSize = Size - NumParts * NarrowSize; in getNarrowTypeBreakDown()
66 return {NumParts, 0}; in getNarrowTypeBreakDown()
80 return std::make_pair(NumParts, NumLeftover); in getNarrowTypeBreakDown()
263 int NumParts = LCMTy.getSizeInBits() / NarrowTy.getSizeInBits(); in buildLCMMergePieces() local
271 if (NumOrigSrc < NumParts * NumSubParts) { in buildLCMMergePieces()
287 SmallVector<Register, 4> Remerge(NumParts); in buildLCMMergePieces()
298 for (int I = 0; I != NumParts; ++I) { in buildLCMMergePieces()
1251 int NumParts = SizeOp0 / NarrowSize; in narrowScalar() local
1254 for (int i = 0; i < NumParts; ++i) in narrowScalar()
[all …]
H A DUtils.cpp493 void llvm::extractParts(Register Reg, LLT Ty, int NumParts, in extractParts() argument
497 for (int i = 0; i < NumParts; ++i) in extractParts()
511 unsigned NumParts = RegSize / MainSize; in extractParts() local
512 unsigned LeftoverSize = RegSize - NumParts * MainSize; in extractParts()
516 for (unsigned I = 0; I < NumParts; ++I) in extractParts()
581 for (unsigned I = 0; I != NumParts; ++I) { in extractParts()
587 for (unsigned Offset = MainSize * NumParts; Offset < RegSize; in extractParts()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSplitModule.cpp437 doPartitioning(SplitModuleLogger &SML, Module &M, unsigned NumParts, in doPartitioning() argument
452 LargeFnFactor ? CostType(((ModuleCost / NumParts) * LargeFnFactor)) in doPartitioning()
456 Partitions.resize(NumParts); in doPartitioning()
482 for (unsigned I = 0; I < NumParts; ++I) in doPartitioning()
H A DAMDGPUTargetMachine.h76 bool splitModule(Module &M, unsigned NumParts,
H A DAMDGPUTargetMachine.cpp841 Module &M, unsigned NumParts, in splitModule() argument
858 MPM.addPass(AMDGPUSplitModulePass(NumParts, ModuleCallback)); in splitModule()
H A DAMDGPURegisterBankInfo.cpp722 unsigned NumParts = Bits / 32; in buildReadFirstLane() local
730 for (unsigned i = 0; i < NumParts; ++i) in buildReadFirstLane()
734 for (unsigned i = 0; i < NumParts; ++i) { in buildReadFirstLane()
737 MRI.setType(DstPart, NumParts == 1 ? Ty : S32); in buildReadFirstLane()
898 unsigned NumParts = OpSize / PartSize; in executeInWaterfallLoop() local
902 if (NumParts == 1) { in executeInWaterfallLoop()
908 for (unsigned i = 0; i < NumParts; ++i) { in executeInWaterfallLoop()
916 for (unsigned i = 0; i < NumParts; ++i) { in executeInWaterfallLoop()
H A DAMDGPULegalizerInfo.cpp598 const unsigned NumParts = PointerTy.getSizeInBits() / 32; in castBufferRsrcFromV4I32() local
604 for (unsigned I = 0; I < NumParts; ++I) in castBufferRsrcFromV4I32()
634 const unsigned NumParts = PointerTy.getSizeInBits() / 32; in castBufferRsrcToV4I32() local
636 for (unsigned I = 0; I < NumParts; ++I) in castBufferRsrcToV4I32()
4136 unsigned NumParts = Size / 32; in legalizeMul() local
4138 assert(NumParts >= 2); in legalizeMul()
4152 for (unsigned i = 0; i < NumParts; ++i) { in legalizeMul()
4159 SmallVector<Register, 2> AccumRegs(NumParts); in legalizeMul()
5512 unsigned NumParts = Size / 32; in legalizeLaneOp() local
5522 for (unsigned i = 0; i < NumParts; ++i) { in legalizeLaneOp()
H A DSIRegisterInfo.cpp2994 const unsigned NumParts = RegDWORDs / EltDWORDs; in getRegSplitParts() local
2996 return ArrayRef(Parts.data(), NumParts); in getRegSplitParts()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp158 const SDValue *Parts, unsigned NumParts,
170 unsigned NumParts, MVT PartVT, EVT ValueVT, const Value *V, in getCopyFromParts() argument
176 if (SDValue Val = TLI.joinRegisterPartsIntoValue(DAG, DL, Parts, NumParts, in getCopyFromParts()
181 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V, in getCopyFromParts()
184 assert(NumParts > 0 && "No parts to assemble!"); in getCopyFromParts()
187 if (NumParts > 1) { in getCopyFromParts()
194 unsigned RoundParts = llvm::bit_floor(NumParts); in getCopyFromParts()
217 if (RoundParts < NumParts) { in getCopyFromParts()
219 unsigned OddParts = NumParts - RoundParts; in getCopyFromParts()
228 EVT TotalVT = EVT::getIntegerVT(*DAG.getContext(), NumParts * PartBits); in getCopyFromParts()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp670 unsigned NumParts = getNumVectorRegs(SrcTy); in getVectorTruncCost() local
671 if (NumParts <= 2) in getVectorTruncCost()
683 if (NumParts > 1) in getVectorTruncCost()
684 NumParts /= 2; in getVectorTruncCost()
685 Cost += NumParts; in getVectorTruncCost()
H A DSystemZISelLowering.h592 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC)
596 unsigned NumParts, MVT PartVT, EVT ValueVT,
H A DSystemZISelLowering.cpp1579 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC) const { in splitValueIntoRegisterParts() argument
1581 if (ValueVT.getSizeInBits() == 128 && NumParts == 1 && PartVT == MVT::Untyped) { in splitValueIntoRegisterParts()
1591 SelectionDAG &DAG, const SDLoc &DL, const SDValue *Parts, unsigned NumParts, in joinRegisterPartsIntoValue() argument
1593 if (ValueVT.getSizeInBits() == 128 && NumParts == 1 && PartVT == MVT::Untyped) { in joinRegisterPartsIntoValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp283 static unsigned getPartNumElems(unsigned Size, unsigned NumParts) { in getPartNumElems() argument
284 return PowerOf2Ceil(divideCeil(Size, NumParts)); in getPartNumElems()
2779 unsigned NumParts) const;
2812 unsigned NumParts, bool ForOrder = false);
4232 int NumParts = TTI->getNumberOfParts(VecTy); in findReusedOrderedScalars() local
4233 if (NumParts == 0 || NumParts >= NumScalars) in findReusedOrderedScalars()
4234 NumParts = 1; in findReusedOrderedScalars()
4239 tryToGatherExtractElements(GatheredScalars, ExtractMask, NumParts); in findReusedOrderedScalars()
4241 isGatherShuffledEntry(&TE, GatheredScalars, Mask, Entries, NumParts, in findReusedOrderedScalars()
4269 SmallBitVector ShuffledSubMasks(NumParts); in findReusedOrderedScalars()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp1768 constexpr unsigned NumParts = 4; in EmitHeader() local
1769 raw_self_contained_string_ostream parts[NumParts]; in EmitHeader()
1924 for (size_t i = 0; i < NumParts; ++i) { in EmitHeader()
2032 constexpr unsigned NumParts = 3; in EmitHeader() local
2033 raw_self_contained_string_ostream parts[NumParts]; in EmitHeader()
2134 for (size_t i = 0; i < NumParts; ++i) { in EmitHeader()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetMachine.h433 Module &M, unsigned NumParts, in splitModule() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h911 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC)
916 unsigned NumParts, MVT PartVT, EVT ValueVT,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h254 void extractParts(Register Reg, LLT Ty, int NumParts,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1659 unsigned NumParts = in GetReturnInfo() local
1675 for (unsigned i = 0; i < NumParts; ++i) { in GetReturnInfo()
1677 if (NumParts > 1 && i == 0) in GetReturnInfo()
1679 else if (i == NumParts - 1 && i != 0) in GetReturnInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h787 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC)
792 unsigned NumParts, MVT PartVT, EVT ValueVT,
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h648 SDValue *Parts, unsigned NumParts, MVT PartVT,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp533 unsigned NumParts = count_if(Parts, [](const auto &Pair) { in SRAGlobal() local
536 if (NumParts > 16) in SRAGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1169 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC)
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h4454 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC) const { in splitValueIntoRegisterParts() argument
4478 const SDValue *Parts, unsigned NumParts, in joinRegisterPartsIntoValue() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp7502 unsigned NumParts = 1; in LowerFormalArguments() local
7504 while (!Ins[i + NumParts - 1].Flags.isInConsecutiveRegsLast()) in LowerFormalArguments()
7505 ++NumParts; in LowerFormalArguments()
7513 while (NumParts > 0) { in LowerFormalArguments()
7516 NumParts--; in LowerFormalArguments()
7517 if (NumParts > 0) { in LowerFormalArguments()
8550 unsigned NumParts = 1; in LowerCall() local
8552 while (!Outs[i + NumParts - 1].Flags.isInConsecutiveRegsLast()) in LowerCall()
8553 ++NumParts; in LowerCall()
8554 StoreSize *= NumParts; in LowerCall()
[all …]

12