Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp62 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopKnownSize()
63 Align PartSrcAlign(commonAlignment(SrcAlign, LoopOpSize)); in createMemCpyLoopKnownSize()
99 Align PartSrcAlign(commonAlignment(SrcAlign, BytesCopied)); in createMemCpyLoopKnownSize()
100 Align PartDstAlign(commonAlignment(DstAlign, BytesCopied)); in createMemCpyLoopKnownSize()
179 Align PartSrcAlign(commonAlignment(SrcAlign, LoopOpSize)); in createMemCpyLoopUnknownSize()
180 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopUnknownSize()
327 Align PartSrcAlign(commonAlignment(SrcAlign, PartSize)); in createMemMoveLoop()
328 Align PartDstAlign(commonAlignment(DstAlign, PartSize)); in createMemMoveLoop()
403 Align PartAlign(commonAlignment(DstAlign, PartSize)); in createMemSetLoop()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h211 inline Align commonAlignment(Align A, Align B) { return std::min(A, B); } in commonAlignment() function
215 inline Align commonAlignment(Align A, uint64_t Offset) { in commonAlignment() function
221 inline MaybeAlign commonAlignment(MaybeAlign A, MaybeAlign B) { in commonAlignment() function
222 return A && B ? commonAlignment(*A, *B) : A ? A : B; in commonAlignment()
227 inline MaybeAlign commonAlignment(MaybeAlign A, uint64_t Offset) { in commonAlignment() function
/freebsd-13.1/contrib/llvm-project/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.cpp294 LhsAlign = commonAlignment(LhsAlign, OffsetBytes); in getLoadPair()
295 RhsAlign = commonAlignment(RhsAlign, OffsetBytes); in getLoadPair()
H A DMachineOperand.cpp1083 return commonAlignment(getBaseAlign(), getOffset()); in getAlign()
H A DMachineFunction.cpp474 ? commonAlignment(MMO->getBaseAlign(), Offset) in getMachineMemOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp315 Align A = commonAlignment(StructAlign, Off); in processUsedLDS()
369 Align GA = commonAlignment(A, Off.getLimitedValue()); in refineUsesAlignment()
H A DAMDGPULowerKernelArguments.cpp145 Align AdjustedAlign = commonAlignment( in runOnFunction()
H A DAMDGPUCallLowering.cpp220 commonAlignment(ST.getStackAlignment(), LocMemOffset)); in assignValueToAddress()
432 ArgTy, commonAlignment(Alignment, FieldOffsets[Idx])); in lowerParameter()
536 Align Alignment = commonAlignment(KernArgBaseAlign, ArgOffset); in lowerFormalArgumentsKernel()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp681 commonAlignment(Align, SL->getElementOffset(i)), Name + ".unpack"); in unpackLoadToAggregate()
730 commonAlignment(Align, Offset), in unpackLoadToAggregate()
1209 auto EltAlign = commonAlignment(Align, SL->getElementOffset(i)); in unpackStoreToAggregate()
1257 auto EltAlign = commonAlignment(Align, Offset); in unpackStoreToAggregate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp187 Alignment = commonAlignment(Alignment, Offset.getZExtValue()); in vectorizeLoadInsert()
799 return commonAlignment(VectorAlignment, in computeAlignmentAfterScalarization()
801 return commonAlignment(VectorAlignment, DL.getTypeStoreSize(ScalarType)); in computeAlignmentAfterScalarization()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp174 commonAlignment(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedLoad()
313 commonAlignment(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedStore()
H A DSROA.cpp1695 return commonAlignment(getLoadStoreAlignment(I), Offset); in getAdjustedAlignment()
2452 return commonAlignment(NewAI.getAlign(), in getSliceAlign()
2997 commonAlignment(OtherAlign, OtherOffset.zextOrTrunc(64).getZExtValue()); in visitMemTransferInst()
3350 Ty, Agg, commonAlignment(BaseAlign, Offset), Name); in emitSplitOps()
4336 const Align Alignment = commonAlignment(AI.getAlign(), P.beginOffset()); in rewritePartition()
H A DScalarizer.cpp166 return commonAlignment(VecAlign, I * ElemSize); in getElemAlign()
H A DLowerMatrixIntrinsics.cpp969 return commonAlignment(InitialAlign, Idx * StrideInBytes); in getAlignForIndex()
971 return commonAlignment(InitialAlign, ElementSizeInBits / 8); in getAlignForIndex()
H A DMemCpyOptimizer.cpp797 commonAlignment(SI->getAlign(), LI->getAlign()), C); in processStore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp275 commonAlignment(StructAlign, SL->getElementOffset(i)); in doPromotion()
405 Align Alignment = commonAlignment(StructAlign, SL->getElementOffset(i)); in doPromotion()
H A DGlobalOpt.cpp559 Align NewAlign = commonAlignment(StartAlignment, FieldOffset); in SRAGlobal()
575 Align NewAlign = commonAlignment(StartAlignment, EltSize * ElementIdx); in SRAGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp785 commonAlignment(BaseAlign, Offsets[I])); in insertSRetLoads()
816 commonAlignment(BaseAlign, Offsets[I])); in insertSRetStores()
H A DUtils.cpp613 return commonAlignment(MFI.getObjectAlign(FSPV->getFrameIndex()), in inferAlignFromPtrInfo()
H A DIRTranslator.cpp1304 commonAlignment(BaseAlign, Offsets[i] / 8), AAMetadata, Ranges, in translateLoad()
1346 commonAlignment(BaseAlign, Offsets[i] / 8), AAMetadata, nullptr, in translateStore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp248 commonAlignment(STI.getStackAlignment(), LocMemOffset)); in assignValueToAddress()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp217 const Align SubsequentAlignment = commonAlignment( in decompose()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp473 Assert(*Align <= commonAlignment(*BaseAlign, Offset), in visitMemoryReference()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp1624 commonAlignment(SmallestAlign, in SplitVecRes_INSERT_VECTOR_ELT()
2496 commonAlignment(SmallestAlign, EltVT.getFixedSizeInBits() / 8)); in SplitVecOp_EXTRACT_VECTOR_ELT()
2632 Alignment = commonAlignment( in SplitVecOp_MSTORE()
5321 : commonAlignment(LD->getAlign(), ScaledOffset); in GenWidenVectorLoads()
5486 : commonAlignment(ST->getAlign(), ScaledOffset); in GenWidenVectorStores()

12