Lines Matching refs:midgard_instruction
66 add_dependency(struct util_dynarray *table, unsigned index, uint16_t mask, midgard_instruction **in… in add_dependency()
99 mir_create_dependency_graph(midgard_instruction **instructions, unsigned count, unsigned node_count) in mir_create_dependency_graph()
228 mir_is_scalar(midgard_instruction *ains) in mir_is_scalar()
258 bytes_for_instruction(midgard_instruction *ains) in bytes_for_instruction()
273 static midgard_instruction **
281 midgard_instruction **instructions = in flatten_mir()
282 calloc(sizeof(midgard_instruction *), *len); in flatten_mir()
296 mir_initialize_worklist(BITSET_WORD *worklist, midgard_instruction **instructions, unsigned count) in mir_initialize_worklist()
311 midgard_instruction **instructions, midgard_instruction *done) in mir_update_worklist()
393 mir_adjust_constant(midgard_instruction *ins, unsigned src, in mir_adjust_constant()
469 mir_adjust_constants(midgard_instruction *ins, in mir_adjust_constants()
525 mir_pipeline_count(midgard_instruction *ins) in mir_pipeline_count()
554 mir_is_add_2(midgard_instruction *ins) in mir_is_add_2()
580 mir_adjust_unit(midgard_instruction *ins, unsigned unit) in mir_adjust_unit()
596 mir_has_unit(midgard_instruction *ins, unsigned unit) in mir_has_unit()
612 mir_live_effect(uint16_t *liveness, midgard_instruction *ins, bool destructive) in mir_live_effect()
654 static midgard_instruction *
656 midgard_instruction **instructions, in mir_choose_instruction()
767 midgard_instruction *I = instructions[best_index]; in mir_choose_instruction()
794 midgard_instruction **instructions, in mir_choose_bundle()
810 …midgard_instruction *chosen = mir_choose_instruction(instructions, liveness, worklist, count, &pre… in mir_choose_bundle()
841 mir_choose_alu(midgard_instruction **slot, in mir_choose_alu()
842 midgard_instruction **instructions, in mir_choose_alu()
878 midgard_instruction **instructions, in mir_comparison_mobile()
930 static midgard_instruction *
933 midgard_instruction **instructions, in mir_schedule_comparison()
937 midgard_instruction *user) in mir_schedule_comparison()
953 midgard_instruction mov = v_mov(cond, cond); in mir_schedule_comparison()
963 static midgard_instruction *
967 midgard_instruction **instructions, in mir_schedule_condition()
968 midgard_instruction *last) in mir_schedule_condition()
979 midgard_instruction *cond = mir_schedule_comparison( in mir_schedule_condition()
1020 midgard_instruction **instructions, in mir_schedule_texture()
1031 midgard_instruction *ins = in mir_schedule_texture()
1050 midgard_instruction **instructions, in mir_schedule_ldst()
1063 midgard_instruction *ins = in mir_schedule_ldst()
1066 midgard_instruction *pair = in mir_schedule_ldst()
1092 midgard_instruction **instructions, in mir_schedule_zs_write()
1095 midgard_instruction *branch, in mir_schedule_zs_write()
1096 midgard_instruction **smul, in mir_schedule_zs_write()
1097 midgard_instruction **vadd, in mir_schedule_zs_write()
1098 midgard_instruction **vlut, in mir_schedule_zs_write()
1108 midgard_instruction **units[] = { smul, vadd, vlut }; in mir_schedule_zs_write()
1116 midgard_instruction *ins = in mir_schedule_zs_write()
1132 midgard_instruction *mov = ralloc(ctx, midgard_instruction); in mir_schedule_zs_write()
1159 midgard_instruction **instructions, in mir_schedule_alu()
1174 midgard_instruction *vmul = NULL; in mir_schedule_alu()
1175 midgard_instruction *vadd = NULL; in mir_schedule_alu()
1176 midgard_instruction *vlut = NULL; in mir_schedule_alu()
1177 midgard_instruction *smul = NULL; in mir_schedule_alu()
1178 midgard_instruction *sadd = NULL; in mir_schedule_alu()
1179 midgard_instruction *branch = NULL; in mir_schedule_alu()
1186 …midgard_instruction *cond = mir_schedule_condition(ctx, &predicate, worklist, len, instructions, b… in mir_schedule_alu()
1201 sadd = ralloc(ctx, midgard_instruction); in mir_schedule_alu()
1228 vadd = ralloc(ctx, midgard_instruction); in mir_schedule_alu()
1282 midgard_instruction *ins = vadd_csel ? vadd : smul; in mir_schedule_alu()
1283 …midgard_instruction *cond = mir_schedule_condition(ctx, &predicate, worklist, len, instructions, i… in mir_schedule_alu()
1299 midgard_instruction *stages[] = { sadd, vadd, smul, vlut }; in mir_schedule_alu()
1326 struct midgard_instruction *peaked = in mir_schedule_alu()
1344 vmul = ralloc(ctx, midgard_instruction); in mir_schedule_alu()
1372 midgard_instruction *stages[] = { vmul, sadd, vadd, smul, vlut, branch }; in mir_schedule_alu()
1426 midgard_instruction **instructions = flatten_mir(block, &len); in schedule_block()
1517 midgard_instruction mov = v_mov(I->src[s], temp); in mir_lower_ldst()
1540 midgard_instruction *I = mir_last_in_block(blk); in mir_lower_blend_input()
1555 midgard_instruction mov = v_mov(src, temp); in mir_lower_blend_input()