Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp192 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedSize(); in analyzeLoadFromClobberingWrite() local
194 if ((WriteSizeInBits & 7) | (LoadSize & 7)) in analyzeLoadFromClobberingWrite()
197 LoadSize /= 8; in analyzeLoadFromClobberingWrite()
204 StoreOffset + StoreSize < LoadOffset + LoadSize) in analyzeLoadFromClobberingWrite()
352 unsigned LoadSize = DL.getTypeStoreSize(LoadTy).getFixedSize(); in analyzeLoadFromClobberingLoad() local
355 getLoadLoadClobberFullWidthSize(LoadBase, LoadOffs, LoadSize, DepLI); in analyzeLoadFromClobberingLoad()
440 uint64_t LoadSize = (DL.getTypeSizeInBits(LoadTy).getFixedSize() + 7) / 8; in getStoreValueForLoadHelper() local
453 ShiftAmt = (StoreSize - LoadSize - Offset) * 8; in getStoreValueForLoadHelper()
458 if (LoadSize != StoreSize) in getStoreValueForLoadHelper()
460 IntegerType::get(Ctx, LoadSize * 8)); in getStoreValueForLoadHelper()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp103 unsigned LoadSize = DL.getTypeStoreSize(Load->getType()); in processUse() local
108 if (LoadSize == 2) in processUse()
112 if (LoadSize == 2) in processUse()
116 if (LoadSize == 2) in processUse()
120 if (LoadSize == 4) in processUse()
124 if (LoadSize == 4) in processUse()
128 if (LoadSize == 4) in processUse()
H A DAMDGPUTargetTransformInfo.h127 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
H A DAMDGPURegisterBankInfo.cpp1144 unsigned LoadSize = LoadTy.getSizeInBits(); in applyMappingLoad() local
1152 if (LoadSize != 32 && LoadSize != 96) in applyMappingLoad()
1161 if (LoadSize == 32 && in applyMappingLoad()
1170 if (LoadSize == 32) { in applyMappingLoad()
1209 if (LoadSize <= MaxNonSmrdLoadSize) in applyMappingLoad()
1218 assert(LoadSize % MaxNonSmrdLoadSize == 0); in applyMappingLoad()
1435 unsigned LoadSize = Ty.getSizeInBits(); in applyMappingSBufferLoad() local
1437 if (LoadSize == 256 || LoadSize == 512) { in applyMappingSBufferLoad()
1438 NumLoads = LoadSize / 128; in applyMappingSBufferLoad()
H A DAMDGPUTargetTransformInfo.cpp342 unsigned GCNTTIImpl::getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
345 unsigned VecRegBitWidth = VF * LoadSize; in getLoadVectorFactor()
348 return 128 / LoadSize; in getLoadVectorFactor()
H A DSIInstrInfo.cpp455 const unsigned LoadSize = NumBytes / NumLoads; in shouldClusterMemOps() local
456 const unsigned NumDWORDs = ((LoadSize + 3) / 4) * NumLoads; in shouldClusterMemOps()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp87 LoadEntry(unsigned LoadSize, uint64_t Offset) in LoadEntry()
88 : LoadSize(LoadSize), Offset(Offset) { in LoadEntry()
92 unsigned LoadSize; member
146 const unsigned LoadSize = LoadSizes.front(); in computeGreedyLoadSequence() local
147 const uint64_t NumLoadsForThisSize = Size / LoadSize; in computeGreedyLoadSequence()
157 LoadSequence.push_back({LoadSize, Offset}); in computeGreedyLoadSequence()
158 Offset += LoadSize; in computeGreedyLoadSequence()
160 if (LoadSize > 1) in computeGreedyLoadSequence()
162 Size = Size % LoadSize; in computeGreedyLoadSequence()
394 IntegerType::get(CI->getContext(), CurLoadEntry.LoadSize * 8), in getCompareLoadPairs()
[all …]
H A DStackSlotColoring.cpp445 unsigned LoadSize = 0; in RemoveDeadStores() local
447 if (!(LoadReg = TII->isLoadFromStackSlot(*I, FirstSS, LoadSize))) in RemoveDeadStores()
458 LoadSize != StoreSize) in RemoveDeadStores()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp646 int LoadSize = TII->getMemScale(LoadInst); in isLdOffsetInRangeOfSt() local
653 : getLdStOffsetOp(LoadInst).getImm() * LoadSize; in isLdOffsetInRangeOfSt()
655 (UnscaledLdOffset + LoadSize <= (UnscaledStOffset + StoreSize)); in isLdOffsetInRangeOfSt()
1089 int LoadSize = TII->getMemScale(*LoadI); in promoteLoadFromStore() local
1101 if (LoadSize == StoreSize && (LoadSize == 4 || LoadSize == 8)) { in promoteLoadFromStore()
1104 if (StRt == LdRt && LoadSize == 8) { in promoteLoadFromStore()
1134 assert(LoadSize <= StoreSize && "Invalid load size"); in promoteLoadFromStore()
1137 : getLdStOffsetOp(*LoadI).getImm() * LoadSize; in promoteLoadFromStore()
1141 int Width = LoadSize * 8; in promoteLoadFromStore()
1148 (UnscaledLdOffset + LoadSize) <= UnscaledStOffset + StoreSize) && in promoteLoadFromStore()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoads.cpp350 const uint64_t LoadSize = Size.getZExtValue(); in isSafeToLoadUnconditionally() local
400 LoadSize <= DL.getTypeStoreSize(AccessedTy)) in isSafeToLoadUnconditionally()
404 LoadSize <= DL.getTypeStoreSize(AccessedTy)) in isSafeToLoadUnconditionally()
H A DTargetTransformInfo.cpp1006 unsigned LoadSize, in getLoadVectorFactor() argument
1009 return TTIImpl->getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); in getLoadVectorFactor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp625 static bool isBlockingStore(int64_t LoadDispImm, unsigned LoadSize, in isBlockingStore() argument
628 (StoreDispImm <= LoadDispImm + (LoadSize - StoreSize))); in isBlockingStore()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1329 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
1710 virtual unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
2261 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
2264 return Impl.getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); in getLoadVectorFactor()
H A DTargetTransformInfoImpl.h723 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3992 uint64_t LoadSize = Ty->getBitWidth() / 8; in presplitLoadsAndStores() local
3993 assert(LoadSize > 0 && "Cannot have a zero-sized integer load!"); in presplitLoadsAndStores()
3996 assert(LoadSize == Offsets.S->endOffset() - Offsets.S->beginOffset() && in presplitLoadsAndStores()
3999 assert(BaseOffset + LoadSize > BaseOffset && in presplitLoadsAndStores()
4043 PartSize = (Idx < Size ? Offsets.Splits[Idx] : LoadSize) - PartOffset; in presplitLoadsAndStores()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBuiltin.cpp414 CharUnits LoadSize = CGF.getContext().getTypeSizeInChars(ElTy); in EmitISOVolatileLoad() local
416 llvm::IntegerType::get(CGF.getLLVMContext(), LoadSize.getQuantity() * 8); in EmitISOVolatileLoad()
418 llvm::LoadInst *Load = CGF.Builder.CreateAlignedLoad(ITy, Ptr, LoadSize); in EmitISOVolatileLoad()