Searched refs:ra_class (Results 1 – 4 of 4) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | register_allocate.h | 39 struct ra_class; 56 struct ra_class *ra_alloc_reg_class(struct ra_regs *regs); 57 struct ra_class *ra_alloc_contig_reg_class(struct ra_regs *regs, int contig_len); 58 unsigned int ra_class_index(struct ra_class *c); 69 void ra_class_add_reg(struct ra_class *c, unsigned int reg); 70 struct ra_class *ra_get_class_from_index(struct ra_regs *regs, unsigned int c); 92 void ra_set_node_class(struct ra_graph *g, unsigned int n, struct ra_class *c); 93 struct ra_class *ra_get_node_class(struct ra_graph *g, unsigned int n); 94 unsigned int ra_add_node(struct ra_graph *g, struct ra_class *c);
|
D | register_allocate_internal.h | 50 struct ra_class **classes; 56 struct ra_class { struct 172 bool ra_class_allocations_conflict(struct ra_class *c1, unsigned int r1, 173 struct ra_class *c2, unsigned int r2);
|
D | register_allocate.c | 216 struct ra_class * 219 struct ra_class *class; in ra_alloc_reg_class() 221 regs->classes = reralloc(regs->regs, regs->classes, struct ra_class *, in ra_alloc_reg_class() 224 class = rzalloc(regs, struct ra_class); in ra_alloc_reg_class() 243 struct ra_class * 246 struct ra_class *c = ra_alloc_reg_class(regs); in ra_alloc_contig_reg_class() 254 struct ra_class * 261 ra_class_index(struct ra_class *c) in ra_class_index() 267 ra_class_add_reg(struct ra_class *class, unsigned int r) in ra_class_add_reg() 280 reg_belongs_to_class(unsigned int r, struct ra_class *c) in reg_belongs_to_class() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | register_allocate_test.cpp | 53 struct ra_class *reg32low = ra_get_class_from_index(regs, 0); in thumb_checks() 54 struct ra_class *reg64low = ra_get_class_from_index(regs, 1); in thumb_checks() 55 struct ra_class *reg96 = ra_get_class_from_index(regs, 2); in thumb_checks() 97 struct ra_class *reg32low = ra_alloc_reg_class(regs); in TEST_F() 106 struct ra_class *reg64low = ra_alloc_reg_class(regs); in TEST_F() 115 struct ra_class *reg96 = ra_alloc_reg_class(regs); in TEST_F() 133 struct ra_class *reg32low = ra_alloc_contig_reg_class(regs, 1); in TEST_F() 138 struct ra_class *reg64low = ra_alloc_contig_reg_class(regs, 2); in TEST_F() 143 struct ra_class *reg96 = ra_alloc_contig_reg_class(regs, 3); in TEST_F() 156 struct ra_class *low = ra_alloc_contig_reg_class(regs, 1); in TEST_F() [all …]
|