Lines Matching refs:inst
271 struct radv_shader_inst *inst = &instructions[*num];
280 assert(len < ARRAY_SIZE(inst->text));
281 memcpy(inst->text, disasm, len);
282 inst->text[len] = 0;
283 inst->offset = last_inst ? last_inst->offset + last_inst->size : 0;
288 inst->size = next - semicolon > 16 ? 8 : 4;
290 snprintf(inst->text + len, ARRAY_SIZE(inst->text) - len,
291 " [PC=0x%" PRIx64 ", off=%u, size=%u]", start_addr + inst->offset, inst->offset,
292 inst->size);
294 last_inst = inst;
340 struct radv_shader_inst *inst = &instructions[i];
342 fprintf(f, "%s\n", inst->text);
345 while (num_waves && start_addr + inst->offset == waves->pc) {
351 if (inst->size == 4) {
946 struct radv_shader_inst *inst = &instructions[i];
948 if (start_addr + inst->offset == faulty_pc) {
950 fprintf(stderr, "%s\n", inst->text);
953 fprintf(stderr, "%s\n", inst->text);