/external/deqp-deps/SPIRV-Tools/test/ |
D | move_to_front_test.cpp | 463 TEST(MoveToFront, RankFromValue) { in TEST() argument 467 EXPECT_FALSE(mtf.RankFromValue(1, &rank)); in TEST() 481 EXPECT_FALSE(mtf.RankFromValue(4, &rank)); in TEST() 483 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 494 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 497 EXPECT_TRUE(mtf.RankFromValue(3, &rank)); in TEST() 500 EXPECT_TRUE(mtf.RankFromValue(2, &rank)); in TEST() 505 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 510 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 522 EXPECT_TRUE(mtf.RankFromValue(50, &rank)); in TEST() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | move_to_front_test.cpp | 463 TEST(MoveToFront, RankFromValue) { in TEST() argument 467 EXPECT_FALSE(mtf.RankFromValue(1, &rank)); in TEST() 481 EXPECT_FALSE(mtf.RankFromValue(4, &rank)); in TEST() 483 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 494 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 497 EXPECT_TRUE(mtf.RankFromValue(3, &rank)); in TEST() 500 EXPECT_TRUE(mtf.RankFromValue(2, &rank)); in TEST() 505 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 510 EXPECT_TRUE(mtf.RankFromValue(1, &rank)); in TEST() 522 EXPECT_TRUE(mtf.RankFromValue(50, &rank)); in TEST() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/comp/ |
D | move_to_front.h | 73 bool RankFromValue(uint32_t value, uint32_t* rank); 321 bool RankFromValue(uint64_t mtf, uint32_t value, uint32_t* rank) { in RankFromValue() function 322 return GetMtf(mtf).RankFromValue(value, rank); in RankFromValue()
|
D | markv_encoder.cpp | 201 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) in EncodeExistingId() 231 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) { in EncodeRefId() 243 if (!multi_mtf_.RankFromValue(kMtfForwardDeclared, id, &rank)) { in EncodeRefId() 294 if (multi_mtf_.RankFromValue(kMtfForwardDeclared, inst_.result_id, &rank)) { in EncodeResultId()
|
D | move_to_front.cpp | 62 bool MoveToFront::RankFromValue(uint32_t value, uint32_t* rank) { in RankFromValue() function in spvtools::comp::MoveToFront
|
/external/deqp-deps/SPIRV-Tools/source/comp/ |
D | move_to_front.h | 73 bool RankFromValue(uint32_t value, uint32_t* rank); 321 bool RankFromValue(uint64_t mtf, uint32_t value, uint32_t* rank) { in RankFromValue() function 322 return GetMtf(mtf).RankFromValue(value, rank); in RankFromValue()
|
D | markv_encoder.cpp | 201 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) in EncodeExistingId() 231 if (!multi_mtf_.RankFromValue(mtf, id, &rank)) { in EncodeRefId() 243 if (!multi_mtf_.RankFromValue(kMtfForwardDeclared, id, &rank)) { in EncodeRefId() 294 if (multi_mtf_.RankFromValue(kMtfForwardDeclared, inst_.result_id, &rank)) { in EncodeResultId()
|
D | move_to_front.cpp | 62 bool MoveToFront::RankFromValue(uint32_t value, uint32_t* rank) { in RankFromValue() function in spvtools::comp::MoveToFront
|