/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | peeling_pass.cpp | 86 std::vector<std::pair<LoopPeelingPass::PeelDirection, uint32_t>>; 214 return std::pair<LoopPeelingPass::PeelDirection, uint32_t>{ in TEST_F() 215 LoopPeelingPass::PeelDirection::kNone, 0}; in TEST_F() 217 return std::pair<LoopPeelingPass::PeelDirection, uint32_t>{ in TEST_F() 227 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 229 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection::kBefore); in TEST_F() 235 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 237 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection::kBefore); in TEST_F() 243 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 245 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
H A D | peeling_pass.cpp | 86 std::vector<std::pair<LoopPeelingPass::PeelDirection, uint32_t>>; 214 return std::pair<LoopPeelingPass::PeelDirection, uint32_t>{ in TEST_F() 215 LoopPeelingPass::PeelDirection::kNone, 0}; in TEST_F() 217 return std::pair<LoopPeelingPass::PeelDirection, uint32_t>{ in TEST_F() 227 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 229 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection::kBefore); in TEST_F() 235 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 237 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection::kBefore); in TEST_F() 243 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 245 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection in TEST_F() [all...] |
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | peeling_pass.cpp | 85 std::vector<std::pair<LoopPeelingPass::PeelDirection, uint32_t>>; 213 return std::pair<LoopPeelingPass::PeelDirection, uint32_t>{ in TEST_F() 214 LoopPeelingPass::PeelDirection::kNone, 0}; in TEST_F() 216 return std::pair<LoopPeelingPass::PeelDirection, uint32_t>{ in TEST_F() 226 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 228 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection::kBefore); in TEST_F() 234 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 236 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection::kBefore); in TEST_F() 242 std::pair<LoopPeelingPass::PeelDirection, uint32_t> peel_info = in TEST_F() 244 EXPECT_EQ(peel_info.first, LoopPeelingPass::PeelDirection in TEST_F() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | loop_peeling.h | 237 enum class PeelDirection { class in spvtools::LoopPeelingPass 245 std::vector<std::tuple<const Loop*, PeelDirection, uint32_t>> peeled_loops_; 278 using Direction = std::pair<PeelDirection, uint32_t>; 290 // is not workable then it returns PeelDirection::kNone and a 0 factor. 317 return Direction{LoopPeelingPass::PeelDirection::kNone, 0}; in GetNoneDirection()
|
H A D | loop_peeling.cpp | 702 PeelDirection direction; in ProcessLoop() 706 if (direction == PeelDirection::kNone) { in ProcessLoop() 709 if (direction == PeelDirection::kBefore) { in ProcessLoop() 712 assert(direction == PeelDirection::kAfter); in ProcessLoop() 716 PeelDirection direction = PeelDirection::kNone; in ProcessLoop() 722 direction = PeelDirection::kBefore; in ProcessLoop() 728 direction = PeelDirection::kAfter; in ProcessLoop() 733 if (direction == PeelDirection::kNone) return bail_out; in ProcessLoop() 745 if (direction == PeelDirection in ProcessLoop() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | loop_peeling.h | 237 enum class PeelDirection { class in spvtools::LoopPeelingPass 245 std::vector<std::tuple<const Loop*, PeelDirection, uint32_t>> peeled_loops_; 278 using Direction = std::pair<PeelDirection, uint32_t>; 290 // is not workable then it returns PeelDirection::kNone and a 0 factor. 317 return Direction{LoopPeelingPass::PeelDirection::kNone, 0}; in GetNoneDirection()
|
H A D | loop_peeling.cpp | 702 PeelDirection direction; in ProcessLoop() 706 if (direction == PeelDirection::kNone) { in ProcessLoop() 709 if (direction == PeelDirection::kBefore) { in ProcessLoop() 712 assert(direction == PeelDirection::kAfter); in ProcessLoop() 716 PeelDirection direction = PeelDirection::kNone; in ProcessLoop() 722 direction = PeelDirection::kBefore; in ProcessLoop() 728 direction = PeelDirection::kAfter; in ProcessLoop() 733 if (direction == PeelDirection::kNone) return bail_out; in ProcessLoop() 745 if (direction == PeelDirection in ProcessLoop() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | loop_peeling.h | 237 enum class PeelDirection { class in spvtools::LoopPeelingPass 245 std::vector<std::tuple<const Loop*, PeelDirection, uint32_t>> peeled_loops_; 278 using Direction = std::pair<PeelDirection, uint32_t>; 290 // is not workable then it returns PeelDirection::kNone and a 0 factor. 317 return Direction{LoopPeelingPass::PeelDirection::kNone, 0}; in GetNoneDirection()
|
H A D | loop_peeling.cpp | 703 PeelDirection direction; in ProcessLoop() 707 if (direction == PeelDirection::kNone) { in ProcessLoop() 710 if (direction == PeelDirection::kBefore) { in ProcessLoop() 713 assert(direction == PeelDirection::kAfter); in ProcessLoop() 717 PeelDirection direction = PeelDirection::kNone; in ProcessLoop() 723 direction = PeelDirection::kBefore; in ProcessLoop() 729 direction = PeelDirection::kAfter; in ProcessLoop() 734 if (direction == PeelDirection::kNone) return bail_out; in ProcessLoop() 746 if (direction == PeelDirection in ProcessLoop() [all...] |