/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_blend_soa.c | 119 lp_build_blend_soa_factor(struct lp_build_blend_soa_context *bld, argument 127 return bld->base.one; 129 return bld->src[i]; 131 return bld->src[3]; 133 return bld->dst[i]; 135 return bld->dst[3]; 138 return bld->base.one; 140 if(!bld->inv_dst[3]) 141 bld->inv_dst[3] = lp_build_comp(&bld 218 struct lp_build_blend_soa_context bld; local [all...] |
H A D | lp_bld_blend.c | 87 lp_build_blend_func(struct lp_build_context *bld, argument 94 return lp_build_add(bld, term1, term2); 96 return lp_build_sub(bld, term1, term2); 98 return lp_build_sub(bld, term2, term1); 100 return lp_build_min(bld, term1, term2); 102 return lp_build_max(bld, term1, term2); 105 return bld->zero; 131 lp_build_blend(struct lp_build_context *bld, argument 149 return lp_build_lerp(bld, src_factor, dst, src); 151 return lp_build_lerp(bld, dst_facto [all...] |
H A D | lp_bld_alpha.c | 58 struct lp_build_context bld; local 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_aos.c | 87 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, argument 93 return bld->base.zero; 95 return bld->base.one; 98 return bld->src; 101 return bld->dst; 104 return bld->base.one; 106 if(!bld->inv_dst) 107 bld->inv_dst = lp_build_comp(&bld->base, bld 189 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) argument 222 lp_build_blend_factor(struct lp_build_blend_aos_context *bld, unsigned rgb_factor, unsigned alpha_factor, unsigned alpha_swizzle) argument 270 struct lp_build_blend_aos_context bld; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_blend_soa.c | 119 lp_build_blend_soa_factor(struct lp_build_blend_soa_context *bld, argument 127 return bld->base.one; 129 return bld->src[i]; 131 return bld->src[3]; 133 return bld->dst[i]; 135 return bld->dst[3]; 138 return bld->base.one; 140 if(!bld->inv_dst[3]) 141 bld->inv_dst[3] = lp_build_comp(&bld 218 struct lp_build_blend_soa_context bld; local [all...] |
H A D | lp_bld_blend.c | 87 lp_build_blend_func(struct lp_build_context *bld, argument 94 return lp_build_add(bld, term1, term2); 96 return lp_build_sub(bld, term1, term2); 98 return lp_build_sub(bld, term2, term1); 100 return lp_build_min(bld, term1, term2); 102 return lp_build_max(bld, term1, term2); 105 return bld->zero; 131 lp_build_blend(struct lp_build_context *bld, argument 149 return lp_build_lerp(bld, src_factor, dst, src); 151 return lp_build_lerp(bld, dst_facto [all...] |
H A D | lp_bld_alpha.c | 58 struct lp_build_context bld; local 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_aos.c | 87 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, argument 93 return bld->base.zero; 95 return bld->base.one; 98 return bld->src; 101 return bld->dst; 104 return bld->base.one; 106 if(!bld->inv_dst) 107 bld->inv_dst = lp_build_comp(&bld->base, bld 189 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) argument 222 lp_build_blend_factor(struct lp_build_blend_aos_context *bld, unsigned rgb_factor, unsigned alpha_factor, unsigned alpha_swizzle) argument 270 struct lp_build_blend_aos_context bld; local [all...] |
/external/chromium_org/third_party/sqlite/ |
H A D | google_generate_amalgamation.sh | 9 mkdir bld 10 cd bld 20 rm -rf bld
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi_aos.c | 75 struct lp_build_tgsi_aos_context *bld = lp_aos_context(bld_base); local 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 179 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local 192 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local 206 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local 221 lp_emit_store_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, unsigned index, LLVMValueRef value) argument 358 emit_tex(struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier) argument 403 lp_emit_declaration_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_declaration *decl) argument 454 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 993 struct lp_build_tgsi_aos_context bld; local [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_arit.c | 74 lp_build_min_simple(struct lp_build_context *bld, argument 78 const struct lp_type type = bld->type; 149 return lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, 154 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); 155 return lp_build_select(bld, cond, a, b); 164 lp_build_max_simple(struct lp_build_context *bld, argument 168 const struct lp_type type = bld->type; 240 return lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, 245 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); 246 return lp_build_select(bld, con 254 lp_build_comp(struct lp_build_context *bld, LLVMValueRef a) argument 291 lp_build_add(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 353 lp_build_horizontal_add(struct lp_build_context *bld, LLVMValueRef a) argument 423 lp_build_horizontal_add4x4f(struct lp_build_context *bld, LLVMValueRef src[4]) argument 487 lp_build_hadd_partial4(struct lp_build_context *bld, LLVMValueRef vectors[], unsigned num_vecs) argument 562 lp_build_sub(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 698 lp_build_mul(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 780 lp_build_mul_imm(struct lp_build_context *bld, LLVMValueRef a, int b) argument 836 lp_build_div(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 886 lp_build_lerp_simple(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef v0, LLVMValueRef v1) argument 921 lp_build_lerp(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef v0, LLVMValueRef v1) argument 986 lp_build_lerp_2d(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y, LLVMValueRef v00, LLVMValueRef v01, LLVMValueRef v10, LLVMValueRef v11) argument 1005 lp_build_min(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 1039 lp_build_max(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 1074 lp_build_clamp(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef min, LLVMValueRef max) argument 1093 lp_build_abs(struct lp_build_context *bld, LLVMValueRef a) argument 1138 lp_build_negate(struct lp_build_context *bld, LLVMValueRef a) argument 1158 lp_build_sgn(struct lp_build_context *bld, LLVMValueRef a) argument 1216 lp_build_set_sign(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef sign) argument 1250 lp_build_int_to_float(struct lp_build_context *bld, LLVMValueRef a) argument 1289 lp_build_round_sse41(struct lp_build_context *bld, LLVMValueRef a, enum lp_build_round_sse41_mode mode) argument 1376 lp_build_iround_nearest_sse2(struct lp_build_context *bld, LLVMValueRef a) argument 1435 lp_build_trunc(struct lp_build_context *bld, LLVMValueRef a) argument 1465 lp_build_round(struct lp_build_context *bld, LLVMValueRef a) argument 1493 lp_build_floor(struct lp_build_context *bld, LLVMValueRef a) argument 1521 lp_build_ceil(struct lp_build_context *bld, LLVMValueRef a) argument 1548 lp_build_fract(struct lp_build_context *bld, LLVMValueRef a) argument 1561 clamp_fract(struct lp_build_context *bld, LLVMValueRef fract) argument 1577 lp_build_fract_safe(struct lp_build_context *bld, LLVMValueRef a) argument 1590 lp_build_itrunc(struct lp_build_context *bld, LLVMValueRef a) argument 1611 lp_build_iround(struct lp_build_context *bld, LLVMValueRef a) argument 1667 lp_build_ifloor(struct lp_build_context *bld, LLVMValueRef a) argument 1726 lp_build_iceil(struct lp_build_context *bld, LLVMValueRef a) argument 1786 lp_build_ifloor_fract(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef *out_ipart, LLVMValueRef *out_fpart) argument 1824 lp_build_ifloor_fract_safe(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef *out_ipart, LLVMValueRef *out_fpart) argument 1835 lp_build_sqrt(struct lp_build_context *bld, LLVMValueRef a) argument 1874 lp_build_rcp_refine(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef rcp_a) argument 1891 lp_build_rcp(struct lp_build_context *bld, LLVMValueRef a) argument 1960 lp_build_rsqrt_refine(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef rsqrt_a) argument 1983 lp_build_rsqrt(struct lp_build_context *bld, LLVMValueRef a) argument 2025 lp_build_sin(struct lp_build_context *bld, LLVMValueRef a) argument 2244 lp_build_cos(struct lp_build_context *bld, LLVMValueRef a) argument 2461 lp_build_pow(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y) argument 2480 lp_build_exp(struct lp_build_context *bld, LLVMValueRef x) argument 2497 lp_build_log(struct lp_build_context *bld, LLVMValueRef x) argument 2515 lp_build_polynomial(struct lp_build_context *bld, LLVMValueRef x, const double *coeffs, unsigned num_coeffs) argument 2602 lp_build_exp2_approx(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef *p_exp2_int_part, LLVMValueRef *p_frac_part, LLVMValueRef *p_exp2) argument 2665 lp_build_exp2(struct lp_build_context *bld, LLVMValueRef x) argument 2684 lp_build_extract_exponent(struct lp_build_context *bld, LLVMValueRef x, int bias) argument 2718 lp_build_extract_mantissa(struct lp_build_context *bld, LLVMValueRef x) argument 2780 lp_build_log2_approx(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef *p_exp, LLVMValueRef *p_floor_log2, LLVMValueRef *p_log2) argument 2873 lp_build_log2(struct lp_build_context *bld, LLVMValueRef x) argument 2893 lp_build_fast_log2(struct lp_build_context *bld, LLVMValueRef x) argument 2922 lp_build_ilog2(struct lp_build_context *bld, LLVMValueRef x) argument 2943 lp_build_mod(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y) argument [all...] |
H A D | lp_bld_quad.h | 71 lp_build_ddx(struct lp_build_context *bld, 76 lp_build_ddy(struct lp_build_context *bld, 84 lp_build_packed_ddx_ddy_twocoord(struct lp_build_context *bld, 88 lp_build_packed_ddx_ddy_onecoord(struct lp_build_context *bld,
|
H A D | lp_bld_arit.h | 51 lp_build_comp(struct lp_build_context *bld, 55 lp_build_add(struct lp_build_context *bld, 60 lp_build_horizontal_add(struct lp_build_context *bld, 64 lp_build_hadd_partial4(struct lp_build_context *bld, 69 lp_build_sub(struct lp_build_context *bld, 74 lp_build_mul(struct lp_build_context *bld, 79 lp_build_mul_imm(struct lp_build_context *bld, 84 lp_build_div(struct lp_build_context *bld, 89 lp_build_lerp(struct lp_build_context *bld, 100 lp_build_lerp_2d(struct lp_build_context *bld, [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 173 lp_build_shl(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 194 lp_build_shr(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 219 lp_build_shl_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm) argument 231 lp_build_shr_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm) argument [all...] |
H A D | lp_bld_sample_aos.c | 76 lp_build_sample_wrap_nearest_int(struct lp_build_sample_context *bld, argument 87 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; 88 LLVMBuilderRef builder = bld->gallivm->builder; 98 struct lp_build_context *coord_bld = &bld->coord_bld; 136 lp_build_sample_wrap_nearest_float(struct lp_build_sample_context *bld, argument 143 struct lp_build_context *coord_bld = &bld->coord_bld; 155 if (bld->static_state->normalized_coords) { 192 lp_build_sample_wrap_linear_int(struct lp_build_sample_context *bld, argument 206 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; 207 LLVMBuilderRef builder = bld 353 lp_build_sample_wrap_linear_float(struct lp_build_sample_context *bld, unsigned block_length, LLVMValueRef coord, LLVMValueRef length, boolean is_pot, unsigned wrap_mode, LLVMValueRef *coord0, LLVMValueRef *coord1, LLVMValueRef *weight, unsigned force_nearest) argument 446 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_lo, LLVMValueRef *colors_hi) argument 514 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 s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *colors_lo, LLVMValueRef *colors_hi) argument 643 lp_build_sample_image_nearest_afloat(struct lp_build_sample_context *bld, LLVMValueRef int_size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *colors_lo, LLVMValueRef *colors_hi) argument 726 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_lo, LLVMValueRef *colors_hi) argument 964 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 s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *colors_lo, LLVMValueRef *colors_hi) argument 1147 lp_build_sample_image_linear_afloat(struct lp_build_sample_context *bld, LLVMValueRef int_size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *colors_lo, LLVMValueRef *colors_hi) argument 1312 lp_build_sample_mipmap(struct lp_build_sample_context *bld, unsigned img_filter, unsigned mip_filter, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef colors_lo_var, LLVMValueRef colors_hi_var) argument 1529 lp_build_sample_aos(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef lod_ipart, LLVMValueRef lod_fpart, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef texel_out[4]) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi_aos.c | 75 struct lp_build_tgsi_aos_context *bld = lp_aos_context(bld_base); local 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 179 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local 192 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local 206 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); local 221 lp_emit_store_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, unsigned index, LLVMValueRef value) argument 358 emit_tex(struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier) argument 403 lp_emit_declaration_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_declaration *decl) argument 454 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 993 struct lp_build_tgsi_aos_context bld; local [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_arit.c | 74 lp_build_min_simple(struct lp_build_context *bld, argument 78 const struct lp_type type = bld->type; 149 return lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, 154 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); 155 return lp_build_select(bld, cond, a, b); 164 lp_build_max_simple(struct lp_build_context *bld, argument 168 const struct lp_type type = bld->type; 240 return lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, 245 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); 246 return lp_build_select(bld, con 254 lp_build_comp(struct lp_build_context *bld, LLVMValueRef a) argument 291 lp_build_add(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 353 lp_build_horizontal_add(struct lp_build_context *bld, LLVMValueRef a) argument 423 lp_build_horizontal_add4x4f(struct lp_build_context *bld, LLVMValueRef src[4]) argument 487 lp_build_hadd_partial4(struct lp_build_context *bld, LLVMValueRef vectors[], unsigned num_vecs) argument 562 lp_build_sub(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 698 lp_build_mul(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 780 lp_build_mul_imm(struct lp_build_context *bld, LLVMValueRef a, int b) argument 836 lp_build_div(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 886 lp_build_lerp_simple(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef v0, LLVMValueRef v1) argument 921 lp_build_lerp(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef v0, LLVMValueRef v1) argument 986 lp_build_lerp_2d(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y, LLVMValueRef v00, LLVMValueRef v01, LLVMValueRef v10, LLVMValueRef v11) argument 1005 lp_build_min(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 1039 lp_build_max(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 1074 lp_build_clamp(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef min, LLVMValueRef max) argument 1093 lp_build_abs(struct lp_build_context *bld, LLVMValueRef a) argument 1138 lp_build_negate(struct lp_build_context *bld, LLVMValueRef a) argument 1158 lp_build_sgn(struct lp_build_context *bld, LLVMValueRef a) argument 1216 lp_build_set_sign(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef sign) argument 1250 lp_build_int_to_float(struct lp_build_context *bld, LLVMValueRef a) argument 1289 lp_build_round_sse41(struct lp_build_context *bld, LLVMValueRef a, enum lp_build_round_sse41_mode mode) argument 1376 lp_build_iround_nearest_sse2(struct lp_build_context *bld, LLVMValueRef a) argument 1435 lp_build_trunc(struct lp_build_context *bld, LLVMValueRef a) argument 1465 lp_build_round(struct lp_build_context *bld, LLVMValueRef a) argument 1493 lp_build_floor(struct lp_build_context *bld, LLVMValueRef a) argument 1521 lp_build_ceil(struct lp_build_context *bld, LLVMValueRef a) argument 1548 lp_build_fract(struct lp_build_context *bld, LLVMValueRef a) argument 1561 clamp_fract(struct lp_build_context *bld, LLVMValueRef fract) argument 1577 lp_build_fract_safe(struct lp_build_context *bld, LLVMValueRef a) argument 1590 lp_build_itrunc(struct lp_build_context *bld, LLVMValueRef a) argument 1611 lp_build_iround(struct lp_build_context *bld, LLVMValueRef a) argument 1667 lp_build_ifloor(struct lp_build_context *bld, LLVMValueRef a) argument 1726 lp_build_iceil(struct lp_build_context *bld, LLVMValueRef a) argument 1786 lp_build_ifloor_fract(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef *out_ipart, LLVMValueRef *out_fpart) argument 1824 lp_build_ifloor_fract_safe(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef *out_ipart, LLVMValueRef *out_fpart) argument 1835 lp_build_sqrt(struct lp_build_context *bld, LLVMValueRef a) argument 1874 lp_build_rcp_refine(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef rcp_a) argument 1891 lp_build_rcp(struct lp_build_context *bld, LLVMValueRef a) argument 1960 lp_build_rsqrt_refine(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef rsqrt_a) argument 1983 lp_build_rsqrt(struct lp_build_context *bld, LLVMValueRef a) argument 2025 lp_build_sin(struct lp_build_context *bld, LLVMValueRef a) argument 2244 lp_build_cos(struct lp_build_context *bld, LLVMValueRef a) argument 2461 lp_build_pow(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y) argument 2480 lp_build_exp(struct lp_build_context *bld, LLVMValueRef x) argument 2497 lp_build_log(struct lp_build_context *bld, LLVMValueRef x) argument 2515 lp_build_polynomial(struct lp_build_context *bld, LLVMValueRef x, const double *coeffs, unsigned num_coeffs) argument 2602 lp_build_exp2_approx(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef *p_exp2_int_part, LLVMValueRef *p_frac_part, LLVMValueRef *p_exp2) argument 2665 lp_build_exp2(struct lp_build_context *bld, LLVMValueRef x) argument 2684 lp_build_extract_exponent(struct lp_build_context *bld, LLVMValueRef x, int bias) argument 2718 lp_build_extract_mantissa(struct lp_build_context *bld, LLVMValueRef x) argument 2780 lp_build_log2_approx(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef *p_exp, LLVMValueRef *p_floor_log2, LLVMValueRef *p_log2) argument 2873 lp_build_log2(struct lp_build_context *bld, LLVMValueRef x) argument 2893 lp_build_fast_log2(struct lp_build_context *bld, LLVMValueRef x) argument 2922 lp_build_ilog2(struct lp_build_context *bld, LLVMValueRef x) argument 2943 lp_build_mod(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y) argument [all...] |
H A D | lp_bld_quad.h | 71 lp_build_ddx(struct lp_build_context *bld, 76 lp_build_ddy(struct lp_build_context *bld, 84 lp_build_packed_ddx_ddy_twocoord(struct lp_build_context *bld, 88 lp_build_packed_ddx_ddy_onecoord(struct lp_build_context *bld,
|
H A D | lp_bld_arit.h | 51 lp_build_comp(struct lp_build_context *bld, 55 lp_build_add(struct lp_build_context *bld, 60 lp_build_horizontal_add(struct lp_build_context *bld, 64 lp_build_hadd_partial4(struct lp_build_context *bld, 69 lp_build_sub(struct lp_build_context *bld, 74 lp_build_mul(struct lp_build_context *bld, 79 lp_build_mul_imm(struct lp_build_context *bld, 84 lp_build_div(struct lp_build_context *bld, 89 lp_build_lerp(struct lp_build_context *bld, 100 lp_build_lerp_2d(struct lp_build_context *bld, [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 173 lp_build_shl(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 194 lp_build_shr(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument 219 lp_build_shl_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm) argument 231 lp_build_shr_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm) argument [all...] |
H A D | lp_bld_sample_aos.c | 76 lp_build_sample_wrap_nearest_int(struct lp_build_sample_context *bld, argument 87 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; 88 LLVMBuilderRef builder = bld->gallivm->builder; 98 struct lp_build_context *coord_bld = &bld->coord_bld; 136 lp_build_sample_wrap_nearest_float(struct lp_build_sample_context *bld, argument 143 struct lp_build_context *coord_bld = &bld->coord_bld; 155 if (bld->static_state->normalized_coords) { 192 lp_build_sample_wrap_linear_int(struct lp_build_sample_context *bld, argument 206 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; 207 LLVMBuilderRef builder = bld 353 lp_build_sample_wrap_linear_float(struct lp_build_sample_context *bld, unsigned block_length, LLVMValueRef coord, LLVMValueRef length, boolean is_pot, unsigned wrap_mode, LLVMValueRef *coord0, LLVMValueRef *coord1, LLVMValueRef *weight, unsigned force_nearest) argument 446 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_lo, LLVMValueRef *colors_hi) argument 514 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 s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *colors_lo, LLVMValueRef *colors_hi) argument 643 lp_build_sample_image_nearest_afloat(struct lp_build_sample_context *bld, LLVMValueRef int_size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *colors_lo, LLVMValueRef *colors_hi) argument 726 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_lo, LLVMValueRef *colors_hi) argument 964 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 s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *colors_lo, LLVMValueRef *colors_hi) argument 1147 lp_build_sample_image_linear_afloat(struct lp_build_sample_context *bld, LLVMValueRef int_size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *colors_lo, LLVMValueRef *colors_hi) argument 1312 lp_build_sample_mipmap(struct lp_build_sample_context *bld, unsigned img_filter, unsigned mip_filter, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef colors_lo_var, LLVMValueRef colors_hi_var) argument 1529 lp_build_sample_aos(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef lod_ipart, LLVMValueRef lod_fpart, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef texel_out[4]) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_lowering_nv50.cpp | 41 expandIntegerMUL(BuildUtil *bld, Instruction *mul) argument 60 bld->setPosition(mul, true); 66 t[j] = bld->getSSA(fullSize); 69 i[0] = bld->mkSplit(a, halfSize, mul->getSrc(0)); 70 i[1] = bld->mkSplit(b, halfSize, mul->getSrc(1)); 72 i[2] = bld->mkOp2(OP_MUL, fTy, t[0], a[0], b[1]); 73 i[3] = bld->mkOp3(OP_MAD, fTy, t[1], a[1], b[0], t[0]); 74 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); 75 i[4] = bld 261 BuildUtil bld; member in class:nv50_ir::NV50LegalizeSSA 547 BuildUtil bld; member in class:nv50_ir::NV50LoweringPreSSA [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_lowering_nv50.cpp | 41 expandIntegerMUL(BuildUtil *bld, Instruction *mul) argument 60 bld->setPosition(mul, true); 66 t[j] = bld->getSSA(fullSize); 69 i[0] = bld->mkSplit(a, halfSize, mul->getSrc(0)); 70 i[1] = bld->mkSplit(b, halfSize, mul->getSrc(1)); 72 i[2] = bld->mkOp2(OP_MUL, fTy, t[0], a[0], b[1]); 73 i[3] = bld->mkOp3(OP_MAD, fTy, t[1], a[1], b[0], t[0]); 74 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); 75 i[4] = bld 261 BuildUtil bld; member in class:nv50_ir::NV50LegalizeSSA 547 BuildUtil bld; member in class:nv50_ir::NV50LoweringPreSSA [all...] |