Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dnested_loops.cpp732 std::unordered_set<uint32_t> pred_set(preds.begin(), preds.end()); in TEST_F() local
733 EXPECT_EQ(pred_set.size(), 2u); in TEST_F()
734 EXPECT_TRUE(pred_set.count(30)); in TEST_F()
735 EXPECT_TRUE(pred_set.count(31)); in TEST_F()
737 loop.GetPreHeaderBlock()->ForEachPhiInst([&pred_set](Instruction* phi) { in TEST_F()
739 EXPECT_TRUE(pred_set.count(phi->GetSingleWordInOperand(i))); in TEST_F()
746 std::unordered_set<uint32_t> pred_set(preds.begin(), preds.end()); in TEST_F() local
747 EXPECT_EQ(pred_set.size(), 2u); in TEST_F()
748 EXPECT_TRUE(pred_set.count(loop.GetPreHeaderBlock()->id())); in TEST_F()
749 EXPECT_TRUE(pred_set.count(35)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
Dnested_loops.cpp732 std::unordered_set<uint32_t> pred_set(preds.begin(), preds.end()); in TEST_F() local
733 EXPECT_EQ(pred_set.size(), 2u); in TEST_F()
734 EXPECT_TRUE(pred_set.count(30)); in TEST_F()
735 EXPECT_TRUE(pred_set.count(31)); in TEST_F()
737 loop.GetPreHeaderBlock()->ForEachPhiInst([&pred_set](Instruction* phi) { in TEST_F()
739 EXPECT_TRUE(pred_set.count(phi->GetSingleWordInOperand(i))); in TEST_F()
746 std::unordered_set<uint32_t> pred_set(preds.begin(), preds.end()); in TEST_F() local
747 EXPECT_EQ(pred_set.size(), 2u); in TEST_F()
748 EXPECT_TRUE(pred_set.count(loop.GetPreHeaderBlock()->id())); in TEST_F()
749 EXPECT_TRUE(pred_set.count(35)); in TEST_F()
[all …]
/third_party/spirv-tools/test/opt/loop_optimizations/
Dnested_loops.cpp732 std::unordered_set<uint32_t> pred_set(preds.begin(), preds.end()); in TEST_F() local
733 EXPECT_EQ(pred_set.size(), 2u); in TEST_F()
734 EXPECT_TRUE(pred_set.count(30)); in TEST_F()
735 EXPECT_TRUE(pred_set.count(31)); in TEST_F()
737 loop.GetPreHeaderBlock()->ForEachPhiInst([&pred_set](Instruction* phi) { in TEST_F()
739 EXPECT_TRUE(pred_set.count(phi->GetSingleWordInOperand(i))); in TEST_F()
746 std::unordered_set<uint32_t> pred_set(preds.begin(), preds.end()); in TEST_F() local
747 EXPECT_EQ(pred_set.size(), 2u); in TEST_F()
748 EXPECT_TRUE(pred_set.count(loop.GetPreHeaderBlock()->id())); in TEST_F()
749 EXPECT_TRUE(pred_set.count(35)); in TEST_F()
[all …]