Home
last modified time | relevance | path

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

/external/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp17 TEST(WholeProgramDevirt, findLowestOffset) { in TEST() argument
35 EXPECT_EQ(2ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
36 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST()
38 EXPECT_EQ(8ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST()
39 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST()
42 EXPECT_EQ(33ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
43 EXPECT_EQ(65ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST()
45 EXPECT_EQ(40ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST()
46 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST()
50 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp17 TEST(WholeProgramDevirt, findLowestOffset) { in TEST() argument
35 EXPECT_EQ(2ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
36 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST()
38 EXPECT_EQ(8ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST()
39 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST()
42 EXPECT_EQ(33ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
43 EXPECT_EQ(65ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST()
45 EXPECT_EQ(40ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST()
46 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST()
50 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST()
[all …]
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp60 wholeprogramdevirt::findLowestOffset(ArrayRef<VirtualCallTarget> Targets, in findLowestOffset() function in wholeprogramdevirt
563 findLowestOffset(TargetsForSlot, /*IsAfter=*/false, BitWidth); in tryVirtualConstProp()
565 findLowestOffset(TargetsForSlot, /*IsAfter=*/true, BitWidth); in tryVirtualConstProp()
/external/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h198 uint64_t findLowestOffset(ArrayRef<VirtualCallTarget> Targets, bool IsAfter,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h202 uint64_t findLowestOffset(ArrayRef<VirtualCallTarget> Targets, bool IsAfter,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp124 wholeprogramdevirt::findLowestOffset(ArrayRef<VirtualCallTarget> Targets, in findLowestOffset() function in wholeprogramdevirt
1227 findLowestOffset(TargetsForSlot, /*IsAfter=*/false, BitWidth); in tryVirtualConstProp()
1229 findLowestOffset(TargetsForSlot, /*IsAfter=*/true, BitWidth); in tryVirtualConstProp()