/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()
|
/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-7.0/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 47 int MinSize, int MinAlign, in HandleByVal() argument 53 if (MinAlign > (int)Align) in HandleByVal() 54 Align = MinAlign; in HandleByVal() 57 Size = unsigned(alignTo(Size, MinAlign)); in HandleByVal()
|
D | MachineFrameInfo.cpp | 91 unsigned Alignment = MinAlign(SPOffset, ForcedRealign ? 1 : StackAlignment); in CreateFixedObject() 103 unsigned Alignment = MinAlign(SPOffset, ForcedRealign ? 1 : StackAlignment); in CreateFixedSpillStackObject()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 242 TEST(MathExtras, MinAlign) { in TEST() argument 243 EXPECT_EQ(1u, MinAlign(2, 3)); in TEST() 244 EXPECT_EQ(2u, MinAlign(2, 4)); in TEST() 245 EXPECT_EQ(1u, MinAlign(17, 64)); in TEST() 246 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 …]
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypesGeneric.cpp | 186 MinAlign(Alignment, IncrementSize)); in ExpandRes_BITCAST() 276 MinAlign(Alignment, IncrementSize), in ExpandRes_NormalLoad() 491 MinAlign(Alignment, IncrementSize), in ExpandOp_NormalStore()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIRegisterInfo.cpp | 599 EltSize, MinAlign(Align, EltSize * i)); in buildSpillLoadStore() 719 EltSize, MinAlign(Align, EltSize * i)); in spillSGPR() 796 EltSize, MinAlign(Align, EltSize * i)); in spillSGPR() 883 EltSize, MinAlign(Align, EltSize * i)); in restoreSGPR() 933 MinAlign(Align, EltSize * i)); in restoreSGPR()
|
D | AMDGPULowerKernelArguments.cpp | 130 unsigned AdjustedAlign = MinAlign(KernArgBaseAlign, AlignDownOffset); in runOnFunction()
|
D | AMDGPUCallLowering.cpp | 169 unsigned Align = MinAlign(KernArgBaseAlign, ArgOffset); in lowerFormalArguments()
|
/external/capstone/ |
D | MathExtras.h | 359 static inline uint64_t MinAlign(uint64_t A, uint64_t B) { in MinAlign() function
|
/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()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 726 auto EltAlign = MinAlign(Align, SL->getElementOffset(i)); in unpackLoadToAggregate() 777 auto *L = IC.Builder.CreateAlignedLoad(Ptr, MinAlign(Align, Offset), in unpackLoadToAggregate() 1255 auto EltAlign = MinAlign(Align, SL->getElementOffset(i)); in unpackStoreToAggregate() 1305 auto EltAlign = MinAlign(Align, Offset); in unpackStoreToAggregate()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceELFObjectWriter.cpp | 405 constexpr Elf64_Xword MinAlign = 1; in writeDataOfType() local 406 const auto Align = std::max<Elf64_Xword>(MinAlign, Var->getAlignment()); in writeDataOfType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 519 return MinAlign(StoreAlign, LoadAlign); in findCommonAlignment() 1119 Align = MinAlign(SrcSizeC->getZExtValue(), DestAlign); in processMemSetMemCpyDependence() 1233 unsigned Align = MinAlign(M->getDestAlignment(), M->getSourceAlignment()); in processMemCpy()
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 449 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);
|