/external/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 | 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()
|
D | MachineInstr.cpp | 405 return MinAlign(getBaseAlignment(), getOffset()); in getAlignment()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypesGeneric.cpp | 138 false, MinAlign(Alignment, IncrementSize)); in ExpandRes_BITCAST() 223 MinAlign(Alignment, IncrementSize)); in ExpandRes_NormalLoad() 414 MinAlign(Alignment, IncrementSize)); in ExpandOp_NormalStore()
|
D | LegalizeDAG.cpp | 440 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 …]
|
D | LegalizeVectorTypes.cpp | 690 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()
|
D | LegalizeIntegerTypes.cpp | 1759 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()
|
D | DAGCombiner.cpp | 2471 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()
|
D | SelectionDAG.cpp | 3469 MinAlign(SrcAlign, SrcOff)); in getMemcpyLoadsAndStores() 6431 return MinAlign(Align, GVOffset); in InferPtrAlignment() 6449 unsigned FIInfoAlign = MinAlign(MFI.getObjectAlignment(FrameIdx), in InferPtrAlignment()
|
D | TargetLowering.cpp | 2058 unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); in SimplifySetCC()
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 305 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 403 static inline uint64_t MinAlign(uint64_t A, uint64_t B) { in MinAlign() function
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 37 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer() local 40 if (CopyAlign < MinAlign) { in SimplifyMemTransfer() 42 MinAlign, false)); in SimplifyMemTransfer()
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 339 llvm::MinAlign(ContainingTypeAlign, AccessStart)); in MakeInfo()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 530 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, FieldOffset); in SRAGlobal() 563 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i); in SRAGlobal()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 2308 unsigned MinAlign = I->second.second; in foldMemoryOperandImpl() local 2309 if (Align < MinAlign) in foldMemoryOperandImpl()
|
D | X86ISelLowering.cpp | 12147 MinAlign(Ld->getAlignment(), 4)); in PerformSTORECombine() 12169 MinAlign(St->getAlignment(), 4)); in PerformSTORECombine()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 2178 OtherEltAlign = (unsigned)MinAlign(OtherEltAlign, EltOffset); in RewriteMemIntrinUserOfAlloca()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 2831 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4); in expandf64Toi32()
|