Home
last modified time | relevance | path

Searched refs:bi_index (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_compile.c77 static bi_index
92 static bi_index
106 static inline bi_index
112 static inline bi_index
140 bi_index_to_key(bi_index idx) in bi_index_to_key()
154 static bi_index
155 bi_extract(bi_builder *b, bi_index vec, unsigned channel) in bi_extract()
167 bi_index *components = in bi_extract()
185 bi_cache_collect(bi_builder *b, bi_index dst, bi_index *s, unsigned n) in bi_cache_collect()
188 bi_index *channels = ralloc_array(b->shader, bi_index, n); in bi_cache_collect()
[all …]
Dcompiler.h139 } bi_index; typedef
141 static inline bi_index
144 return (bi_index) { in bi_get_index()
153 static inline bi_index
158 return (bi_index) { in bi_register()
165 static inline bi_index
168 return (bi_index) { in bi_imm_u32()
175 static inline bi_index
181 static inline bi_index
184 return (bi_index) { .type = BI_INDEX_NULL }; in bi_null()
[all …]
Dbi_opt_copy_prop.c89 bi_index *replacement = calloc(sizeof(bi_index), ctx->ssa_alloc); in bi_opt_copy_prop()
93 bi_index replace = ins->src[0]; in bi_opt_copy_prop()
98 bi_index chained = replacement[replace.value]; in bi_opt_copy_prop()
108 bi_index use = ins->src[s]; in bi_opt_copy_prop()
113 bi_index repl = replacement[use.value]; in bi_opt_copy_prop()
Dbi_ra.c460 static bi_index
461 bi_reg_from_index(bi_context *ctx, struct lcra_state *l, bi_index index) in bi_reg_from_index()
484 bi_index new_index = bi_register(solution + index.offset); in bi_reg_from_index()
526 bi_rewrite_index_src_single(bi_instr *ins, bi_index old, bi_index new) in bi_rewrite_index_src_single()
612 bi_count_read_index(bi_instr *I, bi_index index) in bi_count_read_index()
631 static bi_index
638 bi_load_tl(bi_builder *b, unsigned bits, bi_index src, unsigned offset) in bi_load_tl()
650 bi_store_tl(bi_builder *b, unsigned bits, bi_index src, unsigned offset) in bi_store_tl()
662 bi_spill_register(bi_context *ctx, bi_index index, uint32_t offset) in bi_spill_register()
673 bi_index tmp = bi_temp(ctx); in bi_spill_register()
[all …]
Dbi_opt_cse.c43 hash_index(uint32_t hash, bi_index index) in hash_index()
96 bi_index s1 = i1->src[s], s2 = i2->src[s]; in instrs_equal()
163 bi_index *replacement = calloc(sizeof(bi_index), ctx->ssa_alloc); in bi_opt_cse()
176 bi_index repl = replacement[instr->src[s].value]; in bi_opt_cse()
Dbi_schedule.c60 bi_index reads[5];
68 bi_index forceds[2];
79 bi_index prev_reads[5];
128 bi_index accesses[(BI_MAX_SRCS + BI_MAX_DESTS) * 16];
806 bi_index src = instr->src[s]; in bi_update_fau()
877 bi_index src = instr->src[src_idx]; in bi_tuple_is_new_src()
906 bi_count_succ_reads(bi_index t0, bi_index t1, in bi_count_succ_reads()
907 bi_index *succ_reads, unsigned nr_succ_reads) in bi_count_succ_reads()
939 bi_has_staging_passthrough_hazard(bi_index fma, bi_instr *add) in bi_has_staging_passthrough_hazard()
942 bi_index src = add->src[s]; in bi_has_staging_passthrough_hazard()
[all …]
Dbi_opt_mod_props.c34 bi_would_impact_abs(unsigned arch, bi_instr *I, bi_index repl, unsigned s) in bi_would_impact_abs()
41 bi_takes_fabs(unsigned arch, bi_instr *I, bi_index repl, unsigned s) in bi_takes_fabs()
110 static inline bi_index
111 bi_compose_float_index(bi_index old, bi_index repl) in bi_compose_float_index()
243 bi_is_fixed_mux(bi_instr *I, unsigned size, bi_index v1) in bi_is_fixed_mux()
Dbi_lower_swizzle.c99 bi_index dest = ins->dest[0]; in bi_lower_swizzle_16()
100 bi_index tmp = bi_temp(ctx); in bi_lower_swizzle_16()
251 BITSET_WORD *replicates_16 = calloc(sizeof(bi_index), ctx->ssa_alloc); in bi_lower_swizzle()
Dbi_pressure_schedule.c51 label_index(bi_context *ctx, bi_index idx) in label_index()
101 bi_index src = I->src[s]; in create_dag()
116 bi_index dest = I->dest[s]; in create_dag()
127 bi_index src = I->src[s]; in create_dag()
Dbir.c30 bi_has_arg(const bi_instr *ins, bi_index arg) in bi_has_arg()
297 bi_index vTrue = I->src[0], vFalse = I->src[1], cond = I->src[2]; in bi_replace_mux_with_csel()
Dbi_opt_push_ubo.c207 bi_is_uniform(bi_index idx) in bi_is_uniform()
214 bi_uniform_word(bi_index idx) in bi_uniform_word()
Dbi_pack.c72 bi_assign_slot_read(bi_registers *regs, bi_index src) in bi_assign_slot_read()
141 bi_index idx = prev->add->dest[0]; in bi_assign_slots()
150 bi_index idx = (prev->fma)->dest[0]; in bi_assign_slots()
308 bi_index src = ins->src[s]; in bi_get_src_new()
/third_party/mesa3d/src/panfrost/bifrost/test/
Dtest-constant-fold.cpp102 bi_index reg = bi_register(0); in TEST_F()
123 bi_index reg = bi_register(0); in TEST_F()
143 bi_index reg = bi_register(0); in TEST_F()
144 bi_index u32 = bi_imm_u32(0xCAFEBABE); in TEST_F()
146 bi_index a = bi_byte(u32, 0); /* 0xBE */ in TEST_F()
147 bi_index c = bi_byte(u32, 2); /* 0xFE */ in TEST_F()
157 bi_index reg = bi_register(0); in TEST_F()
158 bi_index u32 = bi_imm_u32(0xCAFEBABE); in TEST_F()
159 bi_index rem = bi_imm_u32(0xABCD1234); in TEST_F()
161 bi_index a = bi_byte(u32, 0); /* 0xBE */ in TEST_F()
[all …]
Dtest-message-preload.cpp37 bi_index u = bi_temp(b->shader); \
38 UNUSED bi_index v = bi_temp(b->shader); \
39 UNUSED bi_index w = bi_temp(b->shader); \
44 bi_index u = bi_temp(b->shader); \
45 UNUSED bi_index v = bi_temp(b->shader); \
46 UNUSED bi_index w = bi_temp(b->shader); \
79 bi_index reg, x, y;
81 static void preload_moves(bi_builder *b, bi_index dest, int count, int idx) in preload_moves()
Dtest-dual-texture.cpp35 bi_index u = bi_temp(b->shader); \
36 bi_index v = bi_temp(b->shader); \
42 bi_index u = bi_temp(b->shader); \
43 bi_index v = bi_temp(b->shader); \
78 bi_index reg, x, y;
Dtest-optimizer.cpp58 bi_index reg;
59 bi_index x;
60 bi_index y;
61 bi_index negabsx;
207 bi_index zero = bi_zero(); in TEST_F()
313 bi_index zero = bi_zero(); in TEST_F()
428bi_index ld = bi_ld_var_imm(b, bi_null(), BI_REGISTER_FORMAT_F32, BI_SAMPLE_CENTER, BI_UPDATE_STOR… in TEST_F()
430 bi_index x = bi_temp(b->shader); in TEST_F()
431 bi_index y = bi_temp(b->shader); in TEST_F()
Dtest-scheduler-predicates.cpp40 bi_index TMP() { return bi_temp(b->shader); } in TMP()
114 bi_index x = bi_register(0); in TEST_F()
115 bi_index y = bi_register(1); in TEST_F()
/third_party/mesa3d/src/panfrost/bifrost/valhall/
Dva_lower_constants.c33 static bi_index
36 bi_index zero = bi_fau(BIR_FAU_IMMEDIATE | 0, false); in va_mov_imm()
40 static bi_index
51 static bi_index
64 UNUSED static bi_index
77 static bi_index
111 static bi_index
116 bi_index lut = va_lut_index_32(value); in va_resolve_constant()
135 bi_index lut = va_lut_index_16(value & 0xFFFF); in va_resolve_constant()
149 bi_index lut = va_lut_index_8(value & 0xFF); in va_resolve_constant()
[all …]
Dva_validate.c44 bi_index buffer[2];
48 fau_state_buffer(struct fau_state *fau, bi_index idx) in fau_state_buffer()
63 fau_state_uniform(struct fau_state *fau, bi_index idx) in fau_state_uniform()
83 fau_state_special(struct fau_state *fau, bi_index idx) in fau_state_special()
86 bi_index buf = fau->buffer[i]; in fau_state_special()
97 valid_src(struct fau_state *fau, unsigned fau_page, bi_index src) in valid_src()
135 bi_index src = I->src[s]; in va_repair_fau()
138 bi_index copy = bi_mov_i32(b, bi_strip_index(src)); in va_repair_fau()
Dva_lower_split_64bit.c38 bi_index offset_fau = I->src[s]; in lower_split_src()
49 bi_index vec = bi_temp(ctx); in lower_split_src()
Dva_pack.c69 ASSERTED bi_index lo = I->src[s], hi = I->src[s + 1]; in va_validate_register_pair()
86 va_pack_reg(const bi_instr *I, bi_index idx) in va_pack_reg()
118 va_pack_fau_64(const bi_instr *I, bi_index idx) in va_pack_fau_64()
135 bi_index idx = I->src[s]; in va_pack_src()
460 bi_index src = I->src[logical_i + src_offset]; in va_pack_alu()
664 bi_index sr = read ? I->src[0] : I->dest[0]; in va_pack_instr()
906 bi_index lr = bi_register(48); in va_lower_blend()
909 bi_index pc = bi_fau(BIR_FAU_PROGRAM_COUNTER, false); in va_lower_blend()
/third_party/mesa3d/src/panfrost/bifrost/valhall/test/
Dtest-validate-fau.cpp64 bi_index zero, imm1, imm2, unif, unif_hi, unif2, core_id, lane_id;
Dtest-add-imm.cpp124 bi_index idx = bi_register(2); in TEST_F()
Dtest-lower-isel.cpp56 bi_index reg, x, y, z;
Dtest-packing.cpp57 bi_index zero, one, n4567;

12