Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/compiler/
Daco_form_hard_clauses.cpp39 void emit_clause(Builder& bld, unsigned num_instrs, aco_ptr<Instruction> *instrs) in emit_clause() argument
44 for (; (start < num_instrs) && instrs[start]->definitions.empty(); start++) in emit_clause()
48 for (; (end < num_instrs) && !instrs[end]->definitions.empty(); end++) in emit_clause()
55 for (unsigned i = start; i < num_instrs; i++) in emit_clause()
64 unsigned num_instrs = 0; in form_hard_clauses() local
91 if (type != current_type || resource != current_resource || num_instrs == 64) { in form_hard_clauses()
92 emit_clause(bld, num_instrs, current_instrs); in form_hard_clauses()
93 num_instrs = 0; in form_hard_clauses()
103 current_instrs[num_instrs++] = std::move(instr); in form_hard_clauses()
106 emit_clause(bld, num_instrs, current_instrs); in form_hard_clauses()
/external/mesa3d/src/panfrost/bifrost/
Ddisassemble.c436 unsigned num_instrs = 0; in dump_clause() local
486 num_instrs = 2; in dump_clause()
495 num_instrs = 3; in dump_clause()
507 num_instrs = 4; in dump_clause()
517 num_instrs = 6; in dump_clause()
527 num_instrs = 7; in dump_clause()
542 num_instrs = idx + 1; in dump_clause()
557 num_instrs = 1; in dump_clause()
654 for (i = 0; i < num_instrs; i++) { in dump_clause()
656 if (i + 1 == num_instrs) { in dump_clause()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_type.c400 unsigned num_instrs = 0; in lp_build_count_instructions() local
408 ++num_instrs; in lp_build_count_instructions()
415 return num_instrs; in lp_build_count_instructions()
426 unsigned num_instrs = 0; in lp_build_count_ir_module() local
430 num_instrs += lp_build_count_instructions(func); in lp_build_count_ir_module()
433 return num_instrs; in lp_build_count_ir_module()
/external/mesa3d/src/compiler/nir/
Dnir_opt_gcm.c79 unsigned num_instrs; member
185 state->num_instrs = 0; in gcm_pin_instructions()
190 instr->index = state->num_instrs++; in gcm_pin_instructions()
620 rzalloc_array(NULL, struct gcm_instr_info, state.num_instrs); in opt_gcm_impl()
Dnir_serialize.c1809 unsigned num_instrs = blob_read_uint32(ctx->blob); in read_block() local
1810 for (unsigned i = 0; i < num_instrs;) { in read_block()