Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp177 uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy); in analyzeLoadFromClobberingWrite() local
179 if ((WriteSizeInBits & 7) | (LoadSize & 7)) in analyzeLoadFromClobberingWrite()
182 LoadSize /= 8; in analyzeLoadFromClobberingWrite()
242 unsigned LoadSize = DL.getTypeStoreSize(LoadTy); in analyzeLoadFromClobberingLoad() local
245 LoadBase, LoadOffs, LoadSize, DepLI); in analyzeLoadFromClobberingLoad()
339 if (LoadSize != StoreSize) in getStoreValueForLoadHelper()
375 if (Offset + LoadSize > SrcValStoreSize) { in getLoadValueForLoad()
380 unsigned NewLoadSize = Offset + LoadSize; in getLoadValueForLoad()
419 if (Offset + LoadSize > SrcValStoreSize) in getConstantLoadValueForLoad()
437 if (LoadSize != 1) in getMemInstValueForLoadHelper()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp113 unsigned LoadSize = DL.getTypeStoreSize(Load->getType()); in processUse() local
118 if (LoadSize == 2) in processUse()
122 if (LoadSize == 2) in processUse()
126 if (LoadSize == 2) in processUse()
130 if (LoadSize == 4) in processUse()
134 if (LoadSize == 4) in processUse()
138 if (LoadSize == 4) in processUse()
H A DAMDGPUInstructionSelector.cpp450 if (LoadSize == 32) in getSmrdOpcode()
455 switch (LoadSize) { in getSmrdOpcode()
467 switch (LoadSize) { in getSmrdOpcode()
479 switch (LoadSize) { in getSmrdOpcode()
525 unsigned LoadSize = RBI.getSizeInBits(DstReg, MRI, TRI); in selectSMRD() local
534 Opcode = getSmrdOpcode(AMDGPU::S_LOAD_DWORD_IMM, LoadSize); in selectSMRD()
545 Opcode = getSmrdOpcode(AMDGPU::S_LOAD_DWORD_IMM_ci, LoadSize); in selectSMRD()
554 Opcode = getSmrdOpcode(AMDGPU::S_LOAD_DWORD_SGPR, LoadSize); in selectSMRD()
568 Opcode = getSmrdOpcode(AMDGPU::S_LOAD_DWORD_IMM, LoadSize); in selectSMRD()
584 unsigned LoadSize = RBI.getSizeInBits(DstReg, MRI, TRI); in selectG_LOAD() local
[all …]
H A DAMDGPUTargetTransformInfo.cpp233 unsigned GCNTTIImpl::getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
236 unsigned VecRegBitWidth = VF * LoadSize; in getLoadVectorFactor()
239 return 128 / LoadSize; in getLoadVectorFactor()
H A DAMDGPUTargetTransformInfo.h140 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp70 LoadEntry(unsigned LoadSize, uint64_t Offset) in LoadEntry()
71 : LoadSize(LoadSize), Offset(Offset) { in LoadEntry()
75 unsigned LoadSize; member
125 const unsigned LoadSize = LoadSizes.front(); in computeGreedyLoadSequence() local
126 const uint64_t NumLoadsForThisSize = Size / LoadSize; in computeGreedyLoadSequence()
136 LoadSequence.push_back({LoadSize, Offset}); in computeGreedyLoadSequence()
137 Offset += LoadSize; in computeGreedyLoadSequence()
139 if (LoadSize > 1) in computeGreedyLoadSequence()
141 Size = Size % LoadSize; in computeGreedyLoadSequence()
436 if (CurLoadEntry.LoadSize == 1) { in emitLoadCompareBlock()
[all …]
H A DStackSlotColoring.cpp448 unsigned LoadSize = 0; in RemoveDeadStores() local
450 if (!(LoadReg = TII->isLoadFromStackSlot(*I, FirstSS, LoadSize))) in RemoveDeadStores()
461 LoadSize != StoreSize) in RemoveDeadStores()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp565 int LoadSize = getMemScale(LoadInst); in isLdOffsetInRangeOfSt() local
572 : getLdStOffsetOp(LoadInst).getImm() * LoadSize; in isLdOffsetInRangeOfSt()
574 (UnscaledLdOffset + LoadSize <= (UnscaledStOffset + StoreSize)); in isLdOffsetInRangeOfSt()
884 int LoadSize = getMemScale(*LoadI); in promoteLoadFromStore() local
896 if (LoadSize == StoreSize && (LoadSize == 4 || LoadSize == 8)) { in promoteLoadFromStore()
899 if (StRt == LdRt && LoadSize == 8) { in promoteLoadFromStore()
929 assert(LoadSize <= StoreSize && "Invalid load size"); in promoteLoadFromStore()
932 : getLdStOffsetOp(*LoadI).getImm() * LoadSize; in promoteLoadFromStore()
936 int Width = LoadSize * 8; in promoteLoadFromStore()
945 (UnscaledLdOffset + LoadSize) <= UnscaledStOffset + StoreSize) && in promoteLoadFromStore()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLoads.cpp239 uint64_t LoadSize = DL.getTypeStoreSize(AddrTy->getElementType()); in isSafeToLoadUnconditionally() local
251 if (ByteOffset + LoadSize <= DL.getTypeAllocSize(BaseType) && in isSafeToLoadUnconditionally()
303 LoadSize <= DL.getTypeStoreSize(AccessedTy)) in isSafeToLoadUnconditionally()
H A DTargetTransformInfo.cpp669 unsigned LoadSize, in getLoadVectorFactor() argument
672 return TTIImpl->getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); in getLoadVectorFactor()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCHazardRecognizers.h95 bool isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
H A DPPCHazardRecognizers.cpp300 isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset, in isLoadOfStoredAddress() argument
315 if (int64_t(LoadOffset+LoadSize) > StoreOffset[i]) return true; in isLoadOfStoredAddress()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h982 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
1204 virtual unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize,
1603 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
1606 return Impl.getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); in getLoadVectorFactor()
H A DTargetTransformInfoImpl.h565 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp619 static bool isBlockingStore(int64_t LoadDispImm, unsigned LoadSize, in isBlockingStore() argument
622 (StoreDispImm <= LoadDispImm + (LoadSize - StoreSize))); in isBlockingStore()
H A DX86ISelLowering.cpp7326 int LoadSize = in EltsFromConsecutiveLoads() local
7331 (LoadSize == 32 || LoadSize == 64) && in EltsFromConsecutiveLoads()
7333 MVT VecSVT = VT.isFloatingPoint() ? MVT::getFloatingPointVT(LoadSize) in EltsFromConsecutiveLoads()
7334 : MVT::getIntegerVT(LoadSize); in EltsFromConsecutiveLoads()
7335 MVT VecVT = MVT::getVectorVT(VecSVT, VT.getSizeInBits() / LoadSize); in EltsFromConsecutiveLoads()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3776 uint64_t LoadSize = Ty->getBitWidth() / 8; in presplitLoadsAndStores() local
3777 assert(LoadSize > 0 && "Cannot have a zero-sized integer load!"); in presplitLoadsAndStores()
3780 assert(LoadSize == Offsets.S->endOffset() - Offsets.S->beginOffset() && in presplitLoadsAndStores()
3783 assert(BaseOffset + LoadSize > BaseOffset && in presplitLoadsAndStores()
3826 PartSize = (Idx < Size ? Offsets.Splits[Idx] : LoadSize) - PartOffset; in presplitLoadsAndStores()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp5804 CharUnits LoadSize = getContext().getTypeSizeInChars(ElTy); in EmitISOVolatileLoad() local
5806 LoadSize.getQuantity() * 8); in EmitISOVolatileLoad()
5809 Builder.CreateAlignedLoad(Ptr, LoadSize); in EmitISOVolatileLoad()