Lines Matching refs:ra_graph
161 struct ra_graph { struct
178 unsigned int (*select_reg_callback)(struct ra_graph *g, BITSET_WORD *regs, argument
395 ra_add_node_adjacency(struct ra_graph *g, unsigned int n1, unsigned int n2) in ra_add_node_adjacency()
417 struct ra_graph *
420 struct ra_graph *g; in ra_alloc_interference_graph()
423 g = rzalloc(NULL, struct ra_graph); in ra_alloc_interference_graph()
446 void ra_set_select_reg_callback(struct ra_graph *g, in ra_set_select_reg_callback()
447 unsigned int (*callback)(struct ra_graph *g, in ra_set_select_reg_callback()
457 ra_set_node_class(struct ra_graph *g, in ra_set_node_class()
464 ra_add_node_interference(struct ra_graph *g, in ra_add_node_interference()
474 pq_test(struct ra_graph *g, unsigned int n) in pq_test()
482 decrement_q(struct ra_graph *g, unsigned int n) in decrement_q()
509 ra_simplify(struct ra_graph *g) in ra_simplify()
556 ra_any_neighbors_conflict(struct ra_graph *g, unsigned int n, unsigned int r) in ra_any_neighbors_conflict()
579 ra_compute_available_regs(struct ra_graph *g, unsigned int n, BITSET_WORD *regs) in ra_compute_available_regs()
615 ra_select(struct ra_graph *g) in ra_select()
681 ra_allocate(struct ra_graph *g) in ra_allocate()
688 ra_get_node_reg(struct ra_graph *g, unsigned int n) in ra_get_node_reg()
707 ra_set_node_reg(struct ra_graph *g, unsigned int n, unsigned int reg) in ra_set_node_reg()
714 ra_get_spill_benefit(struct ra_graph *g, unsigned int n) in ra_get_spill_benefit()
740 ra_get_best_spill_node(struct ra_graph *g) in ra_get_best_spill_node()
777 ra_set_node_spill_cost(struct ra_graph *g, unsigned int n, float cost) in ra_set_node_spill_cost()