Home
last modified time | relevance | path

Searched refs:lcra_state (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/panfrost/util/
Dlcra.h33 struct lcra_state { struct
80 struct lcra_state * argument
85 lcra_free(struct lcra_state *l);
88 lcra_set_disjoint_class(struct lcra_state *l, unsigned c1, unsigned c2);
91 lcra_set_alignment(struct lcra_state *l, unsigned node, unsigned align_log2, unsigned bound);
94 lcra_restrict_range(struct lcra_state *l, unsigned node, unsigned len);
97 lcra_add_node_interference(struct lcra_state *l, unsigned i, unsigned cmask_i, unsigned j, unsigned…
100 lcra_solve(struct lcra_state *l);
103 lcra_set_node_spill_cost(struct lcra_state *l, unsigned node, signed cost);
106 lcra_get_best_spill_node(struct lcra_state *l);
Dlcra.c42 struct lcra_state *
46 struct lcra_state *l = calloc(1, sizeof(*l)); in lcra_alloc_equations()
67 lcra_free(struct lcra_state *l) in lcra_free()
86 lcra_set_alignment(struct lcra_state *l, unsigned node, unsigned align_log2, unsigned bound) in lcra_set_alignment()
92 lcra_set_disjoint_class(struct lcra_state *l, unsigned c1, unsigned c2) in lcra_set_disjoint_class()
99 lcra_restrict_range(struct lcra_state *l, unsigned node, unsigned len) in lcra_restrict_range()
110 lcra_add_node_interference(struct lcra_state *l, unsigned i, unsigned cmask_i, unsigned j, unsigned… in lcra_add_node_interference()
138 lcra_test_linear(struct lcra_state *l, unsigned *solutions, unsigned i) in lcra_test_linear()
159 lcra_solve(struct lcra_state *l) in lcra_solve()
204 lcra_set_node_spill_cost(struct lcra_state *l, unsigned node, signed cost) in lcra_set_node_spill_cost()
[all …]
/external/mesa3d/src/panfrost/bifrost/
Dbi_ra.c33 bi_compute_interference(bi_context *ctx, struct lcra_state *l) in bi_compute_interference()
64 static struct lcra_state *
69 struct lcra_state *l = in bi_allocate_registers()
101 bi_reg_from_index(struct lcra_state *l, unsigned index, unsigned offset) in bi_reg_from_index()
120 bi_adjust_src_ra(bi_instruction *ins, struct lcra_state *l, unsigned src) in bi_adjust_src_ra()
157 bi_adjust_dest_ra(bi_instruction *ins, struct lcra_state *l) in bi_adjust_dest_ra()
167 bi_install_registers(bi_context *ctx, struct lcra_state *l) in bi_install_registers()
275 bi_choose_spill_node(bi_context *ctx, struct lcra_state *l) in bi_choose_spill_node()
347 struct lcra_state *l = NULL; in bi_register_allocate()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_ra.c83 index_to_reg(compiler_context *ctx, struct lcra_state *l, unsigned reg, unsigned shift) in index_to_reg()
317 struct lcra_state *l) in mir_compute_interference()
391 static struct lcra_state *
408 struct lcra_state *l = lcra_alloc_equations(ctx->temp_count + 1, 5); in allocate_registers()
660 struct lcra_state *l, in install_registers_instr()
785 install_registers(compiler_context *ctx, struct lcra_state *l) in install_registers()
797 struct lcra_state *l) in mir_choose_spill_node()
958 struct lcra_state *l = NULL; in mir_ra()