Home
last modified time | relevance | path

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

/external/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.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()
DMachineInstr.cpp405 return MinAlign(getBaseAlignment(), getOffset()); in getAlignment()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp138 false, MinAlign(Alignment, IncrementSize)); in ExpandRes_BITCAST()
223 MinAlign(Alignment, IncrementSize)); in ExpandRes_NormalLoad()
414 MinAlign(Alignment, IncrementSize)); in ExpandOp_NormalStore()
DLegalizeDAG.cpp440 MinAlign(ST->getAlignment(), Offset))); in ExpandUnalignedStore()
464 MinAlign(ST->getAlignment(), Offset))); in ExpandUnalignedStore()
490 Alignment = MinAlign(Alignment, IncrementSize); in ExpandUnalignedStore()
545 MinAlign(LD->getAlignment(), Offset)); in ExpandUnalignedLoad()
563 MinAlign(LD->getAlignment(), Offset)); in ExpandUnalignedLoad()
612 LD->isNonTemporal(), MinAlign(Alignment,IncrementSize)); in ExpandUnalignedLoad()
622 LD->isNonTemporal(), MinAlign(Alignment,IncrementSize)); in ExpandUnalignedLoad()
760 isVolatile, isNonTemporal, MinAlign(Alignment, 4U)); in OptimizeFloatStore()
1243 MinAlign(Alignment, IncrementSize)); in LegalizeOp()
1273 MinAlign(Alignment, IncrementSize)); in LegalizeOp()
[all …]
DLegalizeVectorTypes.cpp690 false, false, MinAlign(Alignment, IncrementSize)); in SplitVecRes_INSERT_VECTOR_ELT()
2301 isNonTemporal, MinAlign(Align, Increment)); in GenWidenVectorLoads()
2446 MinAlign(Align, Offset))); in GenWidenVectorStores()
2466 MinAlign(Align, Offset))); in GenWidenVectorStores()
2520 MinAlign(Align, Offset))); in GenWidenVectorTruncStores()
DLegalizeIntegerTypes.cpp1759 MinAlign(Alignment, IncrementSize)); in ExpandIntRes_LOAD()
1787 MinAlign(Alignment, IncrementSize)); in ExpandIntRes_LOAD()
2611 MinAlign(Alignment, IncrementSize)); in ExpandIntOp_STORE()
2649 MinAlign(Alignment, IncrementSize)); in ExpandIntOp_STORE()
DDAGCombiner.cpp2471 Alignment = MinAlign(Alignment, PtrOff); in visitAND()
4702 unsigned NewAlign = MinAlign(LN0->getAlignment(), PtrOff); in ReduceLoadWidth()
6379 NewAlign = MinAlign(NewAlign, StOffset); in ShrinkLoadReplaceStoreWithStore()
6481 unsigned NewAlign = MinAlign(LD->getAlignment(), PtrOff); in ReduceLoadOpStoreWidth()
6653 Alignment = MinAlign(Alignment, 4U); in visitSTORE()
DSelectionDAG.cpp3469 MinAlign(SrcAlign, SrcOff)); in getMemcpyLoadsAndStores()
6431 return MinAlign(Align, GVOffset); in InferPtrAlignment()
6449 unsigned FIInfoAlign = MinAlign(MFI.getObjectAlignment(FrameIdx), in InferPtrAlignment()
DTargetLowering.cpp2058 unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); in SimplifySetCC()
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h305 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);
/external/llvm/include/llvm/Support/
DMathExtras.h403 static inline uint64_t MinAlign(uint64_t A, uint64_t B) { in MinAlign() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp37 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer() local
40 if (CopyAlign < MinAlign) { in SimplifyMemTransfer()
42 MinAlign, false)); in SimplifyMemTransfer()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp339 llvm::MinAlign(ContainingTypeAlign, AccessStart)); in MakeInfo()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp530 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, FieldOffset); in SRAGlobal()
563 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i); in SRAGlobal()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp2308 unsigned MinAlign = I->second.second; in foldMemoryOperandImpl() local
2309 if (Align < MinAlign) in foldMemoryOperandImpl()
DX86ISelLowering.cpp12147 MinAlign(Ld->getAlignment(), 4)); in PerformSTORECombine()
12169 MinAlign(St->getAlignment(), 4)); in PerformSTORECombine()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2178 OtherEltAlign = (unsigned)MinAlign(OtherEltAlign, EltOffset); in RewriteMemIntrinUserOfAlloca()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp2831 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4); in expandf64Toi32()