Lines Matching refs:fp
44 bi_print_slots(bi_registers *regs, FILE *fp) in bi_print_slots() argument
48 fprintf(fp, "slot %u: %u\n", i, regs->slot[i]); in bi_print_slots()
52 fprintf(fp, "slot 2 (%s%s): %u\n", in bi_print_slots()
60 fprintf(fp, "slot 3 (%s %s): %u\n", in bi_print_slots()
68 bi_print_tuple(bi_tuple *tuple, FILE *fp) in bi_print_tuple() argument
73 fprintf(fp, (i == 0) ? "\t* " : "\t+ "); in bi_print_tuple()
76 bi_print_instr(ins[i], fp); in bi_print_tuple()
78 fprintf(fp, "NOP\n"); in bi_print_tuple()
83 bi_print_clause(bi_clause *clause, FILE *fp) in bi_print_clause() argument
85 fprintf(fp, "id(%u)", clause->scoreboard_id); in bi_print_clause()
88 fprintf(fp, " wait("); in bi_print_clause()
92 fprintf(fp, "%u ", i); in bi_print_clause()
95 fprintf(fp, ")"); in bi_print_clause()
98 fprintf(fp, " %s", bi_flow_control_name(clause->flow_control)); in bi_print_clause()
101 fprintf(fp, " no_prefetch"); in bi_print_clause()
104 fprintf(fp, " osrb"); in bi_print_clause()
107 fprintf(fp, " td"); in bi_print_clause()
110 fprintf(fp, " pcrel(%u)", clause->pcrel_idx); in bi_print_clause()
112 fprintf(fp, "\n"); in bi_print_clause()
115 bi_print_tuple(&clause->tuples[i], fp); in bi_print_clause()
119 fprintf(fp, "%" PRIx64 " ", clause->constants[i]); in bi_print_clause()
122 fprintf(fp, "*"); in bi_print_clause()
124 fprintf(fp, "\n"); in bi_print_clause()
127 fprintf(fp, "\n"); in bi_print_clause()
131 bi_print_scoreboard_line(unsigned slot, const char *name, uint64_t mask, FILE *fp) in bi_print_scoreboard_line() argument
136 fprintf(fp, "slot %u %s:", slot, name); in bi_print_scoreboard_line()
139 fprintf(fp, " r%" PRId64, reg); in bi_print_scoreboard_line()
141 fprintf(fp, "\n"); in bi_print_scoreboard_line()
145 bi_print_scoreboard(struct bi_scoreboard_state *state, FILE *fp) in bi_print_scoreboard() argument
148 bi_print_scoreboard_line(i, "reads", state->read[i], fp); in bi_print_scoreboard()
149 bi_print_scoreboard_line(i, "writes", state->write[i], fp); in bi_print_scoreboard()
154 bi_print_block(bi_block *block, FILE *fp) in bi_print_block() argument
157 bi_print_scoreboard(&block->scoreboard_in, fp); in bi_print_block()
158 fprintf(fp, "\n"); in bi_print_block()
161 fprintf(fp, "block%u {\n", block->index); in bi_print_block()
165 bi_print_clause(clause, fp); in bi_print_block()
168 bi_print_instr((bi_instr *) ins, fp); in bi_print_block()
171 fprintf(fp, "}"); in bi_print_block()
174 fprintf(fp, " -> "); in bi_print_block()
177 fprintf(fp, "block%u ", succ->index); in bi_print_block()
181 fprintf(fp, " from"); in bi_print_block()
184 fprintf(fp, " block%u", (*pred)->index); in bi_print_block()
188 fprintf(fp, "\n"); in bi_print_block()
189 bi_print_scoreboard(&block->scoreboard_out, fp); in bi_print_block()
192 fprintf(fp, "\n\n"); in bi_print_block()
196 bi_print_shader(bi_context *ctx, FILE *fp) in bi_print_shader() argument
199 bi_print_block(block, fp); in bi_print_shader()