/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 169 TEST(MathExtras, MinAlign) { in TEST() argument 170 EXPECT_EQ(1u, MinAlign(2, 3)); in TEST() 171 EXPECT_EQ(2u, MinAlign(2, 4)); in TEST() 172 EXPECT_EQ(1u, MinAlign(17, 64)); in TEST() 173 EXPECT_EQ(256u, MinAlign(256, 512)); in TEST()
|
/external/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 46 int MinSize, int MinAlign, in HandleByVal() argument 52 if (MinAlign > (int)Align) in HandleByVal() 53 Align = MinAlign; in HandleByVal() 56 Size = unsigned(RoundUpToAlignment(Size, MinAlign)); in HandleByVal()
|
D | MachineFunction.cpp | 586 unsigned Align = MinAlign(SPOffset, StackAlignment); in CreateFixedObject() 599 unsigned Align = MinAlign(SPOffset, StackAlignment); in CreateFixedSpillStackObject()
|
D | MachineInstr.cpp | 535 return MinAlign(getBaseAlignment(), getOffset()); in getAlignment()
|
/external/clang/include/clang/AST/ |
D | CharUnits.h | 185 return CharUnits(llvm::MinAlign(Quantity, offset.Quantity)); in alignmentAtOffset()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypesGeneric.cpp | 189 false, false, MinAlign(Alignment, IncrementSize)); in ExpandRes_BITCAST() 284 MinAlign(Alignment, IncrementSize), AAInfo); in ExpandRes_NormalLoad() 502 MinAlign(Alignment, IncrementSize), AAInfo); in ExpandOp_NormalStore()
|
D | LegalizeVectorOps.cpp | 537 MinAlign(LD->getAlignment(), Offset), in ExpandLoad() 549 MinAlign(LD->getAlignment(), Offset), in ExpandLoad() 625 MinAlign(LD->getAlignment(), Idx * Stride), LD->getAAInfo()); in ExpandLoad() 685 isVolatile, isNonTemporal, MinAlign(Alignment, Idx*Stride), in ExpandStore()
|
D | LegalizeDAG.cpp | 372 MinAlign(ST->getAlignment(), Offset))); in ExpandUnalignedStore() 396 MinAlign(ST->getAlignment(), Offset), in ExpandUnalignedStore() 428 Alignment = MinAlign(Alignment, IncrementSize); in ExpandUnalignedStore() 491 MinAlign(LD->getAlignment(), Offset), in ExpandUnalignedLoad() 511 MinAlign(LD->getAlignment(), Offset), in ExpandUnalignedLoad() 564 MinAlign(Alignment, IncrementSize), LD->getAAInfo()); in ExpandUnalignedLoad() 576 MinAlign(Alignment, IncrementSize), LD->getAAInfo()); in ExpandUnalignedLoad() 718 isVolatile, isNonTemporal, MinAlign(Alignment, 4U), in OptimizeFloatStore() 834 MinAlign(Alignment, IncrementSize), AAInfo); in LegalizeStoreOps() 855 MinAlign(Alignment, IncrementSize), AAInfo); in LegalizeStoreOps() [all …]
|
D | LegalizeVectorTypes.cpp | 874 false, false, false, MinAlign(Alignment, IncrementSize)); in SplitVecRes_INSERT_SUBVECTOR() 973 false, false, false, MinAlign(Alignment, IncrementSize)); in SplitVecRes_INSERT_VECTOR_ELT() 3444 isNonTemporal, isInvariant, MinAlign(Align, Increment), in GenWidenVectorLoads() 3460 isNonTemporal, isInvariant, MinAlign(Align, Increment), in GenWidenVectorLoads() 3617 MinAlign(Align, Offset), AAInfo)); in GenWidenVectorStores() 3640 MinAlign(Align, Offset), AAInfo)); in GenWidenVectorStores() 3701 MinAlign(Align, Offset), AAInfo)); in GenWidenVectorTruncStores()
|
D | LegalizeIntegerTypes.cpp | 2056 MinAlign(Alignment, IncrementSize), AAInfo); in ExpandIntRes_LOAD() 2085 MinAlign(Alignment, IncrementSize), AAInfo); in ExpandIntRes_LOAD() 2989 MinAlign(Alignment, IncrementSize), AAInfo); in ExpandIntOp_STORE() 3028 MinAlign(Alignment, IncrementSize), AAInfo); in ExpandIntOp_STORE()
|
D | DAGCombiner.cpp | 3233 Alignment = MinAlign(Alignment, PtrOff); in visitAND() 5929 const unsigned Align = MinAlign(LN0->getAlignment(), Offset); in CombineExtLoad() 6845 unsigned NewAlign = MinAlign(LN0->getAlignment(), PtrOff); in ReduceLoadWidth() 10206 Alignment = MinAlign(Alignment, Alignment + Offset); in getAlignment() 10720 NewAlign = MinAlign(NewAlign, StOffset); in ShrinkLoadReplaceStoreWithStore() 10826 unsigned NewAlign = MinAlign(LD->getAlignment(), PtrOff); in ReduceLoadOpStoreWidth() 11827 Alignment = MinAlign(Alignment, 4U); in replaceStoreOfFPConstant()
|
D | SelectionDAG.cpp | 4367 false, MinAlign(SrcAlign, SrcOff)); in getMemcpyLoadsAndStores() 7076 return MinAlign(Align, GVOffset); in InferPtrAlignment() 7094 unsigned FIInfoAlign = MinAlign(MFI.getObjectAlignment(FrameIdx), in InferPtrAlignment()
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 443 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 552 inline uint64_t MinAlign(uint64_t A, uint64_t B) {
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1623 return MinAlign(Alignment, Offset); in getAdjustedAlignment() 2335 MinAlign(NewAIAlign, NewBeginOffset - NewAllocaBeginOffset); in getSliceAlign() 2746 ConstantInt::get(CstTy, MinAlign(II.getAlignment(), SliceAlign))); in visitMemTransferInst() 2799 unsigned OtherAlign = MinAlign(II.getAlignment() ? II.getAlignment() : 1, in visitMemTransferInst() 2814 MinAlign(SliceAlign, OtherAlign), II.isVolatile()); in visitMemTransferInst() 3864 Alignment = MinAlign(Alignment, P.beginOffset()); in rewritePartition()
|
D | Scalarizer.cpp | 109 return MinAlign(VecAlign, I * ElemSize); in getElemAlign()
|
D | MemCpyOptimizer.cpp | 880 Align = MinAlign(SrcSizeC->getZExtValue(), DestAlign); in processMemSetMemCpyDependence()
|
D | ScalarReplAggregates.cpp | 2261 OtherEltAlign = (unsigned)MinAlign(OtherEltAlign, EltOffset); in RewriteMemIntrinUserOfAlloca()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 66 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer() local 69 if (CopyAlign < MinAlign) { in SimplifyMemTransfer() 70 MI->setAlignment(ConstantInt::get(MI->getAlignmentType(), MinAlign, false)); in SimplifyMemTransfer()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 458 Assert(!BaseAlign || Align <= MinAlign(BaseAlign, Offset), in visitMemoryReference()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 510 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, FieldOffset); in SRAGlobal() 543 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i); in SRAGlobal()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 866 CharUnits MinAlign) { in CreateTempAllocaForCoercion() argument 869 CharUnits Align = std::max(MinAlign, CharUnits::fromQuantity(PrefAlign)); in CreateTempAllocaForCoercion()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 1230 unsigned HiAlign = MinAlign(BaseAlign, Size); in SplitVectorLoad() 1380 unsigned HiAlign = MinAlign(BaseAlign, Size); in SplitVectorStore()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 456 MinAlign(GV->getAlignment(), 4) == 4) { in LowerLOAD()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 7674 LN->isInvariant(), MinAlign(Alignment, Idx*Stride), in LowerVectorLoad() 7681 LN->isInvariant(), MinAlign(Alignment, Idx*Stride), in LowerVectorLoad() 7773 MinAlign(Alignment, Idx*Stride), SN->getAAInfo()); in LowerVectorStore() 7779 MinAlign(Alignment, Idx*Stride), SN->getAAInfo()); in LowerVectorStore()
|