| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 31 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy).getFixedValue(); in canCoerceMustAliasedValueToLoad() local 34 if (llvm::alignTo(StoreSize, 8) != StoreSize) in canCoerceMustAliasedValueToLoad() 38 if (StoreSize < DL.getTypeSizeInBits(LoadTy).getFixedValue()) in canCoerceMustAliasedValueToLoad() 61 if (StoredNI && StoreSize != DL.getTypeSizeInBits(LoadTy).getFixedValue()) in canCoerceMustAliasedValueToLoad() 193 uint64_t StoreSize = WriteSizeInBits / 8; // Convert to bytes. in analyzeLoadFromClobberingWrite() local 201 StoreOffset + int64_t(StoreSize) < LoadOffset + int64_t(LoadSize)) in analyzeLoadFromClobberingWrite() 223 uint64_t StoreSize = in analyzeLoadFromClobberingStore() local 225 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, StorePtr, StoreSize, in analyzeLoadFromClobberingStore() 413 uint64_t StoreSize = in getStoreValueForLoadHelper() local 423 Builder.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize * 8)); in getStoreValueForLoadHelper() [all …]
|
| /openbsd-src/gnu/llvm/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 | 131 int64_t StoreSize = DL->getTypeStoreSize(SI->getOperand(0)->getType()); in addStore() local 132 if (!addRange(Offset, Offset + StoreSize, SI)) in addStore() 135 applyStore(IRB, Offset, Offset + StoreSize, SI->getOperand(0)); in addStore() 140 uint64_t StoreSize = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet() local 141 if (!addRange(Offset, Offset + StoreSize, MSI)) in addMemSet() 144 applyMemSet(IRB, Offset, Offset + StoreSize, in addMemSet()
|
| H A D | AArch64LoadStoreOptimizer.cpp | 626 int StoreSize = TII->getMemScale(StoreInst); in isLdOffsetInRangeOfSt() local 630 : AArch64InstrInfo::getLdStOffsetOp(StoreInst).getImm() * StoreSize; in isLdOffsetInRangeOfSt() 636 (UnscaledLdOffset + LoadSize <= (UnscaledStOffset + StoreSize)); in isLdOffsetInRangeOfSt() 1074 int StoreSize = TII->getMemScale(*StoreI); in promoteLoadFromStore() local 1085 if (LoadSize == StoreSize && (LoadSize == 4 || LoadSize == 8)) { in promoteLoadFromStore() 1118 assert(LoadSize <= StoreSize && "Invalid load size"); in promoteLoadFromStore() 1126 : AArch64InstrInfo::getLdStOffsetOp(*StoreI).getImm() * StoreSize; in promoteLoadFromStore() 1134 (UnscaledLdOffset + LoadSize) <= UnscaledStOffset + StoreSize) && in promoteLoadFromStore()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 227 const SCEV *StoreSize, MaybeAlign StoreAlign, 550 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore() local 551 if (StoreSize != Stride && StoreSize != -Stride) in isLegalStore() 762 unsigned StoreSize = 0; in processLoopStores() local 770 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores() 782 if (StoreSize != Stride && StoreSize != -Stride) in processLoopStores() 785 bool IsNegStride = StoreSize == -Stride; in processLoopStores() 788 const SCEV *StoreSizeSCEV = SE->getConstant(IntIdxTy, StoreSize); in processLoopStores() 1259 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad() local 1271 const SCEV *StoreSizeSCEV = SE->getConstant(StorePtr->getType(), 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.getFixedValue(), in addStore()
|
| H A D | SROA.cpp | 4440 uint64_t StoreSize = Ty->getBitWidth() / 8; in presplitLoadsAndStores() local 4441 assert(StoreSize > 0 && "Cannot have a zero-sized integer store!"); in presplitLoadsAndStores() 4444 assert(StoreSize == Offsets.S->endOffset() - Offsets.S->beginOffset() && in presplitLoadsAndStores() 4447 assert(BaseOffset + StoreSize > BaseOffset && in presplitLoadsAndStores() 4523 PartSize = (Idx < Size ? Offsets.Splits[Idx] : StoreSize) - PartOffset; in presplitLoadsAndStores()
|
| /openbsd-src/gnu/llvm/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 | 1414 uint64_t StoreSize = DL.getTypeStoreSize(A->getType()); in CanShareConstantPoolEntry() local 1415 if (StoreSize != DL.getTypeStoreSize(B->getType()) || StoreSize > 128) in CanShareConstantPoolEntry() 1418 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8); in CanShareConstantPoolEntry()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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() 2030 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processCopyingStore() local 2031 if (Stride != StoreSize) in processCopyingStore() 2067 if (StoreSize != 4 || DL->getTypeSizeInBits(BECountTy) > 32) { in processCopyingStore() 2086 StoreSize, *AA, Ignore1)) { in processCopyingStore() 2090 BECount, StoreSize, *AA, Ignore1)) { in processCopyingStore() 2133 StoreSize, *AA, Ignore2)) in processCopyingStore() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 125 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize,
|
| H A D | AMDGPUTargetTransformInfo.cpp | 346 unsigned GCNTTIImpl::getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 349 unsigned VecRegBitWidth = VF * StoreSize; in getStoreVectorFactor() 351 return 128 / StoreSize; in getStoreVectorFactor()
|
| H A D | AMDGPUISelLowering.cpp | 40 unsigned StoreSize = VT.getStoreSizeInBits(); in getEquivalentMemType() local 41 if (StoreSize <= 32) in getEquivalentMemType() 42 return EVT::getIntegerVT(Ctx, StoreSize); in getEquivalentMemType() 44 assert(StoreSize % 32 == 0 && "Store size not a multiple of 32"); in getEquivalentMemType() 45 return EVT::getVectorVT(Ctx, MVT::i32, StoreSize / 32); in getEquivalentMemType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 511 TypeSize StoreSize = DL.getTypeSizeInBits(Val->getType()); in getAvailableLoadStore() local 513 if (TypeSize::isKnownLE(LoadSize, StoreSize)) in getAvailableLoadStore()
|
| H A D | TargetTransformInfo.cpp | 1141 unsigned StoreSize, in getStoreVectorFactor() argument 1144 return TTIImpl->getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy); in getStoreVectorFactor()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 1476 TypeSize StoreSize = MemAccess->getMemoryVT().getStoreSize(); in storeLoadIsAligned() local 1482 if (MemAccess->getAlign().value() < StoreSize || in storeLoadIsAligned() 1487 if (MMO->getOffset() % StoreSize != 0) in storeLoadIsAligned() 1500 if (GA->getOffset() % StoreSize != 0) in storeLoadIsAligned() 1506 if (GV->getPointerAlignment(DL).value() < StoreSize) in storeLoadIsAligned()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1457 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 1893 virtual unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 2544 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 2547 return Impl.getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy); in getStoreVectorFactor()
|
| H A D | TargetTransformInfoImpl.h | 823 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 564 CharUnits StoreSize = Store.second; in EmitNullBaseClassInitialization() local 565 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize); in EmitNullBaseClassInitialization() 578 CharUnits StoreSize = Store.second; in EmitNullBaseClassInitialization() local 579 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize); in EmitNullBaseClassInitialization()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3452 const uint64_t StoreSize = DL.getTypeStoreSize(CV->getType()); in emitGlobalConstantImpl() local 3454 if (StoreSize <= 8) { in emitGlobalConstantImpl() 3458 AP.OutStreamer->emitIntValue(CI->getZExtValue(), StoreSize); in emitGlobalConstantImpl() 3464 if (Size != StoreSize) in emitGlobalConstantImpl() 3465 AP.OutStreamer->emitZeros(Size - StoreSize); in emitGlobalConstantImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 1215 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in storeOrigin() local 1225 paintOrigin(IRB, updateOrigin(Origin, IRB), OriginPtr, StoreSize, in storeOrigin() 1249 paintOrigin(IRBNew, updateOrigin(Origin, IRBNew), OriginPtr, StoreSize, in storeOrigin() 4724 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in visitCallBase() local 4725 MSV.paintOrigin(IRB, Origin, OriginBase, StoreSize, in visitCallBase() 5590 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in visitCallBase() local 5591 MSV.paintOrigin(IRB, Origin, OriginBase, StoreSize, in visitCallBase()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 1287 unsigned StoreSize = DL->getTypeStoreSize(LI.getType()); in translateLoad() local 1288 if (StoreSize == 0) in translateLoad() 1313 MemoryLocation(Ptr, LocationSize::precise(StoreSize), AAInfo))) { in translateLoad()
|