Home
last modified time | relevance | path

Searched refs:nr_insn (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/intel/tools/
Di965_asm.c337 const int nr_insn = (p->next_insn_offset - start_offset) / 16; in main() local
342 for (int i = 0; i < nr_insn; i++) { in main()
/external/igt-gpu-tools/assembler/
Dbrw_eu.h52 unsigned nr_insn; member
96 return &p->store[p->nr_insn]; in current_insn()
Dbrw_eu.c194 p->nr_insn = 0; in brw_init_compile()
Dbrw_eu_compact.c688 for (src_offset = 0; src_offset < p->nr_insn * 16;) { in brw_compact_instructions()
790 p->nr_insn = p->next_insn_offset / 16; in brw_compact_instructions()
Dbrw_eu_emit.c755 if (p->nr_insn + 1 > p->store_size) { in brw_next_insn()
766 insn = &p->store[p->nr_insn++]; in brw_next_insn()
1254 struct brw_instruction *next_inst = &p->store[p->nr_insn]; in convert_IF_ELSE_to_ADD()
1580 push_loop_stack(p, &p->store[p->nr_insn]); in brw_DO()
1581 return &p->store[p->nr_insn]; in brw_DO()
1712 jmp_insn->bits3.ud = jmpi * (p->nr_insn - jmp_insn_idx - 1); in brw_land_fwd_jump()
/external/mesa3d/src/intel/compiler/
Dbrw_eu_emit.c644 brw_append_insns(struct brw_codegen *p, unsigned nr_insn, unsigned align) in brw_append_insns() argument
649 const unsigned start_insn = ALIGN(p->nr_insn, align_insn); in brw_append_insns()
650 const unsigned new_nr_insn = start_insn + nr_insn; in brw_append_insns()
660 if (p->nr_insn < start_insn) { in brw_append_insns()
661 memset(&p->store[p->nr_insn], 0, in brw_append_insns()
662 (start_insn - p->nr_insn) * sizeof(brw_inst)); in brw_append_insns()
665 assert(p->next_insn_offset == p->nr_insn * sizeof(brw_inst)); in brw_append_insns()
666 p->nr_insn = new_nr_insn; in brw_append_insns()
682 unsigned nr_insn = DIV_ROUND_UP(size, sizeof(brw_inst)); in brw_append_data() local
683 void *dst = brw_append_insns(p, nr_insn, align); in brw_append_data()
[all …]
Dbrw_eu.cpp334 p->nr_insn = 0; in brw_init_codegen()
396 p->nr_insn -= (p->next_insn_offset - start_offset) / sizeof(brw_inst); in brw_try_override_assembly()
397 p->nr_insn += sb.st_size / sizeof(brw_inst); in brw_try_override_assembly()
Dtest_eu_compact.cpp311 assert(p->nr_insn == 1); in run_tests()
Dbrw_eu.h87 #define brw_last_inst (&p->store[p->nr_insn - 1])
92 unsigned nr_insn; member
Dbrw_fs_generator.cpp249 int ip = p->nr_insn; in patch_discard_jumps_to_fb_writes()
1459 this->discard_halt_patches.push_tail(new(mem_ctx) ip_record(p->nr_insn)); in generate_discard_jump()
1917 p->nr_insn > 1 && in generate_code()
Dbrw_vec4_generator.cpp1537 unsigned pre_emit_nr_insn = p->nr_insn; in generate_code()
2149 assert(p->nr_insn == pre_emit_nr_insn + 1 || in generate_code()
Dtest_eu_validate.cpp119 #define last_inst (&p->store[p->nr_insn - 1])
129 p->nr_insn = 0; in clear_instructions()
Dbrw_eu_compact.c2446 p->nr_insn = p->next_insn_offset / sizeof(brw_inst); in brw_compact_instructions()