/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | MathExtrasTest.cpp | 85 TEST(MathExtras, MinAlign) { in TEST() argument 86 EXPECT_EQ(1u, MinAlign(2, 3)); in TEST() 87 EXPECT_EQ(2u, MinAlign(2, 4)); in TEST() 88 EXPECT_EQ(1u, MinAlign(17, 64)); in TEST() 89 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(alignTo(Size, MinAlign)); in HandleByVal()
|
D | MachineFunction.cpp | 631 unsigned Align = MinAlign(SPOffset, ForcedRealign ? 1 : StackAlignment); in CreateFixedObject() 643 unsigned Align = MinAlign(SPOffset, ForcedRealign ? 1 : StackAlignment); in CreateFixedSpillStackObject()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | CallingConvLower.cpp | 44 int MinSize, int MinAlign, in HandleByVal() argument 50 if (MinAlign > (int)Align) in HandleByVal() 51 Align = MinAlign; in HandleByVal()
|
D | MachineFunction.cpp | 446 unsigned Align = MinAlign(SPOffset, StackAlign); in CreateFixedObject()
|
/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 198 TEST(MathExtras, MinAlign) { in TEST() argument 199 EXPECT_EQ(1u, MinAlign(2, 3)); in TEST() 200 EXPECT_EQ(2u, MinAlign(2, 4)); in TEST() 201 EXPECT_EQ(1u, MinAlign(17, 64)); in TEST() 202 EXPECT_EQ(256u, MinAlign(256, 512)); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypesGeneric.cpp | 143 false, MinAlign(Alignment, IncrementSize)); in ExpandRes_BITCAST() 228 MinAlign(Alignment, IncrementSize)); in ExpandRes_NormalLoad() 419 MinAlign(Alignment, IncrementSize)); in ExpandOp_NormalStore()
|
D | LegalizeDAG.cpp | 435 MinAlign(ST->getAlignment(), Offset))); in ExpandUnalignedStore() 459 MinAlign(ST->getAlignment(), Offset))); in ExpandUnalignedStore() 485 Alignment = MinAlign(Alignment, IncrementSize); in ExpandUnalignedStore() 540 MinAlign(LD->getAlignment(), Offset)); in ExpandUnalignedLoad() 558 MinAlign(LD->getAlignment(), Offset)); in ExpandUnalignedLoad() 607 LD->isNonTemporal(), MinAlign(Alignment,IncrementSize)); in ExpandUnalignedLoad() 617 LD->isNonTemporal(), MinAlign(Alignment,IncrementSize)); in ExpandUnalignedLoad() 755 isVolatile, isNonTemporal, MinAlign(Alignment, 4U)); in OptimizeFloatStore() 1264 MinAlign(Alignment, IncrementSize)); in LegalizeOp() 1294 MinAlign(Alignment, IncrementSize)); in LegalizeOp() [all …]
|
D | LegalizeVectorTypes.cpp | 689 false, false, MinAlign(Alignment, IncrementSize)); in SplitVecRes_INSERT_VECTOR_ELT() 2335 isNonTemporal, MinAlign(Align, Increment)); in GenWidenVectorLoads() 2480 MinAlign(Align, Offset))); in GenWidenVectorStores() 2500 MinAlign(Align, Offset))); in GenWidenVectorStores() 2554 MinAlign(Align, Offset))); in GenWidenVectorTruncStores()
|
D | LegalizeIntegerTypes.cpp | 1824 MinAlign(Alignment, IncrementSize)); in ExpandIntRes_LOAD() 1852 MinAlign(Alignment, IncrementSize)); in ExpandIntRes_LOAD() 2692 MinAlign(Alignment, IncrementSize)); in ExpandIntOp_STORE() 2730 MinAlign(Alignment, IncrementSize)); in ExpandIntOp_STORE()
|
/external/clang/include/clang/AST/ |
D | CharUnits.h | 192 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 | TargetLowering.cpp | 1555 unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); in SimplifySetCC() 3174 MinAlign(LD->getAlignment(), Idx * Stride), LD->getAAInfo()); in scalarizeVectorLoad() 3234 isVolatile, isNonTemporal, MinAlign(Alignment, Idx * Stride), in scalarizeVectorStore() 3300 MinAlign(LD->getAlignment(), Offset), in expandUnalignedLoad() 3320 MinAlign(LD->getAlignment(), Offset), in expandUnalignedLoad() 3372 MinAlign(Alignment, IncrementSize), LD->getAAInfo()); in expandUnalignedLoad() 3384 MinAlign(Alignment, IncrementSize), LD->getAAInfo()); in expandUnalignedLoad() 3466 MinAlign(ST->getAlignment(), Offset))); in expandUnalignedStore() 3490 MinAlign(ST->getAlignment(), Offset), in expandUnalignedStore() 3522 Alignment = MinAlign(Alignment, IncrementSize); in expandUnalignedStore()
|
D | LegalizeVectorOps.cpp | 542 MinAlign(LD->getAlignment(), Offset), in ExpandLoad() 554 MinAlign(LD->getAlignment(), Offset), in ExpandLoad()
|
D | LegalizeVectorTypes.cpp | 898 false, false, false, MinAlign(Alignment, IncrementSize)); in SplitVecRes_INSERT_SUBVECTOR() 1030 false, false, false, MinAlign(Alignment, IncrementSize)); in SplitVecRes_INSERT_VECTOR_ELT() 3562 isNonTemporal, isInvariant, MinAlign(Align, Increment), in GenWidenVectorLoads() 3578 isNonTemporal, isInvariant, MinAlign(Align, Increment), in GenWidenVectorLoads() 3735 MinAlign(Align, Offset), AAInfo)); in GenWidenVectorStores() 3758 MinAlign(Align, Offset), AAInfo)); in GenWidenVectorStores() 3818 MinAlign(Align, Offset), AAInfo)); in GenWidenVectorTruncStores()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 564 auto EltAlign = MinAlign(Align, SL->getElementOffset(i)); in unpackLoadToAggregate() 601 auto *L = IC.Builder->CreateAlignedLoad(Ptr, MinAlign(Align, Offset), in unpackLoadToAggregate() 1068 auto EltAlign = MinAlign(Align, SL->getElementOffset(i)); in unpackStoreToAggregate() 1108 auto EltAlign = MinAlign(Align, Offset); in unpackStoreToAggregate()
|
D | InstCombineCalls.cpp | 84 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer() local 87 if (CopyAlign < MinAlign) { in SimplifyMemTransfer() 88 MI->setAlignment(ConstantInt::get(MI->getAlignmentType(), MinAlign, false)); in SimplifyMemTransfer()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | CallingConvLower.h | 305 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MathExtras.h | 403 static inline uint64_t MinAlign(uint64_t A, uint64_t B) { in MinAlign() function
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 449 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 36 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer() local 39 if (CopyAlign < MinAlign) { in SimplifyMemTransfer() 41 MinAlign, false)); in SimplifyMemTransfer()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 575 inline uint64_t MinAlign(uint64_t A, uint64_t B) {
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1605 return MinAlign(Alignment, Offset); in getAdjustedAlignment() 2319 MinAlign(NewAIAlign, NewBeginOffset - NewAllocaBeginOffset); in getSliceAlign() 2730 ConstantInt::get(CstTy, MinAlign(II.getAlignment(), SliceAlign))); in visitMemTransferInst() 2783 unsigned OtherAlign = MinAlign(II.getAlignment() ? II.getAlignment() : 1, in visitMemTransferInst() 2798 MinAlign(SliceAlign, OtherAlign), II.isVolatile()); in visitMemTransferInst() 3857 Alignment = MinAlign(Alignment, P.beginOffset()); in rewritePartition()
|
D | Scalarizer.cpp | 108 return MinAlign(VecAlign, I * ElemSize); in getElemAlign()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 458 Assert(!BaseAlign || Align <= MinAlign(BaseAlign, Offset), in visitMemoryReference()
|