| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/ |
| H A D | test_builder.cpp | 37 writeout(0, bld.v_mul_imm(bld.def(v1), inputs[0], 0)); 40 writeout(1, bld.v_mul_imm(bld.def(v1), inputs[0], 1)); 44 writeout(2, bld.v_mul_imm(bld.def(v1), inputs[0], 4)); 48 writeout(3, bld.v_mul_imm(bld.def(v1), inputs[0], 2147483648u)); 56 writeout(4, bld.v_mul_imm(bld [all...] |
| H A D | test_optimizer_postRA.cpp | 39 auto &startpgm = bld.instructions->at(0); 51 auto vcmp = bld.vopc(aco_opcode::v_cmp_eq_u32, bld.def(bld.lm, vcc), Operand::zero(), 53 auto sand = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), bld.vcc(vcmp), Operand(exec, bld [all...] |
| H A D | test_optimizer.cpp | 37 writeout(0, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], neg_b)); 44 writeout(1, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), Operand::c32(0x123456u), neg_a)); 49 writeout(2, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), neg_neg_a, inputs[1])); 54 writeout(3, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), abs_neg_a, inputs[1])); 60 writeout(4, bld.vop2(aco_opcode::v_mul_f32, bld [all...] |
| H A D | test_sdwa.cpp | 37 SDWA_instruction *sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa(); 40 sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1b), inputs[0], inputs[1]).instr->sdwa(); 42 sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa(); 60 bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]); 75 bld.vop2_sdwa(aco_opcode::v_mul_f32, bld [all...] |
| H A D | test_regalloc.cpp | 47 Builder::Result tmp = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld.def(v2b), inputs[0]); 52 auto result1 = bld.vop1(aco_opcode::v_cvt_f32_f16, bld.def(v1), tmp.def(1).getTemp()); 53 auto result2 = bld.vop1(aco_opcode::v_cvt_f32_f16, bld.def(v1), tmp.def(0).getTemp()); 69 Temp hi = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/tests/ |
| H A D | comparison_pre_tests.cpp | 32 nir_builder_init_simple_shader(&bld, NULL, MESA_SHADER_VERTEX, &options); 34 v1 = nir_imm_vec4(&bld, -2.0, -1.0, 1.0, 2.0); 35 v2 = nir_imm_vec4(&bld, 2.0, 1.0, -1.0, -2.0); 36 v3 = nir_imm_vec4(&bld, 3.0, 4.0, 5.0, 6.0); 41 ralloc_free(bld.shader); 44 struct nir_builder bld; member in class:comparison_pre_test 92 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); 93 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 95 nir_ssa_def *flt = nir_flt(&bld, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_blend_aos.c | 94 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, argument 98 LLVMValueRef src_alpha = bld->src_alpha ? bld->src_alpha : bld->src; 99 LLVMValueRef src1_alpha = bld->src1_alpha ? bld->src1_alpha : bld->src1; 100 LLVMValueRef const_alpha = bld->const_alpha ? bld->const_alpha : bld 228 lp_build_blend_swizzle(struct lp_build_blend_aos_context * bld,LLVMValueRef rgb,LLVMValueRef alpha,enum lp_build_blend_swizzle rgb_swizzle,unsigned alpha_swizzle,unsigned num_channels) argument 262 lp_build_blend_factor(struct lp_build_blend_aos_context * bld,unsigned rgb_factor,unsigned alpha_factor,unsigned alpha_swizzle,unsigned num_channels) argument 326 struct lp_build_blend_aos_context bld; local in function:lp_build_blend_aos [all...] |
| H A D | lp_bld_alpha.c | 58 struct lp_build_context bld; local in function:lp_build_alpha_test 61 lp_build_context_init(&bld, gallivm, type); 77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one); 78 ref = lp_build_clamp(&bld, ref, bld.zero, bld.one); 84 lp_build_context_init(&bld, gallivm, type); 87 test = lp_build_cmp(&bld, fun [all...] |
| H A D | lp_bld_blend.c | 108 lp_build_mul_norm_expand(struct lp_build_context *bld, argument 113 const struct lp_type type = bld->type; 123 if (a == bld->zero || b == bld->zero) { 124 LLVMValueRef zero = LLVMConstNull(lp_build_vec_type(bld->gallivm, wide_type)); 135 lp_build_unpack2_native(bld->gallivm, type, wide_type, a, &al, &ah); 136 lp_build_unpack2_native(bld->gallivm, type2, wide_type2, b, &bl, &bh); 138 *resl = lp_build_mul_norm(bld->gallivm, wide_type, al, bl); 139 *resh = lp_build_mul_norm(bld->gallivm, wide_type, ah, bh); 147 lp_build_blend_func(struct lp_build_context *bld, argument 191 lp_build_blend(struct lp_build_context * bld,unsigned func,unsigned factor_src,unsigned factor_dst,LLVMValueRef src,LLVMValueRef dst,LLVMValueRef src_factor,LLVMValueRef dst_factor,boolean not_alpha_dependent,boolean optimise_only) argument 325 struct lp_build_context bld; local in function:lp_build_alpha_to_coverage [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_bld_blend_aos.c | 94 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, argument 98 LLVMValueRef src_alpha = bld->src_alpha ? bld->src_alpha : bld->src; 99 LLVMValueRef src1_alpha = bld->src1_alpha ? bld->src1_alpha : bld->src1; 100 LLVMValueRef const_alpha = bld->const_alpha ? bld->const_alpha : bld 228 lp_build_blend_swizzle(struct lp_build_blend_aos_context * bld,LLVMValueRef rgb,LLVMValueRef alpha,enum lp_build_blend_swizzle rgb_swizzle,unsigned alpha_swizzle,unsigned num_channels) argument 262 lp_build_blend_factor(struct lp_build_blend_aos_context * bld,unsigned rgb_factor,unsigned alpha_factor,unsigned alpha_swizzle,unsigned num_channels) argument 326 struct lp_build_blend_aos_context bld; local in function:lp_build_blend_aos [all...] |
| H A D | lp_bld_alpha.c | 58 struct lp_build_context bld; local in function:lp_build_alpha_test 61 lp_build_context_init(&bld, gallivm, type); 77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one); 78 ref = lp_build_clamp(&bld, ref, bld.zero, bld.one); 84 lp_build_context_init(&bld, gallivm, type); 87 test = lp_build_cmp(&bld, fun [all...] |
| H A D | lp_bld_blend.c | 108 lp_build_mul_norm_expand(struct lp_build_context *bld, argument 113 const struct lp_type type = bld->type; 123 if (a == bld->zero || b == bld->zero) { 124 LLVMValueRef zero = LLVMConstNull(lp_build_vec_type(bld->gallivm, wide_type)); 135 lp_build_unpack2_native(bld->gallivm, type, wide_type, a, &al, &ah); 136 lp_build_unpack2_native(bld->gallivm, type2, wide_type2, b, &bl, &bh); 138 *resl = lp_build_mul_norm(bld->gallivm, wide_type, al, bl); 139 *resh = lp_build_mul_norm(bld->gallivm, wide_type, ah, bh); 147 lp_build_blend_func(struct lp_build_context *bld, argument 191 lp_build_blend(struct lp_build_context * bld,unsigned func,unsigned factor_src,unsigned factor_dst,LLVMValueRef src,LLVMValueRef dst,LLVMValueRef src_factor,LLVMValueRef dst_factor,boolean not_alpha_dependent,boolean optimise_only) argument 325 struct lp_build_context bld; local in function:lp_build_alpha_to_coverage [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/ |
| H A D | comparison_pre_tests.cpp | 34 bld = nir_builder_init_simple_shader(MESA_SHADER_VERTEX, &options, 37 v1 = nir_imm_vec4(&bld, -2.0, -1.0, 1.0, 2.0); 38 v2 = nir_imm_vec4(&bld, 2.0, 1.0, -1.0, -2.0); 39 v3 = nir_imm_vec4(&bld, 3.0, 4.0, 5.0, 6.0); 44 ralloc_free(bld.shader); 48 struct nir_builder bld; member in class:comparison_pre_test 96 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); 97 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); 99 nir_ssa_def *flt = nir_flt(&bld, [all...] |
| H A D | lower_returns_tests.cpp | 32 nir_builder bld; member in class:nir_opt_lower_returns_test 42 bld = nir_builder_init_simple_shader(MESA_SHADER_VERTEX, &options, "lower returns test"); 44 nir_variable *var = nir_variable_create(bld.shader, nir_var_shader_in, glsl_int_type(), "in"); 45 in_def = nir_load_var(&bld, var); 50 ralloc_free(bld.shader); 95 nir_loop *loop = nir_push_loop(&bld); 97 nir_ssa_def *one = nir_imm_int(&bld, 1); 99 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); 100 nir_if *nif = nir_push_if(&bld, cmp_result); 102 nir_jump(&bld, nir_jump_retur [all...] |
| H A D | opt_if_tests.cpp | 32 nir_builder bld; member in class:nir_opt_if_test 43 bld = nir_builder_init_simple_shader(MESA_SHADER_VERTEX, &options, "if test"); 45 nir_variable *var = nir_variable_create(bld.shader, nir_var_shader_in, glsl_int_type(), "in"); 46 in_def = nir_load_var(&bld, var); 48 out_var = nir_variable_create(bld.shader, nir_var_shader_out, glsl_int_type(), "out"); 53 ralloc_free(bld.shader); 70 nir_ssa_def *one = nir_imm_int(&bld, 1); 72 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); 73 nir_if *nif = nir_push_if(&bld, cmp_result); 75 nir_push_else(&bld, NUL [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_idiv.c | 44 convert_instr(nir_builder *bld, nir_op op, argument 55 af = nir_i2f32(bld, numer); 56 bf = nir_i2f32(bld, denom); 57 af = nir_fabs(bld, af); 58 bf = nir_fabs(bld, bf); 59 a = nir_iabs(bld, numer); 60 b = nir_iabs(bld, denom); 62 af = nir_u2f32(bld, numer); 63 bf = nir_u2f32(bld, denom); 69 bf = nir_frcp(bld, b 124 emit_udiv(nir_builder * bld,nir_ssa_def * numer,nir_ssa_def * denom,bool modulo) argument 161 emit_idiv(nir_builder * bld,nir_ssa_def * numer,nir_ssa_def * denom,nir_op op) argument 192 convert_instr_precise(nir_builder * bld,nir_op op,nir_ssa_def * numer,nir_ssa_def * denom) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_arit.h | 52 lp_build_comp(struct lp_build_context *bld, 56 lp_build_add(struct lp_build_context *bld, 61 lp_build_horizontal_add(struct lp_build_context *bld, 65 lp_build_hadd_partial4(struct lp_build_context *bld, 70 lp_build_sub(struct lp_build_context *bld, 82 lp_build_mul(struct lp_build_context *bld, 87 lp_build_mul_32_lohi_cpu(struct lp_build_context *bld, 93 lp_build_mul_32_lohi(struct lp_build_context *bld, 99 lp_build_mul_imm(struct lp_build_context *bld, 104 lp_build_div(struct lp_build_context *bld, [all...] |
| H A D | lp_bld_bitarit.h | 48 lp_build_or(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 51 lp_build_xor(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 54 lp_build_and(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 57 lp_build_andnot(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 60 lp_build_shl(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 63 lp_build_shr(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 66 lp_build_shl_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm); 69 lp_build_shr_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm); 72 lp_build_not(struct lp_build_context *bld, LLVMValueRef a);
|
| H A D | lp_bld_tgsi_aos.c | 75 struct lp_build_tgsi_aos_context *bld = lp_aos_context(bld_base); local in function:swizzle_aos 82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x]; 83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y]; 84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z]; 85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_w]; 87 return lp_build_swizzle_aos(&bld 92 swizzle_scalar_aos(struct lp_build_tgsi_aos_context * bld,LLVMValueRef a,unsigned chan) argument 108 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local in function:emit_fetch_constant 179 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local in function:emit_fetch_immediate 192 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local in function:emit_fetch_input 206 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local in function:emit_fetch_temporary 221 lp_emit_store_aos(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_instruction * inst,unsigned index,LLVMValueRef value) argument 304 emit_tex(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_instruction * inst,enum lp_build_tex_modifier modifier) argument 340 emit_sample(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_instruction * inst,enum lp_build_tex_modifier modifier) argument 371 lp_emit_declaration_aos(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_declaration * decl) argument 428 lp_emit_instruction_aos(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_instruction * inst,const struct tgsi_opcode_info * info,int * pc) argument 868 struct lp_build_tgsi_aos_context bld; local in function:lp_build_tgsi_aos [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_arit.h | 53 lp_build_comp(struct lp_build_context *bld, 57 lp_build_add(struct lp_build_context *bld, 62 lp_build_horizontal_add(struct lp_build_context *bld, 66 lp_build_hadd_partial4(struct lp_build_context *bld, 71 lp_build_sub(struct lp_build_context *bld, 83 lp_build_mul(struct lp_build_context *bld, 88 lp_build_mul_32_lohi_cpu(struct lp_build_context *bld, 94 lp_build_mul_32_lohi(struct lp_build_context *bld, 100 lp_build_mul_imm(struct lp_build_context *bld, 105 lp_build_div(struct lp_build_context *bld, [all...] |
| H A D | lp_bld_tgsi_aos.c | 75 struct lp_build_tgsi_aos_context *bld = lp_aos_context(bld_base); local in function:swizzle_aos 82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x]; 83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y]; 84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z]; 85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_w]; 87 return lp_build_swizzle_aos(&bld 92 swizzle_scalar_aos(struct lp_build_tgsi_aos_context * bld,LLVMValueRef a,unsigned chan) argument 108 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local in function:emit_fetch_constant 179 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local in function:emit_fetch_immediate 192 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local in function:emit_fetch_input 206 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local in function:emit_fetch_temporary 221 lp_emit_store_aos(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_instruction * inst,unsigned index,LLVMValueRef value) argument 304 emit_tex(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_instruction * inst,enum lp_build_tex_modifier modifier) argument 340 emit_sample(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_instruction * inst,enum lp_build_tex_modifier modifier) argument 371 lp_emit_declaration_aos(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_declaration * decl) argument 428 lp_emit_instruction_aos(struct lp_build_tgsi_aos_context * bld,const struct tgsi_full_instruction * inst,const struct tgsi_opcode_info * info,int * pc) argument 868 struct lp_build_tgsi_aos_context bld; local in function:lp_build_tgsi_aos [all...] |
| H A D | lp_bld_bitarit.h | 48 lp_build_or(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 51 lp_build_xor(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 54 lp_build_and(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 57 lp_build_andnot(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 60 lp_build_shl(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 63 lp_build_shr(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); 66 lp_build_shl_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm); 69 lp_build_shr_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm); 72 lp_build_not(struct lp_build_context *bld, LLVMValueRef a); 75 lp_build_popcount(struct lp_build_context *bld, LLVMValueRe [all...] |
| H A D | lp_bld_sample_aos.c | 78 lp_build_sample_wrap_nearest_int(struct lp_build_sample_context *bld, argument 90 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; 91 LLVMBuilderRef builder = bld->gallivm->builder; 101 struct lp_build_context *coord_bld = &bld->coord_bld; 139 lp_build_coord_repeat_npot_linear_int(struct lp_build_sample_context *bld, argument 146 struct lp_build_context *coord_bld = &bld->coord_bld; 147 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; 159 coord_f = lp_build_mul_imm(&bld->coord_bld, coord_f, 256); 166 lp_build_context_init(&abs_coord_bld, bld->gallivm, abs_type); 170 i32_c128 = lp_build_const_int_vec(bld 214 lp_build_sample_wrap_linear_int(struct lp_build_sample_context * bld,unsigned block_length,LLVMValueRef coord0,LLVMValueRef * weight_i,LLVMValueRef coord_f,LLVMValueRef length,LLVMValueRef stride,LLVMValueRef offset,boolean is_pot,unsigned wrap_mode,LLVMValueRef * offset0,LLVMValueRef * offset1,LLVMValueRef * i0,LLVMValueRef * i1) argument 370 lp_build_sample_fetch_image_nearest(struct lp_build_sample_context * bld,LLVMValueRef data_ptr,LLVMValueRef offset,LLVMValueRef x_subcoord,LLVMValueRef y_subcoord,LLVMValueRef * colors) argument 438 lp_build_sample_image_nearest(struct lp_build_sample_context * bld,LLVMValueRef int_size,LLVMValueRef row_stride_vec,LLVMValueRef img_stride_vec,LLVMValueRef data_ptr,LLVMValueRef mipoffsets,LLVMValueRef s,LLVMValueRef t,LLVMValueRef r,const LLVMValueRef * offsets,LLVMValueRef * colors) argument 559 lp_build_sample_fetch_image_linear(struct lp_build_sample_context * bld,LLVMValueRef data_ptr,LLVMValueRef offset[2][2][2],LLVMValueRef x_subcoord[2],LLVMValueRef y_subcoord[2],LLVMValueRef s_fpart,LLVMValueRef t_fpart,LLVMValueRef r_fpart,LLVMValueRef * colors) argument 739 lp_build_sample_image_linear(struct lp_build_sample_context * bld,LLVMValueRef int_size,LLVMValueRef row_stride_vec,LLVMValueRef img_stride_vec,LLVMValueRef data_ptr,LLVMValueRef mipoffsets,LLVMValueRef s,LLVMValueRef t,LLVMValueRef r,const LLVMValueRef * offsets,LLVMValueRef * colors) argument 938 lp_build_sample_mipmap(struct lp_build_sample_context * bld,unsigned img_filter,unsigned mip_filter,LLVMValueRef s,LLVMValueRef t,LLVMValueRef r,const LLVMValueRef * offsets,LLVMValueRef ilevel0,LLVMValueRef ilevel1,LLVMValueRef lod_fpart,LLVMValueRef colors_var) argument 1109 lp_build_sample_aos(struct lp_build_sample_context * bld,unsigned sampler_unit,LLVMValueRef s,LLVMValueRef t,LLVMValueRef r,const LLVMValueRef * offsets,LLVMValueRef lod_positive,LLVMValueRef lod_fpart,LLVMValueRef ilevel0,LLVMValueRef ilevel1,LLVMValueRef texel_out[4]) argument [all...] |
| H A D | lp_bld_bitarit.c | 41 lp_build_or(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 43 LLVMBuilderRef builder = bld->gallivm->builder; 44 const struct lp_type type = bld->type; 52 a = LLVMBuildBitCast(builder, a, bld->int_vec_type, ""); 53 b = LLVMBuildBitCast(builder, b, bld->int_vec_type, ""); 59 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); 67 lp_build_xor(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 69 LLVMBuilderRef builder = bld->gallivm->builder; 70 const struct lp_type type = bld->type; 78 a = LLVMBuildBitCast(builder, a, bld 95 lp_build_and(struct lp_build_context * bld,LLVMValueRef a,LLVMValueRef b) argument 124 lp_build_andnot(struct lp_build_context * bld,LLVMValueRef a,LLVMValueRef b) argument 151 lp_build_not(struct lp_build_context * bld,LLVMValueRef a) argument 174 lp_build_shl(struct lp_build_context * bld,LLVMValueRef a,LLVMValueRef b) argument 198 lp_build_shr(struct lp_build_context * bld,LLVMValueRef a,LLVMValueRef b) argument 224 lp_build_shl_imm(struct lp_build_context * bld,LLVMValueRef a,unsigned imm) argument 237 lp_build_shr_imm(struct lp_build_context * bld,LLVMValueRef a,unsigned imm) argument 245 lp_build_popcount(struct lp_build_context * bld,LLVMValueRef a) argument 257 lp_build_bitfield_reverse(struct lp_build_context * bld,LLVMValueRef a) argument 269 lp_build_cttz(struct lp_build_context * bld,LLVMValueRef a) argument 284 lp_build_ctlz(struct lp_build_context * bld,LLVMValueRef a) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_lower_idiv.c | 40 convert_instr(nir_builder *bld, nir_alu_instr *alu) argument 53 bld->cursor = nir_before_instr(&alu->instr); 55 numer = nir_ssa_for_alu_src(bld, alu, 0); 56 denom = nir_ssa_for_alu_src(bld, alu, 1); 59 af = nir_i2f32(bld, numer); 60 bf = nir_i2f32(bld, denom); 61 af = nir_fabs(bld, af); 62 bf = nir_fabs(bld, bf); 63 a = nir_iabs(bld, numer); 64 b = nir_iabs(bld, deno [all...] |