Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp25 TypeSize LoadSize = DL.getTypeSizeInBits(LoadTy); in canCoerceMustAliasedValueToLoad() local
27 MinStoreSize == LoadSize) in canCoerceMustAliasedValueToLoad()
53 if (!TypeSize::isKnownGE(MinStoreSize, LoadSize)) in canCoerceMustAliasedValueToLoad()
75 if (StoredNI && (StoredTy->isScalableTy() || MinStoreSize != LoadSize)) in canCoerceMustAliasedValueToLoad()
212 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedValue(); in analyzeLoadFromClobberingWrite() local
214 if ((WriteSizeInBits & 7) | (LoadSize & 7)) in analyzeLoadFromClobberingWrite()
217 LoadSize /= 8; in analyzeLoadFromClobberingWrite()
224 StoreOffset + int64_t(StoreSize) < LoadOffset + int64_t(LoadSize)) in analyzeLoadFromClobberingWrite()
349 uint64_t LoadSize = (DL.getTypeSizeInBits(LoadTy).getFixedValue() + 7) / 8; in getStoreValueForLoadHelper() local
364 ShiftAmt = (StoreSize - LoadSize - Offset) * 8; in getStoreValueForLoadHelper()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp149 unsigned LoadSize = DL.getTypeStoreSize(Load->getType()); in processUse() local
155 if (LoadSize == 4) { in processUse()
161 if (LoadSize == 4) { in processUse()
167 if (LoadSize == 4) { in processUse()
173 if (LoadSize == 2) in processUse()
177 if (LoadSize == 2) in processUse()
181 if (LoadSize == 2) in processUse()
185 if (LoadSize == 2) in processUse()
189 if (LoadSize == 2) in processUse()
193 if (LoadSize == 2) in processUse()
[all …]
H A DAMDGPUPreloadKernelArguments.cpp233 unsigned LoadSize = DL.getTypeStoreSize(Load.first->getType()); in tryAllocHiddenArgPreloadSGPRs() local
235 if (!canPreloadKernArgAtOffset(LoadOffset + LoadSize + in tryAllocHiddenArgPreloadSGPRs()
H A DAMDGPUTargetTransformInfo.h126 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
H A DAMDGPUTargetTransformInfo.cpp358 unsigned GCNTTIImpl::getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
361 unsigned VecRegBitWidth = VF * LoadSize; in getLoadVectorFactor()
364 return 128 / LoadSize; in getLoadVectorFactor()
H A DAMDGPURegisterBankInfo.cpp1061 unsigned LoadSize = LoadTy.getSizeInBits(); in applyMappingLoad() local
1070 if (LoadSize != 32 && (LoadSize != 96 || Subtarget.hasScalarDwordx3Loads())) in applyMappingLoad()
1078 if (LoadSize == 32 && in applyMappingLoad()
1082 if (LoadSize == 32 && in applyMappingLoad()
1093 if (LoadSize == 32) { in applyMappingLoad()
1135 if (LoadSize <= MaxNonSmrdLoadSize) in applyMappingLoad()
1153 assert(LoadSize % MaxNonSmrdLoadSize == 0); in applyMappingLoad()
1377 unsigned LoadSize = Ty.getSizeInBits(); in applyMappingSBufferLoad() local
1379 if (LoadSize == 256 || LoadSize == 512) { in applyMappingSBufferLoad()
1380 NumLoads = LoadSize / 128; in applyMappingSBufferLoad()
H A DAMDGPULowerBufferFatPointers.cpp2292 Value *LoadSize = I.getArgOperand(2); in visitIntrinsicInst() local
2298 {Rsrc, LDSPtr, LoadSize, Off, SOffset, ImmOff, Aux}); in visitIntrinsicInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp94 LoadEntry(unsigned LoadSize, uint64_t Offset) in LoadEntry()
95 : LoadSize(LoadSize), Offset(Offset) { in LoadEntry()
99 unsigned LoadSize; member
158 const unsigned LoadSize = LoadSizes.front(); in computeGreedyLoadSequence() local
159 const uint64_t NumLoadsForThisSize = Size / LoadSize; in computeGreedyLoadSequence()
169 LoadSequence.push_back({LoadSize, Offset}); in computeGreedyLoadSequence()
170 Offset += LoadSize; in computeGreedyLoadSequence()
172 if (LoadSize > 1) in computeGreedyLoadSequence()
174 Size = Size % LoadSize; in computeGreedyLoadSequence()
237 if (PreLast.Offset + PreLast.LoadSize != Last.Offset) in optimiseLoadSequence()
[all …]
H A DStackSlotColoring.cpp489 TypeSize LoadSize = TypeSize::getZero(); in RemoveDeadStores() local
491 if (!(LoadReg = TII->isLoadFromStackSlot(*I, FirstSS, LoadSize))) in RemoveDeadStores()
502 LoadSize != StoreSize || !MFI->isSpillSlotObjectIndex(FirstSS)) in RemoveDeadStores()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DVTuneSharedStructs.h34 uint64_t LoadSize; member
67 MI.LineTable, MI.LoadAddr, MI.LoadSize, MI.MethodID, MI.NameSI, in size()
73 IB, MI.LineTable, MI.LoadAddr, MI.LoadSize, MI.MethodID, MI.NameSI, in deserialize()
79 OB, MI.LineTable, MI.LoadAddr, MI.LoadSize, MI.MethodID, MI.NameSI, in serialize()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp451 const TypeSize LoadSize = TypeSize::getFixed(Size.getZExtValue()); in isSafeToLoadUnconditionally() local
501 TypeSize::isKnownLE(LoadSize, DL.getTypeStoreSize(AccessedTy))) in isSafeToLoadUnconditionally()
505 TypeSize::isKnownLE(LoadSize, DL.getTypeStoreSize(AccessedTy))) in isSafeToLoadUnconditionally()
620 TypeSize LoadSize = DL.getTypeSizeInBits(AccessTy); in getAvailableLoadStore() local
621 if (TypeSize::isKnownLE(LoadSize, StoreSize)) in getAvailableLoadStore()
650 uint64_t LoadSize = LoadTypeSize.getFixedValue(); in getAvailableLoadStore() local
651 if ((Len->getValue() * 8).ult(LoadSize)) in getAvailableLoadStore()
654 APInt Splat = LoadSize >= 8 ? APInt::getSplat(LoadSize, Val->getValue()) in getAvailableLoadStore()
655 : Val->getValue().trunc(LoadSize); in getAvailableLoadStore()
H A DTargetTransformInfo.cpp1383 unsigned LoadSize, in getLoadVectorFactor() argument
1386 return TTIImpl->getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); in getLoadVectorFactor()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCHazardRecognizers.h94 bool isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
H A DPPCHazardRecognizers.cpp298 isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset, in isLoadOfStoredAddress() argument
313 if (int64_t(LoadOffset+LoadSize) > StoreOffset[i]) return true; in isLoadOfStoredAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp631 uint64_t LoadSize = 0; member
713 Loc = Loc.getWithNewSize(LOps.LoadSize); in foldLoadsRecursive()
752 LoadSize1 = LOps.LoadSize; in foldLoadsRecursive()
754 LoadSize2 = LOps.LoadSize; in foldLoadsRecursive()
772 LOps.LoadSize = LoadSize1 + LoadSize2; in foldLoadsRecursive()
801 IntegerType *WiderType = IntegerType::get(I.getContext(), LOps.LoadSize); in foldConsecutiveLoads()
809 Allowed = TTI.allowsMisalignedMemoryAccesses(I.getContext(), LOps.LoadSize, in foldConsecutiveLoads()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp698 int LoadSize = TII->getMemScale(LoadInst); in isLdOffsetInRangeOfSt() local
707 : AArch64InstrInfo::getLdStOffsetOp(LoadInst).getImm() * LoadSize; in isLdOffsetInRangeOfSt()
709 (UnscaledLdOffset + LoadSize <= (UnscaledStOffset + StoreSize)); in isLdOffsetInRangeOfSt()
1401 int LoadSize = TII->getMemScale(*LoadI); in promoteLoadFromStore() local
1413 if (LoadSize == StoreSize && (LoadSize == 4 || LoadSize == 8)) { in promoteLoadFromStore()
1416 if (StRt == LdRt && LoadSize == 8) { in promoteLoadFromStore()
1446 assert(LoadSize <= StoreSize && "Invalid load size"); in promoteLoadFromStore()
1450 : AArch64InstrInfo::getLdStOffsetOp(*LoadI).getImm() * LoadSize; in promoteLoadFromStore()
1455 int Width = LoadSize * 8; in promoteLoadFromStore()
1462 (UnscaledLdOffset + LoadSize) <= UnscaledStOffset + StoreSize) && in promoteLoadFromStore()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DJITLoaderVTune.cpp59 MethodMessage.method_size = MethodInfo.LoadSize; in registerJITLoaderVTuneRegisterImpl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DVTuneSupportPlugin.cpp58 Method.LoadSize = Sym->getSize(); in getMethodBatch()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp618 static bool isBlockingStore(int64_t LoadDispImm, unsigned LoadSize, in isBlockingStore() argument
621 (StoreDispImm <= LoadDispImm + (LoadSize - StoreSize))); in isBlockingStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1302 TypeSize LoadSize = DL.getTypeStoreSize(LI->getType()); in hasUnsafePHIOrSelectUse() local
1303 if (LoadSize.isScalable()) { in hasUnsafePHIOrSelectUse()
1307 Size = std::max(Size, LoadSize.getFixedValue()); in hasUnsafePHIOrSelectUse()
1597 APInt LoadSize = in isSafePHIToSpeculate() local
1621 if (isSafeToLoadUnconditionally(InVal, MaxAlign, LoadSize, DL, TI)) in isSafePHIToSpeculate()
2460 TypeSize LoadSize = DL.getTypeStoreSize(LI->getType()); in isIntegerWideningViableForSlice() local
2461 if (!LoadSize.isFixed() || LoadSize.getFixedValue() > Size) in isIntegerWideningViableForSlice()
H A DLoopIdiomRecognize.cpp1249 int64_t LoadSize = in loadAndStoreMayFormMemmove() local
1251 if (BP1 != BP2 || LoadSize != int64_t(StoreSize)) in loadAndStoreMayFormMemmove()
1254 (IsNegStride && LoadOff + LoadSize > StoreOff)) in loadAndStoreMayFormMemmove()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1798 LLVM_ABI unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
H A DTargetTransformInfoImpl.h1071 virtual unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp8896 unsigned LoadSize = in createAtomicRead() local
8899 &Builder, XElemTy, LoadSize * 8, LoadSize * 8, OldVal->getAlign(), in createAtomicRead()
8942 unsigned LoadSize = in createAtomicWrite() local
8945 &Builder, XElemTy, LoadSize * 8, LoadSize * 8, OldVal->getAlign(), in createAtomicWrite()
9070 unsigned LoadSize = in emitAtomicUpdate() local
9074 &Builder, XElemTy, LoadSize * 8, LoadSize * 8, OldVal->getAlign(), in emitAtomicUpdate()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp565 CharUnits LoadSize = CGF.getContext().getTypeSizeInChars(ElTy); in EmitISOVolatileLoad() local
567 llvm::IntegerType::get(CGF.getLLVMContext(), LoadSize.getQuantity() * 8); in EmitISOVolatileLoad()
568 llvm::LoadInst *Load = CGF.Builder.CreateAlignedLoad(ITy, Ptr, LoadSize); in EmitISOVolatileLoad()

12