/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | VNCoercion.cpp | 30 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy).getFixedSize(); in canCoerceMustAliasedValueToLoad() local 33 if (llvm::alignTo(StoreSize, 8) != StoreSize) in canCoerceMustAliasedValueToLoad() 37 if (StoreSize < DL.getTypeSizeInBits(LoadTy).getFixedSize()) in canCoerceMustAliasedValueToLoad() 60 if (StoredNI && StoreSize != DL.getTypeSizeInBits(LoadTy).getFixedSize()) in canCoerceMustAliasedValueToLoad() 196 uint64_t StoreSize = WriteSizeInBits / 8; // Convert to bytes. in analyzeLoadFromClobberingWrite() local 204 StoreOffset + StoreSize < LoadOffset + LoadSize) in analyzeLoadFromClobberingWrite() 216 if (StoreOffset + int64_t(StoreSize) <= LoadOffset) in analyzeLoadFromClobberingWrite() 238 uint64_t StoreSize = in analyzeLoadFromClobberingStore() local 438 uint64_t StoreSize = in getStoreValueForLoadHelper() local 453 ShiftAmt = (StoreSize - LoadSize - Offset) * 8; in getStoreValueForLoadHelper() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 549 if (StoreSize != Stride && StoreSize != -Stride) in isLegalStore() 763 unsigned StoreSize = 0; in processLoopStores() local 783 if (StoreSize != Stride && StoreSize != -Stride) in processLoopStores() 786 bool NegStride = StoreSize == -Stride; in processLoopStores() 788 if (processLoopStridedStore(StorePtr, StoreSize, in processLoopStores() 960 StoreSize); in mayLoopAccessLocation() 986 if (StoreSize != 1) in getStartForNegStride() 1020 if (StoreSize != 1) { in getNumBytes() 1208 bool NegStride = StoreSize == -Stride; in processLoopStoreOfLoopLoad() 1302 if (StoreAlign.getValue() < StoreSize || LoadAlign.getValue() < StoreSize) in processLoopStoreOfLoopLoad() [all …]
|
H A D | MemCpyOptimizer.cpp | 181 int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType()); in addStore() local 183 addRange(OffsetFromFirst, StoreSize, SI->getPointerOperand(), in addStore()
|
H A D | SROA.cpp | 4116 uint64_t StoreSize = Ty->getBitWidth() / 8; in presplitLoadsAndStores() local 4117 assert(StoreSize > 0 && "Cannot have a zero-sized integer store!"); in presplitLoadsAndStores() 4120 assert(StoreSize == Offsets.S->endOffset() - Offsets.S->beginOffset() && in presplitLoadsAndStores() 4123 assert(BaseOffset + StoreSize > BaseOffset && in presplitLoadsAndStores() 4195 PartSize = (Idx < Size ? Offsets.Splits[Idx] : StoreSize) - PartOffset; in presplitLoadsAndStores()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTagging.cpp | 123 int64_t StoreSize = DL->getTypeStoreSize(SI->getOperand(0)->getType()); in addStore() local 124 if (!addRange(Offset, Offset + StoreSize, SI)) in addStore() 127 applyStore(IRB, Offset, Offset + StoreSize, SI->getOperand(0)); in addStore() 132 uint64_t StoreSize = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet() local 133 if (!addRange(Offset, Offset + StoreSize, MSI)) in addMemSet() 136 applyMemSet(IRB, Offset, Offset + StoreSize, in addMemSet()
|
H A D | AArch64LoadStoreOptimizer.cpp | 647 int StoreSize = TII->getMemScale(StoreInst); in isLdOffsetInRangeOfSt() local 650 : getLdStOffsetOp(StoreInst).getImm() * StoreSize; in isLdOffsetInRangeOfSt() 655 (UnscaledLdOffset + LoadSize <= (UnscaledStOffset + StoreSize)); in isLdOffsetInRangeOfSt() 1090 int StoreSize = TII->getMemScale(*StoreI); in promoteLoadFromStore() local 1101 if (LoadSize == StoreSize && (LoadSize == 4 || LoadSize == 8)) { in promoteLoadFromStore() 1134 assert(LoadSize <= StoreSize && "Invalid load size"); in promoteLoadFromStore() 1140 : getLdStOffsetOp(*StoreI).getImm() * StoreSize; in promoteLoadFromStore() 1148 (UnscaledLdOffset + LoadSize) <= UnscaledStOffset + StoreSize) && in promoteLoadFromStore()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | StackSlotColoring.cpp | 446 unsigned StoreSize = 0; in RemoveDeadStores() local 455 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS, StoreSize))) in RemoveDeadStores() 458 LoadSize != StoreSize) in RemoveDeadStores()
|
H A D | MachineFunction.cpp | 1175 uint64_t StoreSize = DL.getTypeStoreSize(A->getType()); in CanShareConstantPoolEntry() local 1176 if (StoreSize != DL.getTypeStoreSize(B->getType()) || StoreSize > 128) in CanShareConstantPoolEntry() 1179 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8); in CanShareConstantPoolEntry()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 1958 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore() local 1959 if (StoreSize != unsigned(std::abs(Stride))) in isLegalStore() 1988 const SCEV *BECount, unsigned StoreSize, in mayLoopAccessLocation() argument 2000 StoreSize); in mayLoopAccessLocation() 2036 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processCopyingStore() local 2037 if (Stride != StoreSize) in processCopyingStore() 2073 if (StoreSize != 4 || DL->getTypeSizeInBits(BECountTy) > 32) { in processCopyingStore() 2092 StoreSize, *AA, Ignore1)) { in processCopyingStore() 2096 BECount, StoreSize, *AA, Ignore1)) { in processCopyingStore() 2139 StoreSize, *AA, Ignore2)) in processCopyingStore() [all …]
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 1470 TypeSize StoreSize = MemAccess->getMemoryVT().getStoreSize(); in storeLoadIsAligned() local 1476 if (MemAccess->getAlignment() < StoreSize || in storeLoadIsAligned() 1481 if (MMO->getOffset() % StoreSize != 0) in storeLoadIsAligned() 1494 if (GA->getOffset() % StoreSize != 0) in storeLoadIsAligned() 1500 if (GV->getPointerAlignment(DL).value() < StoreSize) in storeLoadIsAligned()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.h | 130 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize,
|
H A D | AMDGPUTargetTransformInfo.cpp | 353 unsigned GCNTTIImpl::getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 356 unsigned VecRegBitWidth = VF * StoreSize; in getStoreVectorFactor() 358 return 128 / StoreSize; in getStoreVectorFactor()
|
H A D | AMDGPUISelLowering.cpp | 39 unsigned StoreSize = VT.getStoreSizeInBits(); in getEquivalentMemType() local 40 if (StoreSize <= 32) in getEquivalentMemType() 41 return EVT::getIntegerVT(Ctx, StoreSize); in getEquivalentMemType() 43 assert(StoreSize % 32 == 0 && "Store size not a multiple of 32"); in getEquivalentMemType() 44 return EVT::getVectorVT(Ctx, MVT::i32, StoreSize / 32); in getEquivalentMemType()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86AvoidStoreForwardingBlocks.cpp | 626 int64_t StoreDispImm, unsigned StoreSize) { in isBlockingStore() argument 628 (StoreDispImm <= LoadDispImm + (LoadSize - StoreSize))); in isBlockingStore()
|
H A D | X86ISelDAGToDAG.cpp | 480 unsigned StoreSize = N->getMemoryVT().getStoreSize(); in useNonTemporalLoad() local 482 if (N->getAlignment() < StoreSize) in useNonTemporalLoad() 485 switch (StoreSize) { in useNonTemporalLoad()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 1335 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 1713 virtual unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 2266 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 2269 return Impl.getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy); in getStoreVectorFactor()
|
H A D | TargetTransformInfoImpl.h | 729 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 560 CharUnits StoreSize = Store.second; in EmitNullBaseClassInitialization() local 561 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize); in EmitNullBaseClassInitialization() 574 CharUnits StoreSize = Store.second; in EmitNullBaseClassInitialization() local 575 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize); in EmitNullBaseClassInitialization()
|
H A D | CGBuiltin.cpp | 428 CharUnits StoreSize = CGF.getContext().getTypeSizeInChars(ElTy); in EmitISOVolatileStore() local 430 llvm::IntegerType::get(CGF.getLLVMContext(), StoreSize.getQuantity() * 8); in EmitISOVolatileStore() 433 CGF.Builder.CreateAlignedStore(Value, Ptr, StoreSize); in EmitISOVolatileStore() 3779 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy); in EmitBuiltinExpr() local 3781 StoreSize.getQuantity() * 8); in EmitBuiltinExpr() 3785 StoreSize); in EmitBuiltinExpr()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 2982 const uint64_t StoreSize = DL.getTypeStoreSize(CV->getType()); in emitGlobalConstantImpl() local 2984 if (StoreSize <= 8) { in emitGlobalConstantImpl() 2988 AP.OutStreamer->emitIntValue(CI->getZExtValue(), StoreSize); in emitGlobalConstantImpl() 2994 if (Size != StoreSize) in emitGlobalConstantImpl() 2995 AP.OutStreamer->emitZeros(Size - StoreSize); in emitGlobalConstantImpl()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 1166 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in storeOrigin() local 1170 paintOrigin(IRB, updateOrigin(Origin, IRB), OriginPtr, StoreSize, in storeOrigin() 1191 paintOrigin(IRBNew, updateOrigin(Origin, IRBNew), OriginPtr, StoreSize, in storeOrigin() 4271 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in visitCallBase() local 4272 MSV.paintOrigin(IRB, Origin, OriginBase, StoreSize, in visitCallBase() 5149 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); in visitCallBase() local 5150 MSV.paintOrigin(IRB, Origin, OriginBase, StoreSize, in visitCallBase()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 1013 unsigned StoreSize, in getStoreVectorFactor() argument 1016 return TTIImpl->getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy); in getStoreVectorFactor()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 18023 const TypeSize StoreSize = ST->getMemoryVT().getStoreSize(); in visitLIFETIME_END() local 18026 if (StoreSize.isScalable()) in visitLIFETIME_END() 18032 StoreSize.getFixedSize() * 8)) { in visitLIFETIME_END() 20159 uint64_t StoreSize = MemoryLocation::getSizeOrUnknown(VT.getStoreSize()); in narrowExtractedVectorLoad() local 20165 MMO = MF.getMachineMemOperand(Ld->getMemOperand(), MPI, StoreSize); in narrowExtractedVectorLoad() 20168 StoreSize); in narrowExtractedVectorLoad()
|