Home
last modified time | relevance | path

Searched refs:func_id (Results 1 – 17 of 17) sorted by relevance

/third_party/spirv-tools/source/opt/
Dwrap_opkill.cpp27 for (uint32_t func_id : func_to_process) { in Process() local
28 Function* func = context()->GetFunction(func_id); in Process()
65 uint32_t func_id = GetKillingFuncId(inst->opcode()); in ReplaceWithFunctionCall() local
66 if (func_id == 0) { in ReplaceWithFunctionCall()
70 ir_builder.AddFunctionCall(GetVoidTypeId(), func_id, {}); in ReplaceWithFunctionCall()
Dstruct_cfg_analysis.cpp239 uint32_t func_id = funcs_to_process.front(); in FindFuncsCalledFromContinue() local
241 Function* func = context_->GetFunction(func_id); in FindFuncsCalledFromContinue()
242 if (called_from_continue.insert(func_id).second) { in FindFuncsCalledFromContinue()
Dinstrument_pass.cpp791 uint32_t func_id = param2input_func_id_[param_cnt]; in GetDirectReadFunctionId() local
792 if (func_id != 0) return func_id; in GetDirectReadFunctionId()
794 func_id = TakeNextId(); in GetDirectReadFunctionId()
803 get_module()->context(), SpvOpFunction, ibuf_type_id, func_id, in GetDirectReadFunctionId()
866 param2input_func_id_[param_cnt] = func_id; in GetDirectReadFunctionId()
867 return func_id; in GetDirectReadFunctionId()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dwrap_opkill.cpp27 for (uint32_t func_id : func_to_process) { in Process() local
28 Function* func = context()->GetFunction(func_id); in Process()
65 uint32_t func_id = GetKillingFuncId(inst->opcode()); in ReplaceWithFunctionCall() local
66 if (func_id == 0) { in ReplaceWithFunctionCall()
70 ir_builder.AddFunctionCall(GetVoidTypeId(), func_id, {}); in ReplaceWithFunctionCall()
Dstruct_cfg_analysis.cpp239 uint32_t func_id = funcs_to_process.front(); in FindFuncsCalledFromContinue() local
241 Function* func = context_->GetFunction(func_id); in FindFuncsCalledFromContinue()
242 if (called_from_continue.insert(func_id).second) { in FindFuncsCalledFromContinue()
Dinstrument_pass.cpp791 uint32_t func_id = param2input_func_id_[param_cnt]; in GetDirectReadFunctionId() local
792 if (func_id != 0) return func_id; in GetDirectReadFunctionId()
794 func_id = TakeNextId(); in GetDirectReadFunctionId()
803 get_module()->context(), SpvOpFunction, ibuf_type_id, func_id, in GetDirectReadFunctionId()
866 param2input_func_id_[param_cnt] = func_id; in GetDirectReadFunctionId()
867 return func_id; in GetDirectReadFunctionId()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dwrap_opkill.cpp27 for (uint32_t func_id : func_to_process) { in Process() local
28 Function* func = context()->GetFunction(func_id); in Process()
65 uint32_t func_id = GetKillingFuncId(inst->opcode()); in ReplaceWithFunctionCall() local
66 if (func_id == 0) { in ReplaceWithFunctionCall()
70 ir_builder.AddFunctionCall(GetVoidTypeId(), func_id, {}); in ReplaceWithFunctionCall()
Dstruct_cfg_analysis.cpp239 uint32_t func_id = funcs_to_process.front(); in FindFuncsCalledFromContinue() local
241 Function* func = context_->GetFunction(func_id); in FindFuncsCalledFromContinue()
242 if (called_from_continue.insert(func_id).second) { in FindFuncsCalledFromContinue()
Dinstrument_pass.cpp791 uint32_t func_id = param2input_func_id_[param_cnt]; in GetDirectReadFunctionId() local
792 if (func_id != 0) return func_id; in GetDirectReadFunctionId()
794 func_id = TakeNextId(); in GetDirectReadFunctionId()
803 get_module()->context(), SpvOpFunction, ibuf_type_id, func_id, in GetDirectReadFunctionId()
866 param2input_func_id_[param_cnt] = func_id; in GetDirectReadFunctionId()
867 return func_id; in GetDirectReadFunctionId()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/pyfunc/
Dpy_func_cpu_kernel.cc276 py::function PyFuncCpuKernel::GetPythonFunc(const int64_t &func_id) { in GetPythonFunc() argument
287 py::object py_func_obj = get_pyfunc(py::int_(func_id)); in GetPythonFunc()
289 MS_LOG(EXCEPTION) << "Cannot find python func with id: " << func_id; in GetPythonFunc()
Dpy_func_cpu_kernel.h58 py::function GetPythonFunc(const int64_t &func_id);
/third_party/boost/libs/python/doc/reference/
Doverloads.qbk33 BOOST_PYTHON_FUNCTION_OVERLOADS(name, func_id, min_args, max_args)
36 ``func_id(a1, a2,...ai);``
/third_party/mbedtls/tests/scripts/
Dgenerate_test_code.py907 func_id, func_args = func_info[test_function_name]
908 out_data_f.write(str(func_id))
/third_party/openh264/docs/
Ddoxygen2rst.py480 func_id = member.attrib["id"]
481 page_id, ref_id = get_page(func_id)
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc610 auto func_id = func_op.to_i(); in GenerateFunction() local
613 {Operand::Int(func_id), in GenerateFunction()
666 if (!GenerateEntryPoint(func_ast, func_id)) { in GenerateFunction()
669 if (!GenerateExecutionModes(func_ast, func_id)) { in GenerateFunction()
674 func_symbol_to_id_[func_ast->symbol] = func_id; in GenerateFunction()
2242 auto func_id = func_symbol_to_id_[ident->symbol]; in GenerateFunctionCall() local
2243 if (func_id == 0) { in GenerateFunctionCall()
2248 ops.push_back(Operand::Int(func_id)); in GenerateFunctionCall()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.hpp793 void extract_global_variables_from_function(uint32_t func_id, std::set<uint32_t> &added_arg_ids,
Dspirv_msl.cpp1567 void CompilerMSL::extract_global_variables_from_function(uint32_t func_id, std::set<uint32_t> &adde… in extract_global_variables_from_function() argument
1572 if (processed_func_ids.find(func_id) != processed_func_ids.end()) in extract_global_variables_from_function()
1575 added_arg_ids = function_global_vars[func_id]; in extract_global_variables_from_function()
1579 processed_func_ids.insert(func_id); in extract_global_variables_from_function()
1581 auto &func = get<SPIRFunction>(func_id); in extract_global_variables_from_function()
1753 function_global_vars[func_id] = added_arg_ids; in extract_global_variables_from_function()
1756 if (func_id != ir.default_entry_point) in extract_global_variables_from_function()