| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 31 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy).getFixedSize(); in canCoerceMustAliasedValueToLoad() local 34 if (llvm::alignTo(StoreSize, 8) != StoreSize) in canCoerceMustAliasedValueToLoad() 38 if (StoreSize < DL.getTypeSizeInBits(LoadTy).getFixedSize()) in canCoerceMustAliasedValueToLoad() 61 if (StoredNI && StoreSize != DL.getTypeSizeInBits(LoadTy).getFixedSize()) in canCoerceMustAliasedValueToLoad() 190 uint64_t StoreSize = WriteSizeInBits / 8; // Convert to bytes. in analyzeLoadFromClobberingWrite() local 198 StoreOffset + int64_t(StoreSize) < LoadOffset + int64_t(LoadSize)) in analyzeLoadFromClobberingWrite() 220 uint64_t StoreSize = in analyzeLoadFromClobberingStore() local 222 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, StorePtr, StoreSize, in analyzeLoadFromClobberingStore() 410 uint64_t StoreSize = in getStoreValueForLoadHelper() local 427 ShiftAmt = (StoreSize - LoadSize - Offset) * 8; in getStoreValueForLoadHelper() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64MachineScheduler.cpp | 56 int StoreSize = AArch64InstrInfo::getMemScale(MI) * Multiples; in mayOverlapWrite() local 58 return llabs(Off0 - Off1) < StoreSize; in mayOverlapWrite()
|
| H A D | AArch64StackTagging.cpp | 133 int64_t StoreSize = DL->getTypeStoreSize(SI->getOperand(0)->getType()); in addStore() local 134 if (!addRange(Offset, Offset + StoreSize, SI)) in addStore() 137 applyStore(IRB, Offset, Offset + StoreSize, SI->getOperand(0)); in addStore() 142 uint64_t StoreSize = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet() local 143 if (!addRange(Offset, Offset + StoreSize, MSI)) in addMemSet() 146 applyMemSet(IRB, Offset, Offset + StoreSize, in addMemSet()
|
| H A D | AArch64LoadStoreOptimizer.cpp | 625 int StoreSize = TII->getMemScale(StoreInst); in isLdOffsetInRangeOfSt() local 629 : AArch64InstrInfo::getLdStOffsetOp(StoreInst).getImm() * StoreSize; in isLdOffsetInRangeOfSt() 635 (UnscaledLdOffset + LoadSize <= (UnscaledStOffset + StoreSize)); in isLdOffsetInRangeOfSt() 1073 int StoreSize = TII->getMemScale(*StoreI); in promoteLoadFromStore() local 1084 if (LoadSize == StoreSize && (LoadSize == 4 || LoadSize == 8)) { in promoteLoadFromStore() 1117 assert(LoadSize <= StoreSize && "Invalid load size"); in promoteLoadFromStore() 1125 : AArch64InstrInfo::getLdStOffsetOp(*StoreI).getImm() * StoreSize; in promoteLoadFromStore() 1133 (UnscaledLdOffset + LoadSize) <= UnscaledStOffset + StoreSize) && in promoteLoadFromStore()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 549 if (StoreSize != Stride && StoreSize != -Stride) in isLegalStore() 760 unsigned StoreSize = 0; in processLoopStores() local 780 if (StoreSize != Stride && StoreSize != -Stride) in processLoopStores() 783 bool IsNegStride = StoreSize == -Stride; in processLoopStores() 786 const SCEV *StoreSizeSCEV = SE->getConstant(IntIdxTy, StoreSize); in processLoopStores() 1300 if (BP1 != BP2 || LoadSize != int64_t(StoreSize)) in loadAndStoreMayFormMemmove() 1302 if ((!IsNegStride && LoadOff < StoreOff + int64_t(StoreSize)) || in loadAndStoreMayFormMemmove() 1352 int64_t StoreSize = ConstStoreSize->getValue()->getZExtValue(); in processLoopStoreOfLoopLoad() local 1353 bool IsNegStride = StoreSize == -Stride; in processLoopStoreOfLoopLoad() 1486 if (StoreAlign.value() < StoreSize || LoadAlign.value() < StoreSize) in processLoopStoreOfLoopLoad() [all …]
|
| H A D | MemCpyOptimizer.cpp | 177 TypeSize StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType()); in addStore() local 178 assert(!StoreSize.isScalable() && "Can't track scalable-typed stores"); in addStore() 179 addRange(OffsetFromFirst, StoreSize.getFixedSize(), SI->getPointerOperand(), in addStore()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | trivial-auto-var-init-store.ll | 16 ; YAML-NEXT: - StoreSize: '4' 41 ; YAML-NEXT: - StoreSize: '4' 66 ; YAML-NEXT: - StoreSize: '4' 92 ; YAML-NEXT: - StoreSize: '4'
|
| H A D | trivial-auto-var-init-call.ll | 92 ; YAML-NEXT: - StoreSize: '32' 112 ; YAML-NEXT: - StoreSize: '32' 136 ; YAML-NEXT: - StoreSize: '32' 160 ; YAML-NEXT: - StoreSize: '32' 184 ; YAML-NEXT: - StoreSize: '32' 343 ; YAML-NEXT: - StoreSize: '1' 375 ; YAML-NEXT: - StoreSize: '1' 406 ; YAML-NEXT: - StoreSize: '1' 437 ; YAML-NEXT: - StoreSize: '1'
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | StackSlotColoring.cpp | 441 unsigned StoreSize = 0; in RemoveDeadStores() local 450 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS, StoreSize))) in RemoveDeadStores() 453 LoadSize != StoreSize) in RemoveDeadStores()
|
| H A D | MachineFunction.cpp | 1449 uint64_t StoreSize = DL.getTypeStoreSize(A->getType()); in CanShareConstantPoolEntry() local 1450 if (StoreSize != DL.getTypeStoreSize(B->getType()) || StoreSize > 128) in CanShareConstantPoolEntry() 1453 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8); in CanShareConstantPoolEntry()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCHazardRecognizers.h | 73 uint64_t StoreSize[4]; variable
|
| H A D | PPCHazardRecognizers.cpp | 311 if (int64_t(StoreOffset[i]+StoreSize[i]) > LoadOffset) return true; in isLoadOfStoredAddress() 404 StoreSize[NumStores] = MO->getSize(); in EmitInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 1953 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore() local 1954 if (StoreSize != unsigned(std::abs(Stride))) in isLegalStore() 1983 const SCEV *BECount, unsigned StoreSize, in mayLoopAccessLocation() argument 1995 StoreSize); in mayLoopAccessLocation() 2031 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processCopyingStore() local 2032 if (Stride != StoreSize) in processCopyingStore() 2068 if (StoreSize != 4 || DL->getTypeSizeInBits(BECountTy) > 32) { in processCopyingStore() 2087 StoreSize, *AA, Ignore1)) { in processCopyingStore() 2091 BECount, StoreSize, *AA, Ignore1)) { in processCopyingStore() 2134 StoreSize, *AA, Ignore2)) in processCopyingStore() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | memsize-remarks.ll | 155 ; YAML-NEXT: - StoreSize: '1' 187 ; YAML-NEXT: - StoreSize: '1' 225 ; YAML-NEXT: - StoreSize: '1' 263 ; YAML-NEXT: - StoreSize: '1' 286 ; YAML-NEXT: - StoreSize: '1'
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 510 TypeSize StoreSize = DL.getTypeSizeInBits(Val->getType()); in getAvailableLoadStore() local 512 if (TypeSize::isKnownLE(LoadSize, StoreSize)) in getAvailableLoadStore()
|
| H A D | TargetTransformInfo.cpp | 1082 unsigned StoreSize, in getStoreVectorFactor() argument 1085 return TTIImpl->getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy); in getStoreVectorFactor()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 122 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize,
|
| H A D | AMDGPUTargetTransformInfo.cpp | 344 unsigned GCNTTIImpl::getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 347 unsigned VecRegBitWidth = VF * StoreSize; in getStoreVectorFactor() 349 return 128 / StoreSize; in getStoreVectorFactor()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 1469 TypeSize StoreSize = MemAccess->getMemoryVT().getStoreSize(); in storeLoadIsAligned() local 1475 if (MemAccess->getAlign().value() < StoreSize || in storeLoadIsAligned() 1480 if (MMO->getOffset() % StoreSize != 0) in storeLoadIsAligned() 1493 if (GA->getOffset() % StoreSize != 0) in storeLoadIsAligned() 1499 if (GV->getPointerAlignment(DL).value() < StoreSize) in storeLoadIsAligned()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86AvoidStoreForwardingBlocks.cpp | 620 int64_t StoreDispImm, unsigned StoreSize) { in isBlockingStore() argument 622 (StoreDispImm <= LoadDispImm + (LoadSize - StoreSize))); in isBlockingStore()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1403 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 1828 virtual unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 2440 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 2443 return Impl.getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy); in getStoreVectorFactor()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 561 CharUnits StoreSize = Store.second; in EmitNullBaseClassInitialization() local 562 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize); in EmitNullBaseClassInitialization() 575 CharUnits StoreSize = Store.second; in EmitNullBaseClassInitialization() local 576 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize); in EmitNullBaseClassInitialization()
|
| /llvm-project-15.0.7/polly/lib/Transform/ |
| H A D | DeLICM.cpp | 1060 auto StoreSize = in collapseScalarsToStore() local 1078 if (MASize > StoreSize) { in collapseScalarsToStore()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3277 const uint64_t StoreSize = DL.getTypeStoreSize(CV->getType()); in emitGlobalConstantImpl() local 3279 if (StoreSize <= 8) { in emitGlobalConstantImpl() 3283 AP.OutStreamer->emitIntValue(CI->getZExtValue(), StoreSize); in emitGlobalConstantImpl() 3289 if (Size != StoreSize) in emitGlobalConstantImpl() 3290 AP.OutStreamer->emitZeros(Size - StoreSize); in emitGlobalConstantImpl()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 1153 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in storeOrigin() local 1157 paintOrigin(IRB, updateOrigin(Origin, IRB), OriginPtr, StoreSize, in storeOrigin() 1178 paintOrigin(IRBNew, updateOrigin(Origin, IRBNew), OriginPtr, StoreSize, in storeOrigin() 4315 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in visitCallBase() local 4316 MSV.paintOrigin(IRB, Origin, OriginBase, StoreSize, in visitCallBase() 5193 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in visitCallBase() local 5194 MSV.paintOrigin(IRB, Origin, OriginBase, StoreSize, in visitCallBase()
|