Home
last modified time | relevance | path

Searched refs:num_instrs (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_form_hard_clauses.cpp42 emit_clause(Builder& bld, unsigned num_instrs, aco_ptr<Instruction>* instrs) in emit_clause() argument
47 for (; (start < num_instrs) && instrs[start]->definitions.empty(); start++) in emit_clause()
51 for (; (end < num_instrs) && !instrs[end]->definitions.empty(); end++) in emit_clause()
58 for (unsigned i = start; i < num_instrs; i++) in emit_clause()
68 unsigned num_instrs = 0; in form_hard_clauses() local
94 if (type != current_type || num_instrs == 64 || in form_hard_clauses()
95 (num_instrs && !should_form_clause(current_instrs[0].get(), instr.get()))) { in form_hard_clauses()
96 emit_clause(bld, num_instrs, current_instrs); in form_hard_clauses()
97 num_instrs = 0; in form_hard_clauses()
106 current_instrs[num_instrs++] = std::move(instr); in form_hard_clauses()
[all …]
/third_party/mesa3d/src/panfrost/bifrost/
Ddisassemble.c446 unsigned num_instrs = 0; in dump_clause() local
495 num_instrs = 2; in dump_clause()
504 num_instrs = 3; in dump_clause()
516 num_instrs = 4; in dump_clause()
526 num_instrs = 6; in dump_clause()
536 num_instrs = 7; in dump_clause()
551 num_instrs = idx + 1; in dump_clause()
566 num_instrs = 1; in dump_clause()
602 ASSERTED bool valid_count = pos_table[pos].nr_tuples == num_instrs; in dump_clause()
651 for (i = 0; i < num_instrs; i++) { in dump_clause()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_type.c424 unsigned num_instrs = 0; in lp_build_count_instructions() local
432 ++num_instrs; in lp_build_count_instructions()
439 return num_instrs; in lp_build_count_instructions()
450 unsigned num_instrs = 0; in lp_build_count_ir_module() local
454 num_instrs += lp_build_count_instructions(func); in lp_build_count_ir_module()
457 return num_instrs; in lp_build_count_ir_module()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_gcm.c95 unsigned num_instrs; member
309 state->num_instrs = 0; in gcm_pin_instructions()
314 instr->index = state->num_instrs++; in gcm_pin_instructions()
821 rzalloc_array(NULL, struct gcm_instr_info, state.num_instrs); in opt_gcm_impl()
Dnir_serialize.c1854 unsigned num_instrs = blob_read_uint32(ctx->blob); in read_block() local
1855 for (unsigned i = 0; i < num_instrs;) { in read_block()