Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp194 if ((WriteSizeInBits & 7) | (LoadSize & 7)) in analyzeLoadFromClobberingWrite()
197 LoadSize /= 8; in analyzeLoadFromClobberingWrite()
204 StoreOffset + StoreSize < LoadOffset + LoadSize) in analyzeLoadFromClobberingWrite()
453 ShiftAmt = (StoreSize - LoadSize - Offset) * 8; in getStoreValueForLoadHelper()
458 if (LoadSize != StoreSize) in getStoreValueForLoadHelper()
495 if (Offset + LoadSize > SrcValStoreSize) { in getLoadValueForLoad()
500 unsigned NewLoadSize = Offset + LoadSize; in getLoadValueForLoad()
540 if (Offset + LoadSize > SrcValStoreSize) in getConstantLoadValueForLoad()
558 if (LoadSize != 1) in getMemInstValueForLoadHelper()
564 for (unsigned NumBytesSet = 1; NumBytesSet != LoadSize;) { in getMemInstValueForLoadHelper()
[all …]
/freebsd-13.1/contrib/llvm-project/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 DAMDGPUTargetTransformInfo.cpp343 unsigned GCNTTIImpl::getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
346 unsigned VecRegBitWidth = VF * LoadSize; in getLoadVectorFactor()
349 return 128 / LoadSize; in getLoadVectorFactor()
H A DAMDGPURegisterBankInfo.cpp1145 unsigned LoadSize = LoadTy.getSizeInBits(); in applyMappingLoad() local
1153 if (LoadSize != 32 && LoadSize != 96) in applyMappingLoad()
1162 if (LoadSize == 32 && in applyMappingLoad()
1171 if (LoadSize == 32) { in applyMappingLoad()
1210 if (LoadSize <= MaxNonSmrdLoadSize) in applyMappingLoad()
1219 assert(LoadSize % MaxNonSmrdLoadSize == 0); in applyMappingLoad()
1436 unsigned LoadSize = Ty.getSizeInBits(); in applyMappingSBufferLoad() local
1438 if (LoadSize == 256 || LoadSize == 512) { in applyMappingSBufferLoad()
1439 NumLoads = LoadSize / 128; in applyMappingSBufferLoad()
H A DSIInstrInfo.cpp459 const unsigned LoadSize = NumBytes / NumLoads; in shouldClusterMemOps() local
460 const unsigned NumDWORDs = ((LoadSize + 3) / 4) * NumLoads; in shouldClusterMemOps()
/freebsd-13.1/contrib/llvm-project/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()
474 if (CurLoadEntry.LoadSize == 1) { in emitLoadCompareBlock()
[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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/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-13.1/contrib/llvm-project/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.cpp1007 unsigned LoadSize, in getLoadVectorFactor() argument
1010 return TTIImpl->getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); in getLoadVectorFactor()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1318 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
1699 virtual unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
2250 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
2253 return Impl.getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); in getLoadVectorFactor()
H A DTargetTransformInfoImpl.h727 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1306 int64_t LoadSize = in processLoopStoreOfLoopLoad() local
1308 if (BP1 != BP2 || LoadSize != int64_t(StoreSize)) in processLoopStoreOfLoopLoad()
1311 (NegStride && LoadOff + LoadSize > StoreOff)) in processLoopStoreOfLoopLoad()
H A DSROA.cpp4008 uint64_t LoadSize = Ty->getBitWidth() / 8; in presplitLoadsAndStores() local
4009 assert(LoadSize > 0 && "Cannot have a zero-sized integer load!"); in presplitLoadsAndStores()
4012 assert(LoadSize == Offsets.S->endOffset() - Offsets.S->beginOffset() && in presplitLoadsAndStores()
4015 assert(BaseOffset + LoadSize > BaseOffset && in presplitLoadsAndStores()
4059 PartSize = (Idx < Size ? Offsets.Splits[Idx] : LoadSize) - PartOffset; in presplitLoadsAndStores()
/freebsd-13.1/contrib/llvm-project/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()