Searched refs:function_in_degree (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | call_graph.cpp | 103 std::map<uint32_t, uint32_t> function_in_degree = GetFunctionInDegree(); in ComputeTopologicalOrderOfFunctions() local 107 for (auto& entry : function_in_degree) { in ComputeTopologicalOrderOfFunctions() 121 assert(function_in_degree.at(successor) > 0 && in ComputeTopologicalOrderOfFunctions() 123 function_in_degree[successor] = function_in_degree.at(successor) - 1; in ComputeTopologicalOrderOfFunctions() 124 if (function_in_degree.at(successor) == 0) { in ComputeTopologicalOrderOfFunctions() 130 assert(functions_in_topological_order_.size() == function_in_degree.size() && in ComputeTopologicalOrderOfFunctions()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | call_graph.cpp | 103 std::map<uint32_t, uint32_t> function_in_degree = GetFunctionInDegree(); in ComputeTopologicalOrderOfFunctions() local 107 for (auto& entry : function_in_degree) { in ComputeTopologicalOrderOfFunctions() 121 assert(function_in_degree.at(successor) > 0 && in ComputeTopologicalOrderOfFunctions() 123 function_in_degree[successor] = function_in_degree.at(successor) - 1; in ComputeTopologicalOrderOfFunctions() 124 if (function_in_degree.at(successor) == 0) { in ComputeTopologicalOrderOfFunctions() 130 assert(functions_in_topological_order_.size() == function_in_degree.size() && in ComputeTopologicalOrderOfFunctions()
|
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
D | call_graph_test.cpp | 286 const auto& function_in_degree = graph.GetFunctionInDegree(); in TEST() local 288 ASSERT_EQ(function_in_degree.at(2), 0); in TEST() 289 ASSERT_EQ(function_in_degree.at(35), 3); in TEST() 290 ASSERT_EQ(function_in_degree.at(48), 1); in TEST() 291 ASSERT_EQ(function_in_degree.at(50), 2); in TEST() 292 ASSERT_EQ(function_in_degree.at(61), 1); in TEST()
|
/external/deqp-deps/SPIRV-Tools/test/fuzz/ |
D | call_graph_test.cpp | 286 const auto& function_in_degree = graph.GetFunctionInDegree(); in TEST() local 288 ASSERT_EQ(function_in_degree.at(2), 0); in TEST() 289 ASSERT_EQ(function_in_degree.at(35), 3); in TEST() 290 ASSERT_EQ(function_in_degree.at(48), 1); in TEST() 291 ASSERT_EQ(function_in_degree.at(50), 2); in TEST() 292 ASSERT_EQ(function_in_degree.at(61), 1); in TEST()
|