Home
last modified time | relevance | path

Searched refs:ir2_src (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c150 static struct ir2_src
199 return ir2_src(so->first_immediate + idx, swiz, IR2_SRC_CONST); in load_const()
202 struct ir2_src
230 static struct ir2_src
233 struct ir2_src res = {}; in make_src()
388 static struct ir2_src
397 return ir2_src(instr->idx, 0, IR2_SRC_SSA); in make_src_noconst()
409 struct ir2_src tmp; in emit_alu()
482 instr->src[1] = ir2_src(tmp->idx, 0, IR2_SRC_SSA); in emit_alu()
500 instr->src[0] = ir2_src(0, 0, IR2_SRC_INPUT); in load_input()
[all …]
Dir2_private.h44 struct ir2_src { struct
96 struct ir2_src src[4];
160 struct ir2_src position;
228 static inline struct ir2_src
229 ir2_src(uint16_t num, uint8_t swizzle, enum ir2_src_type type) in ir2_src() function
231 return (struct ir2_src){.num = num, .swizzle = swizzle, .type = type}; in ir2_src()
235 struct ir2_src ir2_zero(struct ir2_context *ctx);
259 for (struct ir2_src *it = instr->src; it != &instr->src[instr->src_count]; \
344 get_reg_src(struct ir2_context *ctx, struct ir2_src *src) in get_reg_src()
Dir2_assemble.c30 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()
63 struct ir2_src *src) in alu_swizzle()
93 alu_swizzle_scalar2(struct ir2_context *ctx, struct ir2_src *src, unsigned s1) in alu_swizzle_scalar2()
119 fetch_swizzle(struct ir2_context *ctx, struct ir2_src *src, unsigned ncomp) in fetch_swizzle()
152 src_to_reg(struct ir2_context *ctx, struct ir2_src *src) in src_to_reg()
158 src_reg_byte(struct ir2_context *ctx, struct ir2_src *src) in src_reg_byte()
183 struct ir2_src *src = instr->src; in fill_instr()
254 struct ir2_src src1, src2, *src3; in fill_instr()
300 struct ir2_src *src = instr_s->src; in fill_instr()
Dir2_cp.c37 src_combine(struct ir2_src *src, struct ir2_src b) in src_combine()
104 struct ir2_src *src; in cp_export()
Dir2.c106 struct ir2_src src1, unsigned *comp) in insert()
159 struct ir2_src src0 = instr->src[order]; in scalarize_case1()
160 struct ir2_src src1 = instr->src[!order]; in scalarize_case1()