Home
last modified time | relevance | path

Searched refs:ErrorEquals (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DInstrProfTest.cpp25 ErrorEquals(instrprof_error Expected, Error E) { in ErrorEquals() function
108 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, R.takeError())); in TEST_P()
111 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, R.takeError())); in TEST_P()
134 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, std::move(E1))); in TEST_P()
137 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, std::move(E2))); in TEST_P()
885 EXPECT_TRUE(ErrorEquals(instrprof_error::malformed, Symtab.addFuncName(""))); in TEST_P()
DCoverageMappingTest.cpp27 ErrorEquals(coveragemap_error Expected, Error E) { in ErrorEquals() function
336 EXPECT_TRUE(ErrorEquals(coveragemap_error::malformed, loadCoverageMapping())); in TEST_P()
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp29 static ::testing::AssertionResult ErrorEquals(instrprof_error Expected, in ErrorEquals() function
111 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, R.takeError())); in TEST_P()
114 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, R.takeError())); in TEST_P()
137 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, std::move(E1))); in TEST_P()
140 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, std::move(E2))); in TEST_P()