Searched refs:StoreSize (Results 1 - 24 of 24) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp29 uint64_t StoreSize = DL.getTypeSizeInBits(StoredTy).getFixedSize();
32 if (llvm::alignTo(StoreSize, 8) != StoreSize)
36 if (StoreSize < DL.getTypeSizeInBits(LoadTy).getFixedSize())
191 uint64_t StoreSize = WriteSizeInBits / 8; // Convert to bytes.
196 isAAFailure = StoreOffset + int64_t(StoreSize) <= LoadOffset;
208 StoreOffset + StoreSize < LoadOffset + LoadSize)
236 uint64_t StoreSize = local
238 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, StorePtr, StoreSize,
438 uint64_t StoreSize local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp181 bool processLoopStridedStore(Value *DestPtr, unsigned StoreSize,
491 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); local
492 if (StoreSize != Stride && StoreSize != -Stride)
718 unsigned StoreSize = 0; local
726 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType());
738 if (StoreSize != Stride && StoreSize != -Stride)
741 bool NegStride = StoreSize == -Stride;
743 if (processLoopStridedStore(StorePtr, StoreSize,
808 mayLoopAccessLocation(Value *Ptr, ModRefInfo Access, Loop *L, const SCEV *BECount, unsigned StoreSize, AliasAnalysis &AA, SmallPtrSetImpl<Instruction *> &IgnoredStores) argument
843 getStartForNegStride(const SCEV *Start, const SCEV *BECount, Type *IntPtr, unsigned StoreSize, ScalarEvolution *SE) argument
857 getNumBytes(const SCEV *BECount, Type *IntPtr, unsigned StoreSize, Loop *CurLoop, const DataLayout *DL, ScalarEvolution *SE) argument
890 processLoopStridedStore( Value *DestPtr, unsigned StoreSize, MaybeAlign StoreAlignment, Value *StoredVal, Instruction *TheStore, SmallPtrSetImpl<Instruction *> &Stores, const SCEVAddRecExpr *Ev, const SCEV *BECount, bool NegStride, bool IsLoopMemset) argument
1046 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); local
[all...]
H A DMemCpyOptimizer.cpp173 int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType()); local
175 addRange(OffsetFromFirst, StoreSize, SI->getPointerOperand(),
H A DSROA.cpp4080 uint64_t StoreSize = Ty->getBitWidth() / 8;
4081 assert(StoreSize > 0 && "Cannot have a zero-sized integer store!");
4084 assert(StoreSize == Offsets.S->endOffset() - Offsets.S->beginOffset() &&
4087 assert(BaseOffset + StoreSize > BaseOffset &&
4159 PartSize = (Idx < Size ? Offsets.Splits[Idx] : StoreSize) - PartOffset;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCHazardRecognizers.h73 uint64_t StoreSize[4]; member in class:llvm::PPCHazardRecognizer970
H A DPPCHazardRecognizers.cpp296 /// as indicated by StorePtr1/StorePtr2/StoreSize, return true.
311 if (int64_t(StoreOffset[i]+StoreSize[i]) > LoadOffset) return true;
404 StoreSize[NumStores] = MO->getSize();
H A DPPCISelLowering.cpp7132 const unsigned StoreSize = LocVT.getStoreSize(); local
7136 State.AllocateStack(IsPPC64 ? 8 : StoreSize, Align(4));
7142 for (unsigned I = 0; I < StoreSize; I += PtrAlign.value()) {
9225 unsigned StoreSize = BVN->getOperand(i).getValueType().getStoreSize(); local
9226 if (StoreSize > 4) {
9232 if (StoreSize < 4)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackSlotColoring.cpp449 unsigned StoreSize = 0; local
458 if (!(StoreReg = TII->isStoreToStackSlot(*NextMI, SecondSS, StoreSize)))
461 LoadSize != StoreSize)
H A DMachineFunction.cpp1151 uint64_t StoreSize = DL.getTypeStoreSize(A->getType());
1152 if (StoreSize != DL.getTypeStoreSize(B->getType()) || StoreSize > 128)
1155 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp118 int64_t StoreSize = DL->getTypeStoreSize(SI->getOperand(0)->getType()); local
119 if (!addRange(Offset, Offset + StoreSize, SI))
122 applyStore(IRB, Offset, Offset + StoreSize, SI->getOperand(0));
127 uint64_t StoreSize = cast<ConstantInt>(MSI->getLength())->getZExtValue(); local
128 if (!addRange(Offset, Offset + StoreSize, MSI))
131 applyMemSet(IRB, Offset, Offset + StoreSize,
H A DAArch64LoadStoreOptimizer.cpp582 int StoreSize = TII->getMemScale(StoreInst);
585 : getLdStOffsetOp(StoreInst).getImm() * StoreSize;
590 (UnscaledLdOffset + LoadSize <= (UnscaledStOffset + StoreSize));
1015 int StoreSize = TII->getMemScale(*StoreI);
1026 if (LoadSize == StoreSize && (LoadSize == 4 || LoadSize == 8)) {
1059 assert(LoadSize <= StoreSize && "Invalid load size");
1065 : getLdStOffsetOp(*StoreI).getImm() * StoreSize;
1073 (UnscaledLdOffset + LoadSize) <= UnscaledStOffset + StoreSize) &&
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1940 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); local
1941 if (StoreSize != unsigned(std::abs(Stride)))
1970 const SCEV *BECount, unsigned StoreSize,
1979 // size to be exactly the size of the memset, which is (BECount+1)*StoreSize
1982 StoreSize);
2018 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); local
2019 if (Stride != StoreSize)
2055 if (StoreSize != 4 || DL->getTypeSizeInBits(BECountTy) > 32) {
2074 StoreSize, *AA, Ignore1)) {
2078 BECount, StoreSize, *A
1969 mayLoopAccessLocation(Value *Ptr, ModRefInfo Access, Loop *L, const SCEV *BECount, unsigned StoreSize, AliasAnalysis &AA, SmallPtrSetImpl<Instruction *> &Ignored) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h168 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize,
H A DAMDGPUTargetTransformInfo.cpp281 unsigned GCNTTIImpl::getStoreVectorFactor(unsigned VF, unsigned StoreSize, argument
284 unsigned VecRegBitWidth = VF * StoreSize;
286 return 128 / StoreSize;
H A DAMDGPUISelLowering.cpp47 unsigned StoreSize = VT.getStoreSizeInBits(); local
48 if (StoreSize <= 32)
49 return EVT::getIntegerVT(Ctx, StoreSize);
51 assert(StoreSize % 32 == 0 && "Store size not a multiple of 32");
52 return EVT::getVectorVT(Ctx, MVT::i32, StoreSize / 32);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1207 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize,
1497 virtual unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize,
1973 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize,
1976 return Impl.getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy);
H A DTargetTransformInfoImpl.h629 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp627 int64_t StoreDispImm, unsigned StoreSize) {
629 (StoreDispImm <= LoadDispImm + (LoadSize - StoreSize)));
626 isBlockingStore(int64_t LoadDispImm, unsigned LoadSize, int64_t StoreDispImm, unsigned StoreSize) argument
H A DX86ISelDAGToDAG.cpp475 unsigned StoreSize = N->getMemoryVT().getStoreSize(); local
477 if (N->getAlignment() < StoreSize)
480 switch (StoreSize) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp558 CharUnits StoreSize = Store.second; local
559 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize);
572 CharUnits StoreSize = Store.second; local
573 llvm::Value *StoreSizeVal = CGF.CGM.getSize(StoreSize);
H A DCGBuiltin.cpp357 CharUnits StoreSize = CGF.getContext().getTypeSizeInChars(ElTy); local
359 llvm::IntegerType::get(CGF.getLLVMContext(), StoreSize.getQuantity() * 8);
362 CGF.Builder.CreateAlignedStore(Value, Ptr, StoreSize);
3087 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy);
3089 StoreSize.getQuantity() * 8);
3093 StoreSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1145 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType());
1147 paintOrigin(IRB, updateOrigin(Origin, IRB), OriginPtr, StoreSize,
1153 paintOrigin(IRB, updateOrigin(Origin, IRB), OriginPtr, StoreSize,
1174 paintOrigin(IRBNew, updateOrigin(Origin, IRBNew), OriginPtr, StoreSize,
4059 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType());
4060 MSV.paintOrigin(IRB, Origin, OriginBase, StoreSize,
4938 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType());
4939 MSV.paintOrigin(IRB, Origin, OriginBase, StoreSize,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp937 unsigned StoreSize,
940 return TTIImpl->getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy);
936 getStoreVectorFactor(unsigned VF, unsigned StoreSize, unsigned ChainSizeInBytes, VectorType *VecTy) const argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2780 const uint64_t StoreSize = DL.getTypeStoreSize(CV->getType()); local
2782 if (StoreSize <= 8) {
2786 AP.OutStreamer->emitIntValue(CI->getZExtValue(), StoreSize);
2792 if (Size != StoreSize)
2793 AP.OutStreamer->emitZeros(Size - StoreSize);

Completed in 327 milliseconds