Home
last modified time | relevance | path

Searched refs:getFunctionPtrAlign (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/llvm/unittests/IR/
DDataLayoutTest.cpp21 EXPECT_EQ(MaybeAlign(0), DataLayout("").getFunctionPtrAlign()); in TEST()
22 EXPECT_EQ(MaybeAlign(1), DataLayout("Fi8").getFunctionPtrAlign()); in TEST()
23 EXPECT_EQ(MaybeAlign(2), DataLayout("Fi16").getFunctionPtrAlign()); in TEST()
24 EXPECT_EQ(MaybeAlign(4), DataLayout("Fi32").getFunctionPtrAlign()); in TEST()
25 EXPECT_EQ(MaybeAlign(8), DataLayout("Fi64").getFunctionPtrAlign()); in TEST()
26 EXPECT_EQ(MaybeAlign(1), DataLayout("Fn8").getFunctionPtrAlign()); in TEST()
27 EXPECT_EQ(MaybeAlign(2), DataLayout("Fn16").getFunctionPtrAlign()); in TEST()
28 EXPECT_EQ(MaybeAlign(4), DataLayout("Fn32").getFunctionPtrAlign()); in TEST()
29 EXPECT_EQ(MaybeAlign(8), DataLayout("Fn64").getFunctionPtrAlign()); in TEST()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h286 MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } in getFunctionPtrAlign() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h278 MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } in getFunctionPtrAlign() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DValue.cpp679 const MaybeAlign FunctionPtrAlign = DL.getFunctionPtrAlign(); in getPointerAlignment()
/external/llvm-project/llvm/lib/IR/
DValue.cpp787 Align FunctionPtrAlign = DL.getFunctionPtrAlign().valueOrOne(); in getPointerAlignment()
DConstantFold.cpp1295 if (isa<Function>(GV) && !DL.getFunctionPtrAlign()) in ConstantFoldBinaryInstruction()