| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/ |
| ssa_def_bits_used_tests.cpp | 59 nir_ssa_def *src0, nir_ssa_def *src1) 61 nir_ssa_def *def = nir_build_alu(&bld, op, src0, src1, NULL, NULL); 84 nir_ssa_def *src1 = nir_imm_int(&bld, 0xffffffff); local 86 nir_alu_instr *alu = build_alu_instr(nir_op_iand, src0, src1); 91 /* If the test is changed, and somehow src1 is used multiple times, 95 ASSERT_TRUE(is_used_once(src1)); 113 nir_ssa_def *src1 = nir_imm_int(&bld, 0xffffffff); local 115 nir_alu_instr *alu = build_alu_instr(nir_op_ior, src0, src1); 120 /* If the test is changed, and somehow src1 is used multiple times, 124 ASSERT_TRUE(is_used_once(src1)); 141 nir_ssa_def *src1 = nir_imm_ivec4(&bld, local 172 nir_ssa_def *src1 = nir_imm_ivec4(&bld, local 203 nir_ssa_def *src1 = nir_imm_ivec4(&bld, local 234 nir_ssa_def *src1 = nir_imm_ivec4(&bld, local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| vtn_subgroup.c | 128 nir_ssa_def *src0, *src1 = NULL; local 134 src1 = vtn_ssa_value(b, w[5])->def; 168 if (src1) 169 intrin->src[1] = nir_src_for_ssa(src1);
|
| /xsrc/external/mit/pixman/dist/demos/ |
| screen-test.c | 12 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4); local 22 src1[i] = 0x7ff00000; 32 simg1 = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, src1, WIDTH * 4);
|
| srgb-test.c | 54 uint32_t *src1 = malloc (WIDTH * HEIGHT * 4); local 63 src1, 72 src1[p + x] = linear_argb_to_premult_argb (alpha, 1, 0, 1); 80 free (src1);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_blend.h | 60 nir_ssa_def *src1; member in struct:__anon785
|
| nir_opt_offsets.c | 56 nir_ssa_scalar src1 = {alu->src[1].src.ssa, 0}; local 58 uint32_t ub1 = nir_unsigned_upper_bound(b->shader, state->range_ht, src1, NULL);
|
| nir_intrinsics.py | 31 src1 = ('src', 1) variable 613 # corresponding to tuple (set, binding, idx + src1).
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/ |
| vtn_subgroup.c | 131 nir_ssa_def *src0, *src1 = NULL; local 137 src1 = vtn_get_nir_ssa(b, w[5]); 171 if (src1) 172 intrin->src[1] = nir_src_for_ssa(src1);
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/afuc/ |
| asm.h | 42 int src1; member in struct:asm_instruction
|
| emu.c | 51 emu_alu(struct emu *emu, afuc_opc opc, uint32_t src1, uint32_t src2) 56 tmp = (uint64_t)src1 + (uint64_t)src2; 60 return src1 + src2 + emu->carry; 62 tmp = (uint64_t)src1 - (uint64_t)src2; 66 return src1 - src2 + emu->carry; 68 return src1 & src2; 70 return src1 | src2; 72 return src1 ^ src2; 74 return ~src1; 76 return src1 << src2 189 uint32_t src1 = emu_get_gpr_reg(emu, instr->control.src1); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/ |
| nv50_ir_lowering_helper.cpp | 124 Value *src1[2]; local 128 bld.mkSplit(src1, 4, insn->getSrc(1)); 133 Instruction *hi = bld.mkOp2(insn->op, sTy, def[1], src0[1], src1[1]); 137 Instruction *lo = bld.mkOp2(insn->op, sTy, def[0], src0[0], src1[0]); 221 Value *src1[2]; local 225 bld.mkSplit(src1, 4, insn->getSrc(1)); 230 bld.mkCmp(OP_SLCT, cc, hdTy, def[0], sTy, src0[0], src1[0], insn->getSrc(2)); 231 bld.mkCmp(OP_SLCT, cc, hdTy, def[1], sTy, src0[1], src1[1], insn->getSrc(2)); 253 Value *src1[2]; local 259 bld.mkSplit(src1, 4, insn->getSrc(1)) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/ |
| sfn_instruction_lds.h | 30 LDSAtomicInstruction(PValue& dest, PValue& src0, PValue src1, PValue& address, unsigned op); 36 const PValue& src1() const { return m_src1_value;} function in class:r600::LDSAtomicInstruction
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| test_fs_saturate_propagation.cpp | 119 fs_reg src1 = v->vgrf(glsl_type::float_type); local 120 bld.ADD(dst0, src0, src1); 125 * 0: add(16) dst0 src0 src1 129 * 0: add.sat(16) dst0 src0 src1 155 fs_reg src1 = v->vgrf(glsl_type::float_type); local 156 bld.ADD(dst0, src0, src1); 162 * 0: add(16) dst0 src0 src1 192 fs_reg src1 = v->vgrf(glsl_type::float_type); local 193 bld.ADD(dst0, src0, src1) 199 * 0: (+f0) add(16) dst0 src0 src1 261 fs_reg src1 = v->vgrf(glsl_type::float_type); local 299 fs_reg src1 = brw_imm_f(1.0f); local 337 fs_reg src1 = v->vgrf(glsl_type::float_type); local 375 fs_reg src1 = v->vgrf(glsl_type::float_type); local 416 fs_reg src1 = brw_imm_f(-2.0f); local 462 fs_reg src1 = v->vgrf(glsl_type::float_type); local 504 fs_reg src1 = v->vgrf(glsl_type::float_type); local 546 fs_reg src1 = v->vgrf(glsl_type::float_type); local 582 fs_reg src1 = v->vgrf(glsl_type::float_type); local 621 fs_reg src1 = v->vgrf(glsl_type::float_type); local 661 fs_reg src1 = v->vgrf(glsl_type::float_type); local 663 bld.ADD(offset(dst0, bld, 2), src0, src1); local 702 fs_reg src1 = v->vgrf(glsl_type::float_type); local 744 fs_reg src1 = v->vgrf(glsl_type::float_type); local 778 fs_reg src1 = v->vgrf(glsl_type::float_type); local [all...] |
| test_fs_cmod_propagation.cpp | 128 fs_reg src1 = v->vgrf(glsl_type::float_type); local 130 bld.ADD(dest, src0, src1); 135 * 0: add(8) dest src0 src1 139 * 0: add.ge.f0(8) dest src0 src1 160 fs_reg src1 = v->vgrf(glsl_type::float_type); local 162 bld.ADD(dest, src0, src1); 168 * 0: add(8) dest src0 src1 172 * 0: add.ge.f0.1(8) dest src0 src1 194 fs_reg src1 = v->vgrf(glsl_type::float_type); local 196 bld.ADD(dest, src0, src1); 291 fs_reg src1 = v->vgrf(glsl_type::float_type); local 329 fs_reg src1 = v->vgrf(glsl_type::float_type); local 371 fs_reg src1 = v->vgrf(glsl_type::float_type); local 410 fs_reg src1 = v->vgrf(glsl_type::float_type); local 451 fs_reg src1 = v->vgrf(glsl_type::float_type); local 454 bld.ADD(offset(dest, bld, 2), src0, src1); local 492 fs_reg src1 = v->vgrf(glsl_type::float_type); local 530 fs_reg src1 = v->vgrf(glsl_type::float_type); local 563 fs_reg src1 = v->vgrf(glsl_type::float_type); local 595 fs_reg src1 = v->vgrf(glsl_type::int_type); local 1009 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1043 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1104 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1139 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1175 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1210 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1239 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1272 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1312 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1351 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1387 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1436 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1477 fs_reg src1 = v->vgrf(glsl_type::float_type); local 1544 fs_reg src1 = bld.vgrf(BRW_REGISTER_TYPE_D); local 1591 fs_reg src1 = bld.vgrf(add_type); local 2169 fs_reg src1 = bld.vgrf(add_type); local 2655 fs_reg src1 = v->vgrf(glsl_type::uint_type); local 2689 fs_reg src1 = v->vgrf(glsl_type::uint_type); local 2728 fs_reg src1 = v->vgrf(glsl_type::uint_type); local 2769 fs_reg src1 = v->vgrf(glsl_type::float_type); local 2810 fs_reg src1 = v->vgrf(glsl_type::float_type); local 2849 fs_reg src1 = v->vgrf(glsl_type::uint_type); local 2892 fs_reg src1 = v->vgrf(glsl_type::uint_type); local 2938 fs_reg src1 = v->vgrf(glsl_type::uint_type); local 2981 fs_reg src1 = v->vgrf(glsl_type::uint_type); local 3025 fs_reg src1 = v->vgrf(glsl_type::uint_type); local 3157 fs_reg src1 = v->vgrf(glsl_type::float_type); local 3200 fs_reg src1 = v->vgrf(glsl_type::float_type); local 3248 fs_reg src1 = v->vgrf(glsl_type::float_type); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/ |
| nv50_ir_lowering_helper.cpp | 124 Value *src1[2]; local 128 bld.mkSplit(src1, 4, insn->getSrc(1)); 133 Instruction *hi = bld.mkOp2(insn->op, sTy, def[1], src0[1], src1[1]); 137 Instruction *lo = bld.mkOp2(insn->op, sTy, def[0], src0[0], src1[0]); 221 Value *src1[2]; local 225 bld.mkSplit(src1, 4, insn->getSrc(1)); 230 bld.mkCmp(OP_SLCT, cc, hdTy, def[0], sTy, src0[0], src1[0], insn->getSrc(2)); 231 bld.mkCmp(OP_SLCT, cc, hdTy, def[1], sTy, src0[1], src1[1], insn->getSrc(2)); 253 Value *src1[2]; local 259 bld.mkSplit(src1, 4, insn->getSrc(1)) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| test_fs_cmod_propagation.cpp | 106 fs_reg src1 = v->vgrf(glsl_type::float_type); local 108 bld.ADD(dest, src0, src1); 113 * 0: add(8) dest src0 src1 117 * 0: add.ge.f0(8) dest src0 src1 138 fs_reg src1 = v->vgrf(glsl_type::float_type); local 140 bld.ADD(dest, src0, src1); 145 * 0: add(8) dest src0 src1 203 fs_reg src1 = v->vgrf(glsl_type::float_type); local 206 bld.ADD(dest, src0, src1); 212 * 0: add(8) dest src0 src1 242 fs_reg src1 = v->vgrf(glsl_type::float_type); local 280 fs_reg src1 = v->vgrf(glsl_type::float_type); local 283 bld.ADD(offset(dest, bld, 2), src0, src1); local 321 fs_reg src1 = v->vgrf(glsl_type::float_type); local 359 fs_reg src1 = v->vgrf(glsl_type::float_type); local 392 fs_reg src1 = v->vgrf(glsl_type::float_type); local 424 fs_reg src1 = v->vgrf(glsl_type::int_type); local 563 fs_reg src1 = v->vgrf(glsl_type::float_type); local 597 fs_reg src1 = v->vgrf(glsl_type::float_type); local 658 fs_reg src1 = v->vgrf(glsl_type::float_type); local 693 fs_reg src1 = v->vgrf(glsl_type::float_type); local 729 fs_reg src1 = v->vgrf(glsl_type::float_type); local 764 fs_reg src1 = v->vgrf(glsl_type::float_type); local 793 fs_reg src1 = v->vgrf(glsl_type::float_type); local 826 fs_reg src1 = v->vgrf(glsl_type::float_type); local 863 fs_reg src1 = v->vgrf(glsl_type::float_type); local [all...] |
| test_fs_saturate_propagation.cpp | 107 fs_reg src1 = v->vgrf(glsl_type::float_type); local 108 bld.ADD(dst0, src0, src1); 113 * 0: add(16) dst0 src0 src1 117 * 0: add.sat(16) dst0 src0 src1 143 fs_reg src1 = v->vgrf(glsl_type::float_type); local 144 bld.ADD(dst0, src0, src1); 150 * 0: add(16) dst0 src0 src1 180 fs_reg src1 = v->vgrf(glsl_type::float_type); local 181 bld.ADD(dst0, src0, src1) 187 * 0: (+f0) add(16) dst0 src0 src1 249 fs_reg src1 = v->vgrf(glsl_type::float_type); local 287 fs_reg src1 = brw_imm_f(1.0f); local 325 fs_reg src1 = v->vgrf(glsl_type::float_type); local 363 fs_reg src1 = v->vgrf(glsl_type::float_type); local 404 fs_reg src1 = brw_imm_f(-2.0f); local 450 fs_reg src1 = v->vgrf(glsl_type::float_type); local 492 fs_reg src1 = v->vgrf(glsl_type::float_type); local 534 fs_reg src1 = v->vgrf(glsl_type::float_type); local 570 fs_reg src1 = v->vgrf(glsl_type::float_type); local 609 fs_reg src1 = v->vgrf(glsl_type::float_type); local 649 fs_reg src1 = v->vgrf(glsl_type::float_type); local 651 bld.ADD(offset(dst0, bld, 2), src0, src1); local 690 fs_reg src1 = v->vgrf(glsl_type::float_type); local 732 fs_reg src1 = v->vgrf(glsl_type::float_type); local 766 fs_reg src1 = v->vgrf(glsl_type::float_type); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3_a4xx.c | 43 struct ir3_instruction *ldgb, *src0, *src1, *byte_offset, *offset; local 50 /* src0 is uvec2(offset*4, 0), src1 is offset.. nir already *= 4: */ 52 src1 = offset; 54 ldgb = ir3_LDGB(b, ssbo, 0, src0, 0, src1, 0); 70 struct ir3_instruction *stgb, *src0, *src1, *src2, *byte_offset, *offset; local 81 /* src0 is value, src1 is offset, src2 is uvec2(offset*4, 0).. 85 src1 = offset; 88 stgb = ir3_STGB(b, ssbo, 0, src0, 0, src1, 0, src2, 0); 271 * src1 is coords 299 struct ir3_instruction *atomic, *src0, *src1, *src2 local [all...] |
| ir3_a6xx.c | 75 /* src0 is offset, src1 is value: 113 struct ir3_instruction *atomic, *ibo, *src0, *src1, *data, *dummy; local 123 * src1.x - is actually destination register 124 * src1.y - is 'data' except for cmpxchg where src2.y is 'compare' 125 * src1.z - is 'data' for cmpxchg 139 src1 = ir3_collect(b, dummy, compare, data); 142 src1 = ir3_collect(b, dummy, data); 147 atomic = ir3_ATOMIC_ADD_G(b, ibo, 0, src0, 0, src1, 0); 150 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0); 154 atomic = ir3_ATOMIC_MIN_G(b, ibo, 0, src0, 0, src1, 0) 258 struct ir3_instruction *atomic, *ibo, *src0, *src1, *dummy; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_quad.c | 162 * src0 src1 166 * # 2 | 3 # # 6 | 7 # # 2 | 3 | 6 | 7 # src1 195 LLVMValueRef src0, src1; local 198 src1 = LLVMBuildBitCast(builder, src[i + 1], type2_ref, ""); 200 dst[i + 0] = lp_build_interleave2(gallivm, type2, src0, src1, 0); 201 dst[i + 1] = lp_build_interleave2(gallivm, type2, src0, src1, 1);
|
| lp_bld_tgsi_info.c | 410 struct lp_tgsi_channel_info src1; local 413 analyse_src(ctx, &src1, &inst->Src[1].Register, chan); 417 } else if (is_immediate(&src1, 0.0f)) { 418 res[chan] = src1; 420 res[chan] = src1; 421 } else if (is_immediate(&src1, 1.0f)) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| ir2.c | 106 struct ir2_src src1, unsigned *comp) 120 if (src1.type == IR2_SRC_SSA) { 121 if ((s->instr && s->instr->idx == src1.num) || 122 (s->instr_s && s->instr_s->idx == src1.num)) 160 struct ir2_src src1 = instr->src[!order]; local 175 if (src1.type == IR2_SRC_REG) 178 /* we could do something if they match src1.. */ 190 sched = insert(ctx, instr->block_idx, reg->idx, src1, &comp); 197 ins->src[0] = src1;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/pp/ |
| lower.c | 201 ppir_src *src1 = &alu->src[1]; local 225 /* src1 could also be a reference from the same node as 227 if (src1->node && src1->node == cond) 228 ppir_node_target_assign(src1, cond); 265 /* src1 could also be a reference from the same node as 267 if (src1->node && src1->node == pred) 268 ppir_node_target_assign(src1, move);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_lower_alu.c | 140 nir_ssa_def *src1 = nir_ssa_for_alu_src(b, instr, 1); local 146 nir_ilt(b, src1, c0)); 148 src1 = nir_iabs(b, src1); 159 nir_ssa_def *src1l = nir_iand(b, src1, nir_imm_int(b, 0xffff)); 161 nir_ssa_def *src1h = nir_ushr(b, src1, c16);
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/ |
| ir3_a4xx.c | 43 struct ir3_instruction *ldgb, *src0, *src1, *byte_offset, *offset; local 51 /* src0 is uvec2(offset*4, 0), src1 is offset.. nir already *= 4: */ 56 src1 = offset; 59 src0, 0, src1, 0); 75 struct ir3_instruction *stgb, *src0, *src1, *src2, *byte_offset, *offset; local 89 /* src0 is value, src1 is offset, src2 is uvec2(offset*4, 0).. 93 src1 = offset; 99 stgb = ir3_STGB(b, create_immed(b, ibo_idx), 0, src0, 0, src1, 0, src2, 0); 130 struct ir3_instruction *atomic, *ssbo, *src0, *src1, *src2, *byte_offset, local 142 * src1 is offse 299 struct ir3_instruction *atomic, *image, *src0, *src1, *src2; local [all...] |