Lines Matching refs:EXEC
96 if ((cf->cf_type == EXEC) || (cf->cf_type == EXEC_END)) {
99 if (cf->exec.addr && (cf->exec.addr != addr))
100 WARN_MSG("invalid addr '%d' at CF %d", cf->exec.addr, i);
101 if (cf->exec.cnt && (cf->exec.cnt != cf->exec.instrs_count))
102 WARN_MSG("invalid cnt '%d' at CF %d", cf->exec.cnt, i);
104 for (j = cf->exec.instrs_count - 1; j >= 0; j--) {
105 struct ir2_instruction *instr = cf->exec.instrs[j];
113 cf->exec.addr = addr;
114 cf->exec.cnt = cf->exec.instrs_count;
115 cf->exec.sequence = sequence;
117 addr += cf->exec.instrs_count;
171 if ((cf->cf_type == EXEC) || (cf->cf_type == EXEC_END)) {
172 for (j = 0; j < cf->exec.instrs_count; j++) {
173 ret = instr_emit(cf->exec.instrs[j], ptr, idx++, info);
217 case EXEC:
219 assert(cf->exec.addr <= 0x1ff);
220 assert(cf->exec.cnt <= 0x6);
221 assert(cf->exec.sequence <= 0xfff);
222 instr->exec.address = cf->exec.addr;
223 instr->exec.count = cf->exec.cnt;
224 instr->exec.serialize = cf->exec.sequence;
267 assert(cf->exec.instrs_count < ARRAY_SIZE(cf->exec.instrs));
268 cf->exec.instrs[cf->exec.instrs_count++] = instr;