Home
last modified time | relevance | path

Searched refs:function_id (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/mesa3d/src/gallium/frontends/vdpau/
Dftab.c118 boolean vlGetFuncFTAB(VdpFuncId function_id, void **func) in vlGetFuncFTAB() argument
123 if (function_id < VDP_FUNC_ID_BASE_WINSYS) { in vlGetFuncFTAB()
124 if (function_id < ARRAY_SIZE(ftab)) in vlGetFuncFTAB()
125 *func = ftab[function_id]; in vlGetFuncFTAB()
127 } else if (function_id < VDP_FUNC_ID_BASE_DRIVER) { in vlGetFuncFTAB()
128 function_id -= VDP_FUNC_ID_BASE_WINSYS; in vlGetFuncFTAB()
129 if (function_id < ARRAY_SIZE(ftab_winsys)) in vlGetFuncFTAB()
130 *func = ftab_winsys[function_id]; in vlGetFuncFTAB()
133 function_id -= VDP_FUNC_ID_BASE_DRIVER; in vlGetFuncFTAB()
134 if (function_id < ARRAY_SIZE(ftab_driver)) in vlGetFuncFTAB()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/fact_manager/
Dlivesafe_function_facts.cpp28 if (!fuzzerutil::FindFunction(ir_context_, fact.function_id())) { in MaybeAddFact()
32 if (fuzzerutil::FunctionIsEntryPoint(ir_context_, fact.function_id())) { in MaybeAddFact()
36 livesafe_function_ids_.insert(fact.function_id()); in MaybeAddFact()
40 bool LivesafeFunctionFacts::FunctionIsLivesafe(uint32_t function_id) const { in FunctionIsLivesafe()
41 return livesafe_function_ids_.count(function_id) != 0; in FunctionIsLivesafe()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/fact_manager/
Dlivesafe_function_facts.cpp28 if (!fuzzerutil::FindFunction(ir_context_, fact.function_id())) { in MaybeAddFact()
32 if (fuzzerutil::FunctionIsEntryPoint(ir_context_, fact.function_id())) { in MaybeAddFact()
36 livesafe_function_ids_.insert(fact.function_id()); in MaybeAddFact()
40 bool LivesafeFunctionFacts::FunctionIsLivesafe(uint32_t function_id) const { in FunctionIsLivesafe()
41 return livesafe_function_ids_.count(function_id) != 0; in FunctionIsLivesafe()
/third_party/spirv-tools/source/fuzz/fact_manager/
Dlivesafe_function_facts.cpp28 if (!fuzzerutil::FindFunction(ir_context_, fact.function_id())) { in MaybeAddFact()
32 if (fuzzerutil::FunctionIsEntryPoint(ir_context_, fact.function_id())) { in MaybeAddFact()
36 livesafe_function_ids_.insert(fact.function_id()); in MaybeAddFact()
40 bool LivesafeFunctionFacts::FunctionIsLivesafe(uint32_t function_id) const { in FunctionIsLivesafe()
41 return livesafe_function_ids_.count(function_id) != 0; in FunctionIsLivesafe()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dcall_graph.h41 const std::set<uint32_t>& GetDirectCallees(uint32_t function_id) const { in GetDirectCallees() argument
42 return call_graph_edges_.at(function_id); in GetDirectCallees()
47 std::set<uint32_t> GetIndirectCallees(uint32_t function_id) const;
60 uint32_t GetMaxCallNestingDepth(uint32_t function_id) const { in GetMaxCallNestingDepth() argument
61 return function_max_loop_nesting_depth_.at(function_id); in GetMaxCallNestingDepth()
88 void PushDirectCallees(uint32_t function_id,
Dcall_graph.cpp141 for (uint32_t function_id : functions_in_topological_order_) { in ComputeInterproceduralFunctionCallDepths() local
142 const auto& callees = call_graph_edges_[function_id]; in ComputeInterproceduralFunctionCallDepths()
148 function_max_loop_nesting_depth_[function_id] + in ComputeInterproceduralFunctionCallDepths()
149 call_to_max_depth.at({function_id, callee}); in ComputeInterproceduralFunctionCallDepths()
158 void CallGraph::PushDirectCallees(uint32_t function_id, in PushDirectCallees() argument
160 for (auto callee : GetDirectCallees(function_id)) { in PushDirectCallees()
165 std::set<uint32_t> CallGraph::GetIndirectCallees(uint32_t function_id) const { in GetIndirectCallees()
168 PushDirectCallees(function_id, &queue); in GetIndirectCallees()
Dtransformation_add_local_variable.cpp27 uint32_t fresh_id, uint32_t type_id, uint32_t function_id, in TransformationAddLocalVariable() argument
31 message_.set_function_id(function_id); in TransformationAddLocalVariable()
67 return fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
75 message_.function_id(), message_.initializer_id()); in Apply()
81 fuzzerutil::FindFunction(ir_context, message_.function_id()) in Apply()
Dfuzzer_pass_permute_function_parameters.cpp38 uint32_t function_id = function.result_id(); in Apply() local
41 if (fuzzerutil::FunctionIsEntryPoint(GetIRContext(), function_id)) { in Apply()
65 function_id, GetFuzzerContext()->GetFreshId(), permutation)); in Apply()
Dtransformation_add_parameter.cpp27 uint32_t function_id, uint32_t parameter_fresh_id, in TransformationAddParameter() argument
30 message_.set_function_id(function_id); in TransformationAddParameter()
42 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
61 fuzzerutil::GetCallers(ir_context, message_.function_id())) { in IsApplicable()
102 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply()
Dtransformation_set_function_control.cpp25 uint32_t function_id, uint32_t function_control) { in TransformationSetFunctionControl() argument
26 message_.set_function_id(function_id); in TransformationSetFunctionControl()
91 if (function.DefInst().result_id() == message_.function_id()) { in FindFunctionDefInstruction()
Dtransformation_permute_function_parameters.cpp31 uint32_t function_id, uint32_t function_type_fresh_id, in TransformationPermuteFunctionParameters() argument
33 message_.set_function_id(function_id); in TransformationPermuteFunctionParameters()
45 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
86 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply()
/third_party/spirv-tools/source/fuzz/
Dcall_graph.h41 const std::set<uint32_t>& GetDirectCallees(uint32_t function_id) const { in GetDirectCallees() argument
42 return call_graph_edges_.at(function_id); in GetDirectCallees()
47 std::set<uint32_t> GetIndirectCallees(uint32_t function_id) const;
60 uint32_t GetMaxCallNestingDepth(uint32_t function_id) const { in GetMaxCallNestingDepth() argument
61 return function_max_loop_nesting_depth_.at(function_id); in GetMaxCallNestingDepth()
88 void PushDirectCallees(uint32_t function_id,
Dcall_graph.cpp141 for (uint32_t function_id : functions_in_topological_order_) { in ComputeInterproceduralFunctionCallDepths() local
142 const auto& callees = call_graph_edges_[function_id]; in ComputeInterproceduralFunctionCallDepths()
148 function_max_loop_nesting_depth_[function_id] + in ComputeInterproceduralFunctionCallDepths()
149 call_to_max_depth.at({function_id, callee}); in ComputeInterproceduralFunctionCallDepths()
158 void CallGraph::PushDirectCallees(uint32_t function_id, in PushDirectCallees() argument
160 for (auto callee : GetDirectCallees(function_id)) { in PushDirectCallees()
165 std::set<uint32_t> CallGraph::GetIndirectCallees(uint32_t function_id) const { in GetIndirectCallees()
168 PushDirectCallees(function_id, &queue); in GetIndirectCallees()
Dtransformation_add_local_variable.cpp27 uint32_t fresh_id, uint32_t type_id, uint32_t function_id, in TransformationAddLocalVariable() argument
31 message_.set_function_id(function_id); in TransformationAddLocalVariable()
67 return fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
75 message_.function_id(), message_.initializer_id()); in Apply()
81 fuzzerutil::FindFunction(ir_context, message_.function_id()) in Apply()
Dfuzzer_pass_permute_function_parameters.cpp37 uint32_t function_id = function.result_id(); in Apply() local
40 if (fuzzerutil::FunctionIsEntryPoint(GetIRContext(), function_id)) { in Apply()
64 function_id, GetFuzzerContext()->GetFreshId(), permutation)); in Apply()
Dtransformation_add_parameter.cpp27 uint32_t function_id, uint32_t parameter_fresh_id, in TransformationAddParameter() argument
30 message_.set_function_id(function_id); in TransformationAddParameter()
42 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
61 fuzzerutil::GetCallers(ir_context, message_.function_id())) { in IsApplicable()
102 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply()
Dtransformation_set_function_control.cpp25 uint32_t function_id, uint32_t function_control) { in TransformationSetFunctionControl() argument
26 message_.set_function_id(function_id); in TransformationSetFunctionControl()
91 if (function.DefInst().result_id() == message_.function_id()) { in FindFunctionDefInstruction()
Dtransformation_permute_function_parameters.cpp31 uint32_t function_id, uint32_t function_type_fresh_id, in TransformationPermuteFunctionParameters() argument
33 message_.set_function_id(function_id); in TransformationPermuteFunctionParameters()
45 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
86 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dcall_graph.h41 const std::set<uint32_t>& GetDirectCallees(uint32_t function_id) const { in GetDirectCallees() argument
42 return call_graph_edges_.at(function_id); in GetDirectCallees()
47 std::set<uint32_t> GetIndirectCallees(uint32_t function_id) const;
60 uint32_t GetMaxCallNestingDepth(uint32_t function_id) const { in GetMaxCallNestingDepth() argument
61 return function_max_loop_nesting_depth_.at(function_id); in GetMaxCallNestingDepth()
88 void PushDirectCallees(uint32_t function_id,
Dcall_graph.cpp141 for (uint32_t function_id : functions_in_topological_order_) { in ComputeInterproceduralFunctionCallDepths() local
142 const auto& callees = call_graph_edges_[function_id]; in ComputeInterproceduralFunctionCallDepths()
148 function_max_loop_nesting_depth_[function_id] + in ComputeInterproceduralFunctionCallDepths()
149 call_to_max_depth.at({function_id, callee}); in ComputeInterproceduralFunctionCallDepths()
158 void CallGraph::PushDirectCallees(uint32_t function_id, in PushDirectCallees() argument
160 for (auto callee : GetDirectCallees(function_id)) { in PushDirectCallees()
165 std::set<uint32_t> CallGraph::GetIndirectCallees(uint32_t function_id) const { in GetIndirectCallees()
168 PushDirectCallees(function_id, &queue); in GetIndirectCallees()
Dtransformation_add_local_variable.cpp27 uint32_t fresh_id, uint32_t type_id, uint32_t function_id, in TransformationAddLocalVariable() argument
31 message_.set_function_id(function_id); in TransformationAddLocalVariable()
67 return fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
75 message_.function_id(), message_.initializer_id()); in Apply()
81 fuzzerutil::FindFunction(ir_context, message_.function_id()) in Apply()
Dfuzzer_pass_permute_function_parameters.cpp38 uint32_t function_id = function.result_id(); in Apply() local
41 if (fuzzerutil::FunctionIsEntryPoint(GetIRContext(), function_id)) { in Apply()
65 function_id, GetFuzzerContext()->GetFreshId(), permutation)); in Apply()
Dtransformation_add_parameter.cpp27 uint32_t function_id, uint32_t parameter_fresh_id, in TransformationAddParameter() argument
30 message_.set_function_id(function_id); in TransformationAddParameter()
42 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
61 fuzzerutil::GetCallers(ir_context, message_.function_id())) { in IsApplicable()
102 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply()
Dtransformation_set_function_control.cpp25 uint32_t function_id, uint32_t function_control) { in TransformationSetFunctionControl() argument
26 message_.set_function_id(function_id); in TransformationSetFunctionControl()
91 if (function.DefInst().result_id() == message_.function_id()) { in FindFunctionDefInstruction()
Dtransformation_permute_function_parameters.cpp31 uint32_t function_id, uint32_t function_type_fresh_id, in TransformationPermuteFunctionParameters() argument
33 message_.set_function_id(function_id); in TransformationPermuteFunctionParameters()
45 fuzzerutil::FindFunction(ir_context, message_.function_id()); in IsApplicable()
86 auto* function = fuzzerutil::FindFunction(ir_context, message_.function_id()); in Apply()

1234