Home
last modified time | relevance | path

Searched refs:ir2_instr (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_private.h76 struct ir2_instr { struct
144 struct ir2_instr *instr, *instr_s;
181 struct ir2_instr instr[0x300];
196 void ra_src_free(struct ir2_context *ctx, struct ir2_instr *instr);
241 for (struct ir2_instr *it = (ctx)->instr; ({ \
251 for (struct ir2_instr **__instrp = avail, *it; \
285 static inline bool is_export(struct ir2_instr *instr) in is_export()
324 static inline struct ir2_reg * get_reg(struct ir2_instr *instr) in get_reg()
345 static inline unsigned dst_ncomp(struct ir2_instr *instr) in dst_ncomp()
362 static inline unsigned src_ncomp(struct ir2_instr *instr) in src_ncomp()
Dir2_nir.c253 struct ir2_instr *instr) in set_index()
269 static struct ir2_instr *
272 struct ir2_instr *instr; in ir2_instr_create()
283 static struct ir2_instr *
331 struct ir2_instr *instr = ir2_instr_create(ctx, IR2_ALU); in instr_create_alu()
342 static struct ir2_instr *
344 uint8_t write_mask, struct ir2_instr *share_reg) in instr_create_alu_reg()
346 struct ir2_instr *instr; in instr_create_alu_reg()
360 static struct ir2_instr *
363 struct ir2_instr *instr; in instr_create_alu_dest()
[all …]
Dir2.c29 static bool scalar_possible(struct ir2_instr *instr) in scalar_possible()
37 static bool is_alu_compatible(struct ir2_instr *a, struct ir2_instr *b) in is_alu_compatible()
56 static unsigned alu_vector_prio(struct ir2_instr *instr) in alu_vector_prio()
75 static unsigned alu_scalar_prio(struct ir2_instr *instr) in alu_scalar_prio()
153 scalarize_case1(struct ir2_context *ctx, struct ir2_instr *instr, bool order) in scalarize_case1()
158 struct ir2_instr *ins; in scalarize_case1()
215 struct ir2_instr *avail[0x100], *instr_v = NULL, *instr_s = NULL; in sched_next()
406 struct ir2_instr *instr = sched->instr, *tex_lod; in schedule_instrs()
Dir2_cp.c29 static bool is_mov(struct ir2_instr *instr) in is_mov()
54 struct ir2_instr *p; in cp_src()
99 struct ir2_instr *c[4], *ins[4]; in cp_export()
127 struct ir2_instr *instr = &ctx->instr[src->num]; in cp_export()
199 struct ir2_instr *p = ins[i]; in cp_export()
Dir2_ra.c30 static bool has_side_effects(struct ir2_instr *instr) in has_side_effects()
55 static void set_need_emit(struct ir2_context *ctx, struct ir2_instr *instr) in set_need_emit()
188 void ra_src_free(struct ir2_context *ctx, struct ir2_instr *instr) in ra_src_free()
Dir2_assemble.c62 alu_swizzle(struct ir2_context *ctx, struct ir2_instr *instr, struct ir2_src *src) in alu_swizzle()
102 alu_write_mask(struct ir2_context *ctx, struct ir2_instr *instr) in alu_write_mask()
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()
169 struct ir2_instr *instr = sched->instr, *instr_s, *instr_v; in fill_instr()
387 struct ir2_instr *instr = ctx->instr_sched[j].instr; in assemble()