| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 25 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 D | AMDGPULowerKernelAttributes.cpp | 149 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 D | AMDGPUPreloadKernelArguments.cpp | 233 unsigned LoadSize = DL.getTypeStoreSize(Load.first->getType()); in tryAllocHiddenArgPreloadSGPRs() local 235 if (!canPreloadKernArgAtOffset(LoadOffset + LoadSize + in tryAllocHiddenArgPreloadSGPRs()
|
| H A D | AMDGPUTargetTransformInfo.h | 126 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
|
| H A D | AMDGPUTargetTransformInfo.cpp | 358 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 D | AMDGPURegisterBankInfo.cpp | 1061 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 D | AMDGPULowerBufferFatPointers.cpp | 2292 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 D | ExpandMemCmp.cpp | 94 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 D | StackSlotColoring.cpp | 489 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 D | VTuneSharedStructs.h | 34 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 D | Loads.cpp | 451 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 D | TargetTransformInfo.cpp | 1383 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 D | PPCHazardRecognizers.h | 94 bool isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
|
| H A D | PPCHazardRecognizers.cpp | 298 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 D | AggressiveInstCombine.cpp | 631 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 D | AArch64LoadStoreOptimizer.cpp | 698 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 D | JITLoaderVTune.cpp | 59 MethodMessage.method_size = MethodInfo.LoadSize; in registerJITLoaderVTuneRegisterImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
| H A D | VTuneSupportPlugin.cpp | 58 Method.LoadSize = Sym->getSize(); in getMethodBatch()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86AvoidStoreForwardingBlocks.cpp | 618 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 D | SROA.cpp | 1302 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 D | LoopIdiomRecognize.cpp | 1249 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 D | TargetTransformInfo.h | 1798 LLVM_ABI unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
|
| H A D | TargetTransformInfoImpl.h | 1071 virtual unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 8896 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 D | CGBuiltin.cpp | 565 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()
|