Home
last modified time | relevance | path

Searched refs:expval (Results 1 – 12 of 12) sorted by relevance

/external/flatbuffers/tests/
Dtest_assert.h38 typedef bool (*TestFailEventListener)(const char *expval, const char *val,
53 void TestFail(const char *expval, const char *val, const char *exp,
56 void TestEqStr(const char *expval, const char *val, const char *exp,
90 void TestEq(T expval, U val, const char *exp, const char *file, int line,
92 if (static_cast<U>(expval) != val) {
93 TestFail(flatbuffers::NumToString(scalar_as_underlying(expval)).c_str(),
100 inline void TestEq<std::string, std::string>(std::string expval,
104 if (expval != val) {
105 TestFail(expval.c_str(), val.c_str(), exp, file, line, func);
Dtest_assert.cpp13 void TestFail(const char *expval, const char *val, const char *exp, in TestFail() argument
15 TEST_OUTPUT_LINE("EXPECTED: \"%s\"", expval); in TestFail()
22 if (fail_listener_) (*fail_listener_)(expval, val, exp, file, line, func); in TestFail()
27 void TestEqStr(const char *expval, const char *val, const char *exp, in TestEqStr() argument
29 if (strcmp(expval, val) != 0) { in TestEqStr()
30 TestFail(expval, val, exp, file, line, func); in TestEqStr()
Dtest.cpp2121 auto expval = flatbuffers::is_unsigned<T>::value in NumericUtilsTestInteger() local
2124 TEST_EQ(x, expval); in NumericUtilsTestInteger()
/external/llvm/test/CodeGen/Generic/
Dbuiltin-expect.ll12 %expval = call i64 @llvm.expect.i64(i64 %conv1, i64 1)
13 %tobool = icmp ne i64 %expval, 0
41 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
42 %tobool = icmp ne i64 %expval, 0
69 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
70 %tobool1 = icmp ne i64 %expval, 0
98 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
99 %tobool2 = icmp ne i64 %expval, 0
125 %expval = call i64 @llvm.expect.i64(i64 %conv1, i64 0)
126 %tobool = icmp ne i64 %expval, 0
[all …]
/external/llvm-project/llvm/test/CodeGen/Generic/
Dbuiltin-expect.ll12 %expval = call i64 @llvm.expect.i64(i64 %conv1, i64 1)
13 %tobool = icmp ne i64 %expval, 0
41 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
42 %tobool = icmp ne i64 %expval, 0
69 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
70 %tobool1 = icmp ne i64 %expval, 0
98 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
99 %tobool2 = icmp ne i64 %expval, 0
125 %expval = call i64 @llvm.expect.i64(i64 %conv1, i64 0)
126 %tobool = icmp ne i64 %expval, 0
[all …]
/external/llvm-project/llvm/test/Transforms/LowerExpectIntrinsic/
Dbasic.ll14 %expval = call i64 @llvm.expect.i64(i64 %conv1, i64 1)
15 %tobool = icmp ne i64 %expval, 0
46 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
47 %tobool = icmp ne i64 %expval, 0
77 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
78 %tobool1 = icmp ne i64 %expval, 0
109 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
110 %tobool2 = icmp ne i64 %expval, 0
139 %expval = call i64 @llvm.expect.i64(i64 %conv1, i64 0)
140 %tobool = icmp ne i64 %expval, 0
[all …]
Dexpect-with-probability.ll14 %expval = call i64 @llvm.expect.with.probability.i64(i64 %conv1, i64 1, double 8.000000e-01)
15 %tobool = icmp ne i64 %expval, 0
46 %expval = call i64 @llvm.expect.with.probability.i64(i64 %conv, i64 1, double 8.000000e-01)
47 %tobool = icmp ne i64 %expval, 0
77 %expval = call i64 @llvm.expect.with.probability.i64(i64 %conv, i64 1, double 8.000000e-01)
78 %tobool1 = icmp ne i64 %expval, 0
109 %expval = call i64 @llvm.expect.with.probability.i64(i64 %conv, i64 1, double 8.000000e-01)
110 %tobool2 = icmp ne i64 %expval, 0
139 %expval = call i64 @llvm.expect.with.probability.i64(i64 %conv1, i64 0, double 8.000000e-01)
140 %tobool = icmp ne i64 %expval, 0
[all …]
/external/llvm/test/Transforms/LowerExpectIntrinsic/
Dbasic.ll14 %expval = call i64 @llvm.expect.i64(i64 %conv1, i64 1)
15 %tobool = icmp ne i64 %expval, 0
46 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
47 %tobool = icmp ne i64 %expval, 0
77 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
78 %tobool1 = icmp ne i64 %expval, 0
109 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1)
110 %tobool2 = icmp ne i64 %expval, 0
139 %expval = call i64 @llvm.expect.i64(i64 %conv1, i64 0)
140 %tobool = icmp ne i64 %expval, 0
[all …]
/external/flatbuffers/tests/fuzzer/
Dtest_init.h12 static bool TestFailListener(const char *expval, const char *val,
15 (void)expval;
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
Dirtranslator-no-op-intrinsics.ll12 %expval = call i64 @llvm.expect.i64(i64 %arg0, i64 1)
13 ret i64 %expval
/external/llvm-project/llvm/test/CodeGen/ARM/
Dfast-isel-intrinsic.ll282 ; ARM-NOT: FastISel missed call: %expval = call i32 @llvm.expect.i32(i32 %x, i32 1)
284 ; THUMB-NOT: FastISel missed call: %expval = call i32 @llvm.expect.i32(i32 %x, i32 1)
285 %expval = call i32 @llvm.expect.i32(i32 %x, i32 1)
286 ret i32 %expval
/external/llvm/test/CodeGen/ARM/
Dfast-isel-intrinsic.ll292 ; ARM-NOT: FastISel missed call: %expval = call i32 @llvm.expect.i32(i32 %x, i32 1)
294 ; THUMB-NOT: FastISel missed call: %expval = call i32 @llvm.expect.i32(i32 %x, i32 1)
295 %expval = call i32 @llvm.expect.i32(i32 %x, i32 1)
296 ret i32 %expval