Searched refs:nr_insn (Results 1 – 13 of 13) sorted by relevance
337 const int nr_insn = (p->next_insn_offset - start_offset) / 16; in main() local342 for (int i = 0; i < nr_insn; i++) { in main()
52 unsigned nr_insn; member96 return &p->store[p->nr_insn]; in current_insn()
194 p->nr_insn = 0; in brw_init_compile()
688 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()
755 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()
644 brw_append_insns(struct brw_codegen *p, unsigned nr_insn, unsigned align) in brw_append_insns() argument649 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() local683 void *dst = brw_append_insns(p, nr_insn, align); in brw_append_data()[all …]
334 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()
311 assert(p->nr_insn == 1); in run_tests()
87 #define brw_last_inst (&p->store[p->nr_insn - 1])92 unsigned nr_insn; member
249 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()
1537 unsigned pre_emit_nr_insn = p->nr_insn; in generate_code()2149 assert(p->nr_insn == pre_emit_nr_insn + 1 || in generate_code()
119 #define last_inst (&p->store[p->nr_insn - 1])129 p->nr_insn = 0; in clear_instructions()
2446 p->nr_insn = p->next_insn_offset / sizeof(brw_inst); in brw_compact_instructions()