Home
last modified time | relevance | path

Searched refs:compareValues (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPSIntTest.cpp81 TEST(APSIntTest, compareValues) { in TEST() argument
86 EXPECT_TRUE(APSInt::compareValues(S(7), S(8)) < 0); in TEST()
87 EXPECT_TRUE(APSInt::compareValues(S(8), S(7)) > 0); in TEST()
88 EXPECT_TRUE(APSInt::compareValues(S(7), S(7)) == 0); in TEST()
89 EXPECT_TRUE(APSInt::compareValues(S(-7), S(8)) < 0); in TEST()
90 EXPECT_TRUE(APSInt::compareValues(S(8), S(-7)) > 0); in TEST()
91 EXPECT_TRUE(APSInt::compareValues(S(-7), S(-7)) == 0); in TEST()
92 EXPECT_TRUE(APSInt::compareValues(S(-7), S(-8)) > 0); in TEST()
93 EXPECT_TRUE(APSInt::compareValues(S(-8), S(-7)) < 0); in TEST()
94 EXPECT_TRUE(APSInt::compareValues(S(-7), S(-7)) == 0); in TEST()
[all …]
/external/llvm/unittests/ADT/
DAPSIntTest.cpp81 TEST(APSIntTest, compareValues) { in TEST() argument
86 EXPECT_TRUE(APSInt::compareValues(S(7), S(8)) < 0); in TEST()
87 EXPECT_TRUE(APSInt::compareValues(S(8), S(7)) > 0); in TEST()
88 EXPECT_TRUE(APSInt::compareValues(S(7), S(7)) == 0); in TEST()
89 EXPECT_TRUE(APSInt::compareValues(S(-7), S(8)) < 0); in TEST()
90 EXPECT_TRUE(APSInt::compareValues(S(8), S(-7)) > 0); in TEST()
91 EXPECT_TRUE(APSInt::compareValues(S(-7), S(-7)) == 0); in TEST()
92 EXPECT_TRUE(APSInt::compareValues(S(-7), S(-8)) > 0); in TEST()
93 EXPECT_TRUE(APSInt::compareValues(S(-8), S(-7)) < 0); in TEST()
94 EXPECT_TRUE(APSInt::compareValues(S(-7), S(-7)) == 0); in TEST()
[all …]
/external/llvm/include/llvm/ADT/
DAPSInt.h157 return compareValues(*this, get(RHS)) == 0;
160 return compareValues(*this, get(RHS)) != 0;
163 return compareValues(*this, get(RHS)) <= 0;
166 return compareValues(*this, get(RHS)) >= 0;
169 return compareValues(*this, get(RHS)) < 0;
172 return compareValues(*this, get(RHS)) > 0;
291 return !compareValues(I1, I2); in isSameValue()
295 static int compareValues(const APSInt &I1, const APSInt &I2) { in compareValues() function
301 return compareValues(I1, I2.extend(I1.getBitWidth())); in compareValues()
303 return compareValues(I1.extend(I2.getBitWidth()), I2); in compareValues()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPSInt.h160 return compareValues(*this, get(RHS)) == 0;
163 return compareValues(*this, get(RHS)) != 0;
166 return compareValues(*this, get(RHS)) <= 0;
169 return compareValues(*this, get(RHS)) >= 0;
172 return compareValues(*this, get(RHS)) < 0;
175 return compareValues(*this, get(RHS)) > 0;
285 return !compareValues(I1, I2); in isSameValue()
289 static int compareValues(const APSInt &I1, const APSInt &I2) { in compareValues() function
295 return compareValues(I1, I2.extend(I1.getBitWidth())); in compareValues()
297 return compareValues(I1.extend(I2.getBitWidth()), I2); in compareValues()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTessellation.hpp425 …bool compareValues(char const* description, glw::GLfloat* reference_values, int n_reference_values…
DesextcTessellationShaderTessellation.cpp2380 test_passed &= compareValues("Per-vertex components test ", m_ref_vertex_attributes, in iterate()
2403compareValues("Per-patch components test ", m_ref_patch_attributes, 1 /* amount of output vectors … in iterate()
2846 bool TessellationShaderTessellationMaxInOut::compareValues(char const* description, glw::GLfloat* r… in compareValues() function in glcts::TessellationShaderTessellationMaxInOut
/external/clang/lib/Sema/
DSemaOpenMP.cpp5727 if (llvm::APSInt::compareValues(Hint, Pair.second) != 0) { in ActOnOpenMPCriticalDirective()