Searched refs:ir2_src (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | ir2_nir.c | 141 static struct ir2_src 190 return ir2_src(so->first_immediate + idx, swiz, IR2_SRC_CONST); in load_const() 193 struct ir2_src 221 static struct ir2_src 224 struct ir2_src res = {}; in make_src() 381 static struct ir2_src 390 return ir2_src(instr->idx, 0, IR2_SRC_SSA); in make_src_noconst() 402 struct ir2_src tmp; in emit_alu() 475 instr->src[1] = ir2_src(tmp->idx, 0, IR2_SRC_SSA); in emit_alu() 493 instr->src[0] = ir2_src(0, 0, IR2_SRC_INPUT); in load_input() [all …]
|
D | ir2_private.h | 44 struct ir2_src { struct 96 struct ir2_src src[4]; 160 struct ir2_src position; 227 static inline struct ir2_src 228 ir2_src(uint16_t num, uint8_t swizzle, enum ir2_src_type type) in ir2_src() function 230 return (struct ir2_src) { in ir2_src() 238 struct ir2_src ir2_zero(struct ir2_context *ctx); 255 for (struct ir2_src *it = instr->src; \ 330 get_reg_src(struct ir2_context *ctx, struct ir2_src *src) in get_reg_src()
|
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() 118 fetch_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) in fetch_swizzle() 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() 180 struct ir2_src *src = instr->src; in fill_instr() 251 struct ir2_src src1, src2, *src3; in fill_instr() 299 struct ir2_src *src = instr_s->src; in fill_instr()
|
D | ir2_cp.c | 35 static void src_combine(struct ir2_src *src, struct ir2_src b) in src_combine() 100 struct ir2_src *src; in cp_export()
|
D | ir2.c | 102 struct ir2_src src1, unsigned *comp) in insert() 155 struct ir2_src src0 = instr->src[ order]; in scalarize_case1() 156 struct ir2_src src1 = instr->src[!order]; in scalarize_case1()
|