Home
last modified time | relevance | path

Searched refs:MinAlign (Results 1 – 25 of 49) sorted by relevance

12

/external/swiftshader/third_party/LLVM/unittests/Support/
DMathExtrasTest.cpp85 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/
DCallingConvLower.cpp46 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()
DMachineFunction.cpp631 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/
DCallingConvLower.cpp44 int MinSize, int MinAlign, in HandleByVal() argument
50 if (MinAlign > (int)Align) in HandleByVal()
51 Align = MinAlign; in HandleByVal()
DMachineFunction.cpp446 unsigned Align = MinAlign(SPOffset, StackAlign); in CreateFixedObject()
/external/llvm/unittests/Support/
DMathExtrasTest.cpp198 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/
DLegalizeTypesGeneric.cpp143 false, MinAlign(Alignment, IncrementSize)); in ExpandRes_BITCAST()
228 MinAlign(Alignment, IncrementSize)); in ExpandRes_NormalLoad()
419 MinAlign(Alignment, IncrementSize)); in ExpandOp_NormalStore()
DLegalizeDAG.cpp435 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 …]
DLegalizeVectorTypes.cpp689 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()
DLegalizeIntegerTypes.cpp1824 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/
DCharUnits.h192 return CharUnits(llvm::MinAlign(Quantity, offset.Quantity)); in alignmentAtOffset()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp189 false, false, MinAlign(Alignment, IncrementSize)); in ExpandRes_BITCAST()
284 MinAlign(Alignment, IncrementSize), AAInfo); in ExpandRes_NormalLoad()
502 MinAlign(Alignment, IncrementSize), AAInfo); in ExpandOp_NormalStore()
DTargetLowering.cpp1555 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()
DLegalizeVectorOps.cpp542 MinAlign(LD->getAlignment(), Offset), in ExpandLoad()
554 MinAlign(LD->getAlignment(), Offset), in ExpandLoad()
DLegalizeVectorTypes.cpp898 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/
DInstCombineLoadStoreAlloca.cpp564 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()
DInstCombineCalls.cpp84 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/
DCallingConvLower.h305 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h403 static inline uint64_t MinAlign(uint64_t A, uint64_t B) { in MinAlign() function
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h449 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp36 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/
DMathExtras.h575 inline uint64_t MinAlign(uint64_t A, uint64_t B) {
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1605 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()
DScalarizer.cpp108 return MinAlign(VecAlign, I * ElemSize); in getElemAlign()
/external/llvm/lib/Analysis/
DLint.cpp458 Assert(!BaseAlign || Align <= MinAlign(BaseAlign, Offset), in visitMemoryReference()

12