Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUImageIntrinsicOptimizer.cpp210 unsigned NumLoads = IIList.size(); in optimizeSection() local
212 unsigned NumVAddrLoads = 3 * NumLoads; in optimizeSection()
213 unsigned NumVDataLoads = divideCeil(NumElts, isD16 ? 2 : 1) * NumLoads; in optimizeSection()
217 if (NumLoads < NumMsaas || in optimizeSection()
H A DAMDGPURegisterBankInfo.cpp1351 int NumLoads = 1; in applyMappingSBufferLoad() local
1353 NumLoads = LoadSize / 128; in applyMappingSBufferLoad()
1354 Ty = Ty.divide(NumLoads); in applyMappingSBufferLoad()
1359 const Align Alignment = NumLoads > 1 ? Align(16 * NumLoads) : Align(1); in applyMappingSBufferLoad()
1389 SmallVector<Register, 4> LoadParts(NumLoads); in applyMappingSBufferLoad()
1394 for (int i = 0; i < NumLoads; ++i) { in applyMappingSBufferLoad()
1395 if (NumLoads == 1) { in applyMappingSBufferLoad()
1434 if (NumLoads != 1) { in applyMappingSBufferLoad()
H A DSIInstrInfo.h254 int64_t Offset1, unsigned NumLoads) const override;
H A DSIISelLowering.cpp7892 unsigned NumLoads = 1; in lowerSBuffer() local
7899 NumLoads = NumElts / 4; in lowerSBuffer()
7908 NumLoads > 1 ? Align(16 * NumLoads) : Align(4)); in lowerSBuffer()
7911 for (unsigned i = 0; i < NumLoads; ++i) { in lowerSBuffer()
H A DSIInstrInfo.cpp597 unsigned NumLoads) const { in shouldScheduleLoadsNear()
604 return (NumLoads <= 16 && (Offset1 - Offset0) < 64); in shouldScheduleLoadsNear()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp210 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost() local
211 return 3 * NumLoads; in getMemoryOpCost()
222 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost() local
224 return Cost * NumLoads; in getMemoryOpCost()
228 return (3 - LogA) * Cost * NumLoads; in getMemoryOpCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp108 unsigned NumLoads = DL.getTypeStoreSize(LI->getType()); in runOnFunction() local
110 ConstantInt::get(Type::getInt32Ty(Context), NumLoads); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp197 unsigned int NumLoads = NumSubVectors; in decompose() local
205 NumLoads = NumSubVectors * (VecLength / 384); in decompose()
216 for (unsigned i = 0; i < NumLoads; i++) { in decompose()
H A DX86FastPreTileConfig.cpp40 STATISTIC(NumLoads, "Number of loads added");
266 ++NumLoads; in reload()
H A DX86InstrInfo.h483 unsigned NumLoads) const override;
H A DX86InstrInfo.cpp8701 unsigned NumLoads) const { in shouldScheduleLoadsNear()
8728 if (NumLoads >= 3) in shouldScheduleLoadsNear()
8730 } else if (NumLoads) { in shouldScheduleLoadsNear()
8740 if (NumLoads) in shouldScheduleLoadsNear()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h609 unsigned getNumLoads() const { return NumLoads;} in getNumLoads()
693 unsigned NumLoads = 0; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp418 const unsigned NumLoads = in getCompareLoadPairs() local
432 NumLoads == 1 ? nullptr in getCompareLoadPairs()
435 for (unsigned i = 0; i < NumLoads; ++i, ++LoadIndex) { in getCompareLoadPairs()
441 if (NumLoads != 1) { in getCompareLoadPairs()
H A DRegAllocFast.cpp53 STATISTIC(NumLoads, "Number of loads added");
606 ++NumLoads; in reload()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp273 unsigned NumLoads = 0; in ClusterNeighboringLoads() local
280 if (!TII->shouldScheduleLoadsNear(BaseLoad, Load, BaseOff, Offset,NumLoads)) in ClusterNeighboringLoads()
283 ++NumLoads; in ClusterNeighboringLoads()
286 if (NumLoads == 0) in ClusterNeighboringLoads()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp232 unsigned NumLoads = 0; member
242 NumLoads += RHS.NumLoads; in operator +=()
336 OpInfo.NumLoads += N; in addNumLoads()
340 void setNumLoads(unsigned N) { OpInfo.NumLoads = N; } in setNumLoads()
358 unsigned getNumLoads() const { return OpInfo.NumLoads; } in getNumLoads()
2488 << ore::NV("NumLoads", Counts.NumLoads) << " loads, " in emitRemarks()
2494 if (SharedCounts.NumStores > 0 || SharedCounts.NumLoads > 0 || in emitRemarks()
2498 << ore::NV("NumLoads", SharedCounts.NumLoads) << " loads, " in emitRemarks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp656 unsigned NumLoads = getEstimatedVLFor(&VTy); in getGatherScatterOpCost() local
657 return NumLoads * MemOpCost; in getGatherScatterOpCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h260 unsigned NumLoads) const override;
H A DARMBaseInstrInfo.cpp2016 unsigned NumLoads) const { in shouldScheduleLoadsNear()
2038 if (NumLoads >= 3) in shouldScheduleLoadsNear()
H A DARMISelLowering.cpp21674 unsigned NumLoads = getNumInterleavedAccesses(VecTy, DL); in lowerInterleavedLoad() local
21686 if (NumLoads > 1) { in lowerInterleavedLoad()
21690 VecTy->getNumElements() / NumLoads); in lowerInterleavedLoad()
21731 for (unsigned LoadCount = 0; LoadCount < NumLoads; ++LoadCount) { in lowerInterleavedLoad()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h1424 unsigned NumLoads) const { in shouldScheduleLoadsNear() argument
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp4154 unsigned NumLoads = 0; in VerifyInstructionFlags() local
4159 NumLoads += InstInfo.mayLoad; in VerifyInstructionFlags()
4180 if (!PatInfo.mayStore && PatInfo.mayLoad && !NumLoads) in VerifyInstructionFlags()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp2398 NumLoads++; in analyzeLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp5528 unsigned NumLoads = Legal->getNumLoads(); in selectInterleaveCount() local
5530 unsigned LoadsIC = IC / (NumLoads ? NumLoads : 1); in selectInterleaveCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp15671 unsigned NumLoads = getNumInterleavedAccesses(VTy, DL, UseScalable); in lowerInterleavedLoad() local
15685 FVTy->getNumElements() / NumLoads); in lowerInterleavedLoad()
15722 for (unsigned LoadCount = 0; LoadCount < NumLoads; ++LoadCount) { in lowerInterleavedLoad()
15996 unsigned NumLoads = getNumInterleavedAccesses(VTy, DL, UseScalable); in lowerDeinterleaveIntrinsicToLoad() local
16000 VTy->getElementCount().divideCoefficientBy(NumLoads)); in lowerDeinterleaveIntrinsicToLoad()
16015 if (NumLoads > 1) { in lowerDeinterleaveIntrinsicToLoad()
16019 for (unsigned I = 0; I < NumLoads; ++I) { in lowerDeinterleaveIntrinsicToLoad()