Searched refs:ir2_context (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | ir2_private.h | 147 struct ir2_context { struct 188 void assemble(struct ir2_context *ctx, bool binning); argument 190 void ir2_nir_compile(struct ir2_context *ctx, bool binning); 193 void ra_count_refs(struct ir2_context *ctx); 194 void ra_reg(struct ir2_context *ctx, struct ir2_reg *reg, int force_idx, 196 void ra_src_free(struct ir2_context *ctx, struct ir2_instr *instr); 197 void ra_block_free(struct ir2_context *ctx, unsigned block); 199 void cp_src(struct ir2_context *ctx); 200 void cp_export(struct ir2_context *ctx); 238 struct ir2_src ir2_zero(struct ir2_context *ctx); [all …]
|
D | ir2_ra.c | 55 static void set_need_emit(struct ir2_context *ctx, struct ir2_instr *instr) in set_need_emit() 84 static unsigned reg_mask(struct ir2_context *ctx, unsigned idx) in reg_mask() 89 static void reg_setmask(struct ir2_context *ctx, unsigned idx, unsigned c) in reg_setmask() 95 static void reg_freemask(struct ir2_context *ctx, unsigned idx, unsigned c) in reg_freemask() 101 void ra_count_refs(struct ir2_context *ctx) in ra_count_refs() 132 void ra_reg(struct ir2_context *ctx, struct ir2_reg *reg, int force_idx, in ra_reg() 188 void ra_src_free(struct ir2_context *ctx, struct ir2_instr *instr) in ra_src_free() 211 void ra_block_free(struct ir2_context *ctx, unsigned block) in ra_block_free()
|
D | ir2_nir.c | 142 load_const(struct ir2_context *ctx, float *value_f, unsigned ncomp) in load_const() 194 ir2_zero(struct ir2_context *ctx) in ir2_zero() 200 update_range(struct ir2_context *ctx, struct ir2_reg *reg) in update_range() 222 make_src(struct ir2_context *ctx, nir_src src) in make_src() 252 set_index(struct ir2_context *ctx, nir_dest * dst, in set_index() 270 ir2_instr_create(struct ir2_context *ctx, int type) in ir2_instr_create() 284 instr_create_alu(struct ir2_context *ctx, nir_op opcode, unsigned ncomp) in instr_create_alu() 343 instr_create_alu_reg(struct ir2_context *ctx, nir_op opcode, in instr_create_alu_reg() 361 instr_create_alu_dest(struct ir2_context *ctx, nir_op opcode, nir_dest *dst) in instr_create_alu_dest() 370 ir2_instr_create_fetch(struct ir2_context *ctx, nir_dest *dst, in ir2_instr_create_fetch() [all …]
|
D | ir2_assemble.c | 30 src_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) in src_swizzle() 55 alu_swizzle_scalar(struct ir2_context *ctx, struct ir2_src *reg) in alu_swizzle_scalar() 62 alu_swizzle(struct ir2_context *ctx, struct ir2_instr *instr, struct ir2_src *src) in alu_swizzle() 92 alu_swizzle_scalar2(struct ir2_context *ctx, struct ir2_src *src, unsigned s1) in alu_swizzle_scalar2() 102 alu_write_mask(struct ir2_context *ctx, struct ir2_instr *instr) in alu_write_mask() 118 fetch_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) in fetch_swizzle() 128 fetch_dst_swiz(struct ir2_context *ctx, struct ir2_instr *instr) in fetch_dst_swiz() 141 dst_to_reg(struct ir2_context *ctx, struct ir2_instr *instr) in dst_to_reg() 150 static unsigned src_to_reg(struct ir2_context *ctx, struct ir2_src *src) in src_to_reg() 155 static unsigned src_reg_byte(struct ir2_context *ctx, struct ir2_src *src) in src_reg_byte() [all …]
|
D | ir2.c | 101 insert(struct ir2_context *ctx, unsigned block_idx, unsigned reg_idx, in insert() 153 scalarize_case1(struct ir2_context *ctx, struct ir2_instr *instr, bool order) in scalarize_case1() 213 static int sched_next(struct ir2_context *ctx, struct ir2_sched_instr *sched) in sched_next() 385 static void schedule_instrs(struct ir2_context *ctx) in schedule_instrs() 436 struct ir2_context ctx = { }; in ir2_compile()
|
D | ir2_cp.c | 52 void cp_src(struct ir2_context *ctx) in cp_src() 97 void cp_export(struct ir2_context *ctx) in cp_export()
|