Lines Matching refs:ir3_instruction
43 struct ir3_instruction **dst) in emit_intrinsic_load_ssbo()
46 struct ir3_instruction *offset; in emit_intrinsic_load_ssbo()
47 struct ir3_instruction *ldib; in emit_intrinsic_load_ssbo()
68 struct ir3_instruction *stib, *val, *offset; in emit_intrinsic_store_ssbo()
107 static struct ir3_instruction *
111 struct ir3_instruction *atomic, *ibo, *src0, *src1, *data, *dummy; in emit_intrinsic_atomic_ssbo()
136 struct ir3_instruction *compare = ir3_get_src(ctx, &intr->src[3])[0]; in emit_intrinsic_atomic_ssbo()
137 src1 = ir3_create_collect(ctx, (struct ir3_instruction*[]){ in emit_intrinsic_atomic_ssbo()
142 src1 = ir3_create_collect(ctx, (struct ir3_instruction*[]){ in emit_intrinsic_atomic_ssbo()
200 struct ir3_instruction **dst) in emit_intrinsic_load_image()
203 struct ir3_instruction *ldib; in emit_intrinsic_load_image()
204 struct ir3_instruction * const *coords = ir3_get_src(ctx, &intr->src[1]); in emit_intrinsic_load_image()
226 struct ir3_instruction *stib; in emit_intrinsic_store_image()
227 struct ir3_instruction * const *value = ir3_get_src(ctx, &intr->src[3]); in emit_intrinsic_store_image()
228 struct ir3_instruction * const *coords = ir3_get_src(ctx, &intr->src[1]); in emit_intrinsic_store_image()
250 static struct ir3_instruction *
254 struct ir3_instruction *atomic, *ibo, *src0, *src1, *dummy; in emit_intrinsic_atomic_image()
255 struct ir3_instruction * const *coords = ir3_get_src(ctx, &intr->src[1]); in emit_intrinsic_atomic_image()
256 struct ir3_instruction *value = ir3_get_src(ctx, &intr->src[3])[0]; in emit_intrinsic_atomic_image()
278 struct ir3_instruction *compare = ir3_get_src(ctx, &intr->src[4])[0]; in emit_intrinsic_atomic_image()
279 src1 = ir3_create_collect(ctx, (struct ir3_instruction*[]){ in emit_intrinsic_atomic_image()
283 src1 = ir3_create_collect(ctx, (struct ir3_instruction*[]){ in emit_intrinsic_atomic_image()
345 struct ir3_instruction **dst) in emit_intrinsic_image_size()
348 struct ir3_instruction *ibo = ir3_image_to_ibo(ctx, intr->src[0]); in emit_intrinsic_image_size()
349 struct ir3_instruction *resinfo = ir3_RESINFO(b, ibo, 0); in emit_intrinsic_image_size()
380 static struct ir3_instruction *
381 get_atomic_dest_mov(struct ir3_instruction *atomic) in get_atomic_dest_mov()
383 struct ir3_instruction *mov; in get_atomic_dest_mov()
398 struct ir3_instruction *src = atomic->regs[3]->instr; in get_atomic_dest_mov()
431 struct ir3_instruction *src = reg->instr; in ir3_a6xx_fixup_atomic_dests()