Home
last modified time | relevance | path

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

/third_party/mesa3d/src/panfrost/bifrost/
Dcompiler.h131 } bi_index; typedef
133 static inline bi_index
136 return (bi_index) { in bi_get_index()
145 static inline bi_index
150 return (bi_index) { in bi_register()
157 static inline bi_index
160 return (bi_index) { in bi_imm_u32()
167 static inline bi_index
173 static inline bi_index
176 return (bi_index) { .type = BI_INDEX_NULL }; in bi_null()
[all …]
Dbifrost_compile.c113 static bi_index
139 bi_index offset = bi_src_index(&intr->src[0]); in bi_varying_src0_for_barycentric()
140 bi_index f16 = bi_null(); in bi_varying_src0_for_barycentric()
148 bi_index f[2]; in bi_varying_src0_for_barycentric()
216 bi_make_vec_to(bi_builder *b, bi_index final_dst,
217 bi_index *src,
228 bi_copy_component(bi_builder *b, nir_intrinsic_instr *instr, bi_index tmp) in bi_copy_component()
235 bi_index srcs[] = { tmp, tmp, tmp, tmp }; in bi_copy_component()
256 bi_index dest = (component == 0) ? bi_dest_index(&instr->dest) : bi_temp(b->shader); in bi_emit_load_attr()
262 bi_index idx = bi_src_index(&instr->src[0]); in bi_emit_load_attr()
[all …]
Dbi_opt_copy_prop.c51 bi_index *replacement = calloc(sizeof(bi_index), ((ctx->ssa_alloc + 1) << 2)); in bi_opt_copy_prop()
55 bi_index replace = ins->src[0]; in bi_opt_copy_prop()
60 bi_index chained = replacement[bi_word_node(replace)]; in bi_opt_copy_prop()
70 bi_index use = ins->src[s]; in bi_opt_copy_prop()
75 bi_index repl = replacement[bi_word_node(use)]; in bi_opt_copy_prop()
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()
157 bi_index *replacement = calloc(sizeof(bi_index), ((ctx->ssa_alloc + 1) << 2)); in bi_opt_cse()
170 bi_index repl = replacement[bi_word_node(instr->src[s])]; in bi_opt_cse()
Dbi_ra.c336 static bi_index
337 bi_reg_from_index(bi_context *ctx, struct lcra_state *l, bi_index index) in bi_reg_from_index()
360 bi_index new_index = bi_register(solution + index.offset); in bi_reg_from_index()
380 bi_rewrite_index_src_single(bi_instr *ins, bi_index old, bi_index new) in bi_rewrite_index_src_single()
431 bi_count_read_index(bi_instr *I, bi_index index) in bi_count_read_index()
448 bi_spill_register(bi_context *ctx, bi_index index, uint32_t offset) in bi_spill_register()
459 bi_index tmp = bi_temp(ctx); in bi_spill_register()
468 bi_index loc = bi_imm_u32(offset + 4 * extra); in bi_spill_register()
477 bi_index tmp = bi_temp(ctx); in bi_spill_register()
Dbi_schedule.c60 bi_index reads[5];
68 bi_index forceds[2];
79 bi_index prev_reads[5];
117 bi_index accesses[(BI_MAX_SRCS + 2) * 16];
743 bi_index src = instr->src[s]; in bi_update_fau()
814 bi_index src = instr->src[src_idx]; in bi_tuple_is_new_src()
843 bi_count_succ_reads(bi_index t0, bi_index t1, in bi_count_succ_reads()
844 bi_index *succ_reads, unsigned nr_succ_reads) in bi_count_succ_reads()
876 bi_has_staging_passthrough_hazard(bi_index fma, bi_instr *add) in bi_has_staging_passthrough_hazard()
879 bi_index src = add->src[s]; in bi_has_staging_passthrough_hazard()
[all …]
Dbi_lower_swizzle.c79 bi_index dest = ins->dest[0]; in bi_lower_swizzle_16()
80 bi_index tmp = bi_temp(ctx); in bi_lower_swizzle_16()
Dbi_opt_mod_props.c29 bi_takes_fabs(unsigned arch, bi_instr *I, bi_index repl, unsigned s) in bi_takes_fabs()
92 static inline bi_index
93 bi_compose_float_index(bi_index old, bi_index repl) in bi_compose_float_index()
Dbi_pack.c64 bi_assign_slot_read(bi_registers *regs, bi_index src) in bi_assign_slot_read()
127 bi_index idx = prev->add->dest[0]; in bi_assign_slots()
136 bi_index idx = (prev->fma)->dest[0]; in bi_assign_slots()
294 bi_index src = ins->src[s]; in bi_get_src_new()
Dbir.c30 bi_has_arg(const bi_instr *ins, bi_index arg) in bi_has_arg()
/third_party/mesa3d/src/panfrost/bifrost/test/
Dtest-constant-fold.c64 bi_index zero = bi_fau(BIR_FAU_IMMEDIATE | 0, false); in main()
65 bi_index reg = bi_register(0); in main()
84 bi_index u32 = bi_imm_u32(0xCAFEBABE); in main()
86 bi_index a = bi_byte(u32, 0); /* 0xBE */ in main()
87 bi_index c = bi_byte(u32, 2); /* 0xFE */ in main()
Dtest-optimizer.c61 bi_index zero = bi_zero(); in main()
62 bi_index reg = bi_register(0); in main()
63 bi_index x = bi_register(1); in main()
64 bi_index y = bi_register(2); in main()
65 bi_index negabsx = bi_neg(bi_abs(x)); in main()
/third_party/mesa3d/docs/relnotes/
D21.0.0.rst350 - pan/bi: Add bi_index data structure
351 - pan/bi: Add bi_index constructors
352 - pan/bi: Add nullity/equality helpers for bi_index
354 - pan/bi: Add bi_temp{_reg} for new-style bi_index
355 - pan/bi: Add helpers to generate bi_index from NIR
D21.3.0.rst323 - pan/bi: Add discard flag to bi_index