Searched refs:inst_ptr (Results 1 – 3 of 3) sorted by relevance
189 int inst_ptr; /* current instruction pointer */ member835 assert(c->inst_ptr <= ETNA_MAX_INSTRUCTIONS); in emit_inst()853 etna_assemble(&c->code[c->inst_ptr * 4], &(struct etna_inst) { in emit_inst()861 c->inst_ptr++; in emit_inst()884 etna_assemble(&c->code[c->inst_ptr * 4], &(struct etna_inst) { in emit_inst()891 c->inst_ptr++; in emit_inst()907 etna_assemble(&c->code[c->inst_ptr * 4], inst); in emit_inst()908 c->inst_ptr++; in emit_inst()1052 label->inst_idx = c->inst_ptr; in label_place()1063 assert(c->inst_ptr < ETNA_MAX_INSTRUCTIONS); in label_mark_use()[all …]
45 int inst_ptr; /* current instruction pointer */ member333 c->code[c->inst_ptr++] = *inst; in emit_inst()
94 c->block_ptr[block] = c->inst_ptr; in etna_emit_block_start()1154 if (!c->inst_ptr) in etna_compile_shader_nir()1158 uint32_t *code = MALLOC(c->inst_ptr * 16); in etna_compile_shader_nir()1159 for (unsigned i = 0; i < c->inst_ptr; i++) { in etna_compile_shader_nir()1168 v->code_size = c->inst_ptr * 4; in etna_compile_shader_nir()1170 v->needs_icache = c->inst_ptr > specs->max_instructions; in etna_compile_shader_nir()