Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_ra.c31 struct lcra_state { struct
59 static struct lcra_state * argument
62 struct lcra_state *l = calloc(1, sizeof(*l)); in lcra_alloc_equations()
76 lcra_free(struct lcra_state *l) in lcra_free()
85 lcra_add_node_interference(struct lcra_state *l, unsigned i, unsigned cmask_i, unsigned j, unsigned… in lcra_add_node_interference()
110 lcra_test_linear(struct lcra_state *l, unsigned *solutions, unsigned i) in lcra_test_linear()
131 lcra_solve(struct lcra_state *l) in lcra_solve()
162 lcra_count_constraints(struct lcra_state *l, unsigned i) in lcra_count_constraints()
215 bi_mark_interference(bi_block *block, struct lcra_state *l, uint8_t *live, uint64_t preload_live, u… in bi_mark_interference()
278 bi_compute_interference(bi_context *ctx, struct lcra_state *l, bool full_regs) in bi_compute_interference()
[all …]
/third_party/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()
320 struct lcra_state *l) in mir_compute_interference()
410 static struct lcra_state *
427 struct lcra_state *l = lcra_alloc_equations(ctx->temp_count + 4, 5); in allocate_registers()
686 struct lcra_state *l, in install_registers_instr()
811 install_registers(compiler_context *ctx, struct lcra_state *l) in install_registers()
823 struct lcra_state *l) in mir_choose_spill_node()
1079 struct lcra_state *l = NULL; in mir_ra()