Home
last modified time | relevance | path

Searched refs:func_id (Results 1 - 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dwrap_opkill.cpp27 for (uint32_t func_id : func_to_process) { in Process()
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()
H A 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()
H A 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/
H A Dwrap_opkill.cpp27 for (uint32_t func_id : func_to_process) { in Process()
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()
H A 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()
H A 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/spirv-tools/source/opt/
H A Dwrap_opkill.cpp27 for (uint32_t func_id : func_to_process) { in Process()
28 Function* func = context()->GetFunction(func_id); in Process()
66 uint32_t func_id = GetKillingFuncId(inst->opcode()); in ReplaceWithFunctionCall() local
67 if (func_id == 0) { in ReplaceWithFunctionCall()
71 ir_builder.AddFunctionCall(GetVoidTypeId(), func_id, {}); in ReplaceWithFunctionCall()
H A Dinst_buff_addr_check_pass.cpp209 const uint32_t func_id = TakeNextId(); in GetSearchAndTestFuncId() local
211 StartFunction(func_id, type_mgr->GetBoolType(), param_types); in GetSearchAndTestFuncId()
214 context()->AddDebug2Inst(NewName(func_id, func_name)); in GetSearchAndTestFuncId()
217 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {func_id}}, in GetSearchAndTestFuncId()
227 search_test_func_id_ = func_id; in GetSearchAndTestFuncId()
249 const uint32_t func_id = GetSearchAndTestFuncId(); in GenSearchAndTest() local
255 return GenReadFunctionCall(GetBoolId(), func_id, args, builder); in GenSearchAndTest()
H A Dstruct_cfg_analysis.cpp238 uint32_t func_id = funcs_to_process.front(); in FindFuncsCalledFromContinue() local
240 Function* func = context_->GetFunction(func_id); in FindFuncsCalledFromContinue()
241 if (called_from_continue.insert(func_id).second) { in FindFuncsCalledFromContinue()
H A Dinst_bindless_check_pass.cpp71 const uint32_t func_id = TakeNextId(); in GenDescCheckFunctionId() local
73 StartFunction(func_id, type_mgr->GetBoolType(), param_types); in GenDescCheckFunctionId()
79 context()->AddDebug2Inst(NewName(func_id, func_name)); in GenDescCheckFunctionId()
81 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {func_id}}, in GenDescCheckFunctionId()
91 check_desc_func_id_ = func_id; in GenDescCheckFunctionId()
94 param2output_func_id_[3] = func_id; in GenDescCheckFunctionId()
106 const uint32_t func_id = GenDescCheckFunctionId(); in GenDescCheckCall() local
115 return GenReadFunctionCall(GetBoolId(), func_id, args, builder); in GenDescCheckCall()
H A Dinstrument_pass.h111 uint32_t GenReadFunctionCall(uint32_t return_id, uint32_t func_id,
124 uint32_t func_id, const analysis::Type* return_type,
H A Dinstrument_pass.cpp84 uint32_t func_id, const analysis::Type* return_type, in StartFunction()
96 type_mgr->GetId(return_type), func_id, operands); in StartFunction()
291 uint32_t return_id, uint32_t func_id, in GenReadFunctionCall()
313 builder.AddFunctionCall(return_id, func_id, func_call_args)->result_id(); in GenReadFunctionCall()
83 StartFunction( uint32_t func_id, const analysis::Type* return_type, const std::vector<const analysis::Type*>& param_types) StartFunction() argument
290 GenReadFunctionCall( uint32_t return_id, uint32_t func_id, const std::vector<uint32_t>& func_call_args, InstructionBuilder* ref_builder) GenReadFunctionCall() argument
/third_party/node/deps/v8/src/parsing/
H A Dpreparser.cc285 int func_id = GetNextFunctionLiteralId(); in ParseFunctionLiteral() local
339 GetLastFunctionLiteralId() - func_id); in ParseFunctionLiteral()
/third_party/mbedtls/tests/scripts/
H A Dgenerate_test_code.py1022 func_id, func_args = \
1024 out_data_f.write(str(func_id))
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A 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/rust/crates/bindgen/bindgen/ir/
H A Dcontext.rs1443 pub fn resolve_func(&self, func_id: FunctionId) -> &Function { in resolve_func()
1444 self.resolve_item(func_id).kind().expect_function() in resolve_func()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_msl.hpp793 void extract_global_variables_from_function(uint32_t func_id, std::set<uint32_t> &added_arg_ids,
H A Dspirv_msl.cpp1567 void CompilerMSL::extract_global_variables_from_function(uint32_t func_id, std::set<uint32_t> &added_arg_ids, 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()
/third_party/libbpf/src/
H A Dlibbpf.c7215 static bool insn_is_helper_call(struct bpf_insn *insn, enum bpf_func_id *func_id) argument
7222 *func_id = insn->imm;
7231 enum bpf_func_id func_id; local
7238 if (!insn_is_helper_call(insn, &func_id))
7245 switch (func_id) {

Completed in 56 milliseconds