Home
last modified time | relevance | path

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

1234

/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()
/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-7.0/llvm/lib/CodeGen/
DCallingConvLower.cpp47 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()
DMachineFrameInfo.cpp91 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/
DMathExtrasTest.cpp242 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/
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 …]
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp186 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/
DSIRegisterInfo.cpp599 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()
DAMDGPULowerKernelArguments.cpp130 unsigned AdjustedAlign = MinAlign(KernArgBaseAlign, AlignDownOffset); in runOnFunction()
DAMDGPUCallLowering.cpp169 unsigned Align = MinAlign(KernArgBaseAlign, ArgOffset); in lowerFormalArguments()
/external/capstone/
DMathExtras.h359 static inline uint64_t MinAlign(uint64_t A, uint64_t B) { in MinAlign() function
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp726 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/
DIceELFObjectWriter.cpp405 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/
DMemCpyOptimizer.cpp519 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/
DCallingConvLower.h449 int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags);

1234