| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUSplitModule.cpp | 920 RecursiveSearchSplitting(const SplitGraph &SG, unsigned NumParts, 960 unsigned NumParts; member in llvm::__anon00e757230111::RecursiveSearchSplitting 971 const SplitGraph &SG, unsigned NumParts, SubmitProposalFn SubmitProposal) in RecursiveSearchSplitting() argument 972 : SG(SG), NumParts(NumParts), SubmitProposal(SubmitProposal) { in RecursiveSearchSplitting() 981 ? CostType(((SG.getModuleCost() / NumParts) * LargeFnFactor)) in RecursiveSearchSplitting() 995 SplitProposal SP(SG, NumParts); in run() 1180 for (unsigned PID = 0; PID < NumParts; ++PID) { in findMostSimilarPartition() 1376 GetTTIFn GetTTI, Module &M, unsigned NumParts, in splitAMDGPUModule() argument 1461 RecursiveSearchSplitting(SG, NumParts, EvaluateProposal).run(); in splitAMDGPUModule() 1486 for (unsigned PID = 0; PID < NumParts; ++PID) { in splitAMDGPUModule()
|
| H A D | AMDGPUTargetMachine.h | 71 bool splitModule(Module &M, unsigned NumParts,
|
| H A D | AMDGPURegisterBankInfo.cpp | 722 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 D | AMDGPULegalizerInfo.cpp | 611 const unsigned NumParts = PointerTy.getSizeInBits() / 32; in castBufferRsrcFromV4I32() local 617 for (unsigned I = 0; I < NumParts; ++I) in castBufferRsrcFromV4I32() 647 const unsigned NumParts = PointerTy.getSizeInBits() / 32; in castBufferRsrcToV4I32() local 649 for (unsigned I = 0; I < NumParts; ++I) in castBufferRsrcToV4I32() 4194 unsigned NumParts = Size / 32; in legalizeMul() local 4196 assert(NumParts >= 2); in legalizeMul() 4210 for (unsigned i = 0; i < NumParts; ++i) { in legalizeMul() 4217 SmallVector<Register, 2> AccumRegs(NumParts); in legalizeMul() 5613 unsigned NumParts = Size / SplitSize; in legalizeLaneOp() local 5623 for (unsigned i = 0; i < NumParts; ++i) { in legalizeLaneOp()
|
| H A D | AMDGPUTargetMachine.cpp | 1047 Module &M, unsigned NumParts, in splitModule() argument 1064 MPM.addPass(AMDGPUSplitModulePass(NumParts, ModuleCallback)); in splitModule()
|
| H A D | SIRegisterInfo.cpp | 3692 const unsigned NumParts = RegHalves / EltHalves; in getRegSplitParts() local 3694 return ArrayRef(Parts.data(), NumParts); in getRegSplitParts()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 687 unsigned NumParts = in determineAssignments() local 690 if (NumParts == 1) { in determineAssignments() 712 for (unsigned Part = 0; Part < NumParts; ++Part) { in determineAssignments() 718 if (Part == NumParts - 1) in determineAssignments() 794 const unsigned NumParts = Args[i].Flags.size(); in handleAssignments() local 799 if (NumParts != 1 || NewLLT != OrigTy) { in handleAssignments() 802 Args[i].Regs.resize(NumParts); in handleAssignments() 813 for (unsigned Part = 0; Part < NumParts; ++Part) in handleAssignments() 818 assert((j + (NumParts - 1)) < ArgLocs.size() && in handleAssignments() 831 for (unsigned Part = 0; Part < NumParts; ++Part) { in handleAssignments() [all …]
|
| H A D | LegalizerHelper.cpp | 62 unsigned NumParts = Size / NarrowSize; in getNarrowTypeBreakDown() local 63 unsigned LeftoverSize = Size - NumParts * NarrowSize; in getNarrowTypeBreakDown() 67 return {NumParts, 0}; in getNarrowTypeBreakDown() 81 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() 1514 int NumParts = SizeOp0 / NarrowSize; in narrowScalar() local 1517 for (int i = 0; i < NumParts; ++i) in narrowScalar() [all …]
|
| H A D | Utils.cpp | 500 void llvm::extractParts(Register Reg, LLT Ty, int NumParts, in extractParts() argument 504 for (int i = 0; i < NumParts; ++i) in extractParts() 518 unsigned NumParts = RegSize / MainSize; in extractParts() local 519 unsigned LeftoverSize = RegSize - NumParts * MainSize; in extractParts() 523 for (unsigned I = 0; I < NumParts; ++I) in extractParts() 587 for (unsigned I = 0; I != NumParts; ++I) { in extractParts() 593 for (unsigned Offset = MainSize * NumParts; Offset < RegSize; in extractParts()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 154 const SDValue *Parts, unsigned NumParts, 166 unsigned NumParts, MVT PartVT, EVT ValueVT, const Value *V, in getCopyFromParts() argument 172 if (SDValue Val = TLI.joinRegisterPartsIntoValue(DAG, DL, Parts, NumParts, in getCopyFromParts() 177 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT, V, in getCopyFromParts() 180 assert(NumParts > 0 && "No parts to assemble!"); in getCopyFromParts() 183 if (NumParts > 1) { in getCopyFromParts() 190 unsigned RoundParts = llvm::bit_floor(NumParts); in getCopyFromParts() 213 if (RoundParts < NumParts) { in getCopyFromParts() 215 unsigned OddParts = NumParts - RoundParts; in getCopyFromParts() 224 EVT TotalVT = EVT::getIntegerVT(*DAG.getContext(), NumParts * PartBits); in getCopyFromParts() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.h | 416 SDValue *Parts, unsigned NumParts, MVT PartVT, 421 const SDValue *Parts, unsigned NumParts,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 793 unsigned NumParts = getNumVectorRegs(SrcTy); in getVectorTruncCost() local 794 if (NumParts <= 2) in getVectorTruncCost() 806 if (NumParts > 1) in getVectorTruncCost() 807 NumParts /= 2; in getVectorTruncCost() 808 Cost += NumParts; in getVectorTruncCost()
|
| H A D | SystemZISelLowering.h | 611 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC) 615 unsigned NumParts, MVT PartVT, EVT ValueVT,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 281 const unsigned NumParts = TTI.getNumberOfParts(getWidenedType(Ty, Sz)); in getFullVectorNumberOfElements() local 282 if (NumParts == 0 || NumParts >= Sz) in getFullVectorNumberOfElements() 284 return bit_ceil(divideCeil(Sz, NumParts)) * NumParts; in getFullVectorNumberOfElements() 296 unsigned NumParts = TTI.getNumberOfParts(getWidenedType(Ty, Sz)); in getFloorFullVectorNumberOfElements() local 297 if (NumParts == 0 || NumParts >= Sz) in getFloorFullVectorNumberOfElements() 299 unsigned RegVF = bit_ceil(divideCeil(Sz, NumParts)); in getFloorFullVectorNumberOfElements() 440 static unsigned getPartNumElems(unsigned Size, unsigned NumParts) { in getPartNumElems() argument 441 return std::min<unsigned>(Size, bit_ceil(divideCeil(Size, NumParts))); in getPartNumElems() 1742 const unsigned NumParts = TTI.getNumberOfParts(getWidenedType(Ty, Sz)); in hasFullVectorsOrPowerOf2() local 1743 return NumParts > 0 && NumParts < Sz && has_single_bit(Sz / NumParts) && in hasFullVectorsOrPowerOf2() [all …]
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 1759 constexpr unsigned NumParts = 4; in EmitHeader() local 1760 raw_self_contained_string_ostream parts[NumParts]; in EmitHeader() 1915 for (size_t i = 0; i < NumParts; ++i) { in EmitHeader() 2049 constexpr unsigned NumParts = 3; in EmitHeader() local 2050 raw_self_contained_string_ostream parts[NumParts]; in EmitHeader() 2151 for (size_t i = 0; i < NumParts; ++i) { in EmitHeader()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetMachine.h | 477 Module &M, unsigned NumParts, in splitModule() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.h | 328 SDValue *Parts, unsigned NumParts, MVT PartVT,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 339 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC) 344 unsigned NumParts, MVT PartVT, EVT ValueVT,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 937 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC) 942 unsigned NumParts, MVT PartVT, EVT ValueVT,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | Utils.h | 265 LLVM_ABI void extractParts(Register Reg, LLT Ty, int NumParts,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 539 unsigned NumParts = count_if(Parts, [](const auto &Pair) { in SRAGlobal() local 542 if (NumParts > 16) in SRAGlobal()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 1757 unsigned NumParts = in GetReturnInfo() local 1773 for (unsigned i = 0; i < NumParts; ++i) in GetReturnInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.h | 1186 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC)
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 4629 unsigned NumParts, MVT PartVT, std::optional<CallingConv::ID> CC) const { in splitValueIntoRegisterParts() argument 4653 const SDValue *Parts, unsigned NumParts, in joinRegisterPartsIntoValue() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 7981 unsigned NumParts = 1; in LowerFormalArguments() local 7983 while (!Ins[i + NumParts - 1].Flags.isInConsecutiveRegsLast()) in LowerFormalArguments() 7984 ++NumParts; in LowerFormalArguments() 7992 while (NumParts > 0) { in LowerFormalArguments() 7995 NumParts--; in LowerFormalArguments() 7996 if (NumParts > 0) { in LowerFormalArguments() 9153 unsigned NumParts = 1; in LowerCall() local 9155 while (!Outs[i + NumParts - 1].Flags.isInConsecutiveRegsLast()) in LowerCall() 9156 ++NumParts; in LowerCall() 9157 StoreSize *= NumParts; in LowerCall() [all …]
|