Home
last modified time | relevance | path

Searched refs:commonAlignment (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp76 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopKnownSize()
77 Align PartSrcAlign(commonAlignment(SrcAlign, LoopOpSize)); in createMemCpyLoopKnownSize()
126 Align PartSrcAlign(commonAlignment(SrcAlign, BytesCopied)); in createMemCpyLoopKnownSize()
127 Align PartDstAlign(commonAlignment(DstAlign, BytesCopied)); in createMemCpyLoopKnownSize()
233 Align PartSrcAlign(commonAlignment(SrcAlign, LoopOpSize)); in createMemCpyLoopUnknownSize()
234 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopUnknownSize()
421 Align PartSrcAlign(commonAlignment(SrcAlign, PartSize)); in createMemMoveLoop()
422 Align PartDstAlign(commonAlignment(DstAlign, PartSize)); in createMemMoveLoop()
497 Align PartAlign(commonAlignment(DstAlign, PartSize)); in createMemSetLoop()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineFrameInfo.cpp93 commonAlignment(ForcedRealign ? Align(1) : StackAlignment, SPOffset); in CreateFixedObject()
106 commonAlignment(ForcedRealign ? Align(1) : StackAlignment, SPOffset); in CreateFixedSpillStackObject()
H A DExpandMemCmp.cpp296 LhsAlign = commonAlignment(LhsAlign, OffsetBytes); in getLoadPair()
297 RhsAlign = commonAlignment(RhsAlign, OffsetBytes); in getLoadPair()
H A DMachineOperand.cpp1088 return commonAlignment(getBaseAlign(), getOffset()); in getAlign()
H A DMachineFunction.cpp498 ? commonAlignment(MMO->getBaseAlign(), Offset) in getMachineMemOperand()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp427 Align A = commonAlignment(SGV->getAlign().valueOrOne(), Offset); in replaceLDSVariablesWithStruct()
487 GA = commonAlignment(A, Off.getLimitedValue()); in refineUsesAlignmentAndAA()
H A DAMDGPULowerKernelArguments.cpp144 Align AdjustedAlign = commonAlignment( in runOnFunction()
H A DAMDGPUCallLowering.cpp233 commonAlignment(ST.getStackAlignment(), LocMemOffset)); in assignValueToAddress()
429 ArgTy, commonAlignment(Alignment, FieldOffsets[Idx])); in lowerParameter()
532 Align Alignment = commonAlignment(KernArgBaseAlign, ArgOffset); in lowerFormalArgumentsKernel()
H A DAMDGPULegalizerInfo.cpp1878 LLT::scalar(32), commonAlignment(Align(64), Offset)); in getSegmentAperture()
1901 LLT::scalar(32), commonAlignment(Align(64), StructOffset)); in getSegmentAperture()
5323 LLT::scalar(64), commonAlignment(Align(64), Offset)); in legalizeTrapHsaQueuePtr()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp667 commonAlignment(Align, SL->getElementOffset(i)), Name + ".unpack"); in unpackLoadToAggregate()
712 commonAlignment(Align, Offset), in unpackLoadToAggregate()
1189 auto EltAlign = commonAlignment(Align, SL->getElementOffset(i)); in unpackStoreToAggregate()
1235 auto EltAlign = commonAlignment(Align, Offset); in unpackStoreToAggregate()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DAlignment.h213 inline Align commonAlignment(Align A, uint64_t Offset) { in commonAlignment() function
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp171 commonAlignment(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedLoad()
310 commonAlignment(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedStore()
H A DSROA.cpp1663 return commonAlignment(getLoadStoreAlignment(I), Offset); in getAdjustedAlignment()
2426 return commonAlignment(NewAI.getAlign(), in getSliceAlign()
2967 commonAlignment(OtherAlign, OtherOffset.zextOrTrunc(64).getZExtValue()); in visitMemTransferInst()
3325 Ty, Agg, commonAlignment(BaseAlign, Offset), Name); in emitSplitOps()
4299 const Align Alignment = commonAlignment(AI.getAlign(), P.beginOffset()); in rewritePartition()
H A DScalarizer.cpp173 return commonAlignment(VecAlign, I * ElemSize); in getElemAlign()
H A DLowerMatrixIntrinsics.cpp966 return commonAlignment(InitialAlign, Idx * StrideInBytes); in getAlignForIndex()
968 return commonAlignment(InitialAlign, ElementSizeInBits / 8); in getAlignForIndex()
H A DMemCpyOptimizer.cpp1249 Alignment = commonAlignment(DestAlign, SrcSizeC->getZExtValue()); in processMemSetMemCpyDependence()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp207 Alignment = commonAlignment(Alignment, Offset.getZExtValue()); in vectorizeLoadInsert()
917 return commonAlignment(VectorAlignment, in computeAlignmentAfterScalarization()
919 return commonAlignment(VectorAlignment, DL.getTypeStoreSize(ScalarType)); in computeAlignmentAfterScalarization()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp833 commonAlignment(BaseAlign, Offsets[I])); in insertSRetLoads()
864 commonAlignment(BaseAlign, Offsets[I])); in insertSRetStores()
H A DUtils.cpp700 return commonAlignment(MFI.getObjectAlign(FSPV->getFrameIndex()), in inferAlignFromPtrInfo()
H A DIRTranslator.cpp1327 commonAlignment(BaseAlign, Offsets[i] / 8), AAInfo, Ranges, in translateLoad()
1367 commonAlignment(BaseAlign, Offsets[i] / 8), SI.getAAMetadata(), nullptr, in translateStore()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp252 commonAlignment(STI.getStackAlignment(), LocMemOffset)); in assignValueToAddress()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp217 const Align SubsequentAlignment = commonAlignment( in decompose()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLint.cpp478 Check(*Align <= commonAlignment(*BaseAlign, Offset), in visitMemoryReference()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp1737 commonAlignment(SmallestAlign, in SplitVecRes_INSERT_VECTOR_ELT()
3088 commonAlignment(SmallestAlign, EltVT.getFixedSizeInBits() / 8)); in SplitVecOp_EXTRACT_VECTOR_ELT()
3169 Alignment = commonAlignment(Alignment, in SplitVecOp_VP_STORE()
3245 Alignment = commonAlignment( in SplitVecOp_MSTORE()
6424 : commonAlignment(LD->getAlign(), ScaledOffset); in GenWidenVectorLoads()
6610 : commonAlignment(ST->getAlign(), ScaledOffset); in GenWidenVectorStores()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp527 Align NewAlign = commonAlignment(StartAlignment, Offset); in SRAGlobal()

12