/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample_soa.c | 74 lp_build_sample_texel_soa(struct lp_build_sample_context *bld, argument 87 const struct lp_sampler_static_state *static_state = bld->static_state; 88 const unsigned dims = bld->dims; 89 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; 90 LLVMBuilderRef builder = bld->gallivm->builder; 138 lp_build_sample_offset(&bld->int_coord_bld, 139 bld->format_desc, 152 offset = lp_build_andnot(&bld->int_coord_bld, offset, use_border); 155 lp_build_fetch_rgba_soa(bld->gallivm, 156 bld 200 lp_build_coord_mirror(struct lp_build_sample_context *bld, LLVMValueRef coord) argument 230 lp_build_coord_repeat_npot_linear(struct lp_build_sample_context *bld, LLVMValueRef coord_f, LLVMValueRef length_i, LLVMValueRef length_f, LLVMValueRef *coord0_i, LLVMValueRef *weight_f) argument 267 lp_build_sample_wrap_linear(struct lp_build_sample_context *bld, LLVMValueRef coord, LLVMValueRef length, LLVMValueRef length_f, boolean is_pot, unsigned wrap_mode, LLVMValueRef *x0_out, LLVMValueRef *x1_out, LLVMValueRef *weight_out) argument 468 lp_build_sample_wrap_nearest(struct lp_build_sample_context *bld, LLVMValueRef coord, LLVMValueRef length, LLVMValueRef length_f, boolean is_pot, unsigned wrap_mode) argument 591 lp_build_sample_image_nearest(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef colors_out[4]) argument 673 lp_build_sample_image_linear(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef colors_out[4]) argument 860 lp_build_sample_mipmap(struct lp_build_sample_context *bld, unsigned unit, unsigned img_filter, unsigned mip_filter, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef *colors_out) argument 983 lp_build_sample_common(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef *s, LLVMValueRef *t, LLVMValueRef *r, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *lod_ipart, LLVMValueRef *lod_fpart, LLVMValueRef *ilevel0, LLVMValueRef *ilevel1) argument 1085 lp_build_sample_general(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 *colors_out) argument 1166 lp_build_sample_compare(struct lp_build_sample_context *bld, LLVMValueRef p, LLVMValueRef texel[4]) argument 1246 struct lp_build_sample_context bld; local [all...] |
H A D | lp_bld_sample.c | 184 lp_build_rho(struct lp_build_sample_context *bld, argument 188 struct gallivm_state *gallivm = bld->gallivm; 189 struct lp_build_context *int_size_bld = &bld->int_size_bld; 190 struct lp_build_context *float_size_bld = &bld->float_size_bld; 191 struct lp_build_context *float_bld = &bld->float_bld; 192 struct lp_build_context *coord_bld = &bld->coord_bld; 193 struct lp_build_context *perquadf_bld = &bld->perquadf_bld; 195 const unsigned dims = bld->dims; 196 LLVMBuilderRef builder = bld->gallivm->builder; 197 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld 383 lp_build_brilinear_lod(struct lp_build_context *bld, LLVMValueRef lod, double factor, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument 431 lp_build_brilinear_rho(struct lp_build_context *bld, LLVMValueRef rho, double factor, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument 491 lp_build_lod_selector(struct lp_build_sample_context *bld, unsigned unit, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, unsigned mip_filter, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument 625 lp_build_nearest_mip_level(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef lod_ipart, LLVMValueRef *level_out) argument 653 lp_build_linear_mip_levels(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef lod_ipart, LLVMValueRef *lod_fpart_inout, LLVMValueRef *level0_out, LLVMValueRef *level1_out) argument 732 lp_build_get_mipmap_level(struct lp_build_sample_context *bld, LLVMValueRef level) argument 751 lp_build_minify(struct lp_build_context *bld, LLVMValueRef base_size, LLVMValueRef level) argument 778 lp_build_get_level_stride_vec(struct lp_build_sample_context *bld, LLVMValueRef stride_array, LLVMValueRef level) argument 798 lp_build_mipmap_level_sizes(struct lp_build_sample_context *bld, LLVMValueRef ilevel, LLVMValueRef *out_size, LLVMValueRef *row_stride_vec, LLVMValueRef *img_stride_vec) argument 837 lp_build_extract_image_sizes(struct lp_build_sample_context *bld, struct lp_type size_type, struct lp_type coord_type, LLVMValueRef size, LLVMValueRef *out_width, LLVMValueRef *out_height, LLVMValueRef *out_depth) argument 876 lp_build_unnormalized_coords(struct lp_build_sample_context *bld, LLVMValueRef flt_size, LLVMValueRef *s, LLVMValueRef *t, LLVMValueRef *r) argument 968 lp_build_cube_face(struct lp_build_sample_context *bld, LLVMValueRef major_coord, unsigned pos_face, unsigned neg_face) argument 989 lp_build_cube_lookup(struct lp_build_sample_context *bld, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *face, LLVMValueRef *face_s, LLVMValueRef *face_t) argument 1248 lp_build_sample_partial_offset(struct lp_build_context *bld, unsigned block_length, LLVMValueRef coord, LLVMValueRef stride, LLVMValueRef *out_offset, LLVMValueRef *out_subcoord) argument 1302 lp_build_sample_offset(struct lp_build_context *bld, const struct util_format_description *format_desc, LLVMValueRef x, LLVMValueRef y, LLVMValueRef z, LLVMValueRef y_stride, LLVMValueRef z_stride, LLVMValueRef *out_offset, LLVMValueRef *out_i, LLVMValueRef *out_j) argument [all...] |
H A D | lp_bld_tgsi_soa.c | 68 static void lp_exec_mask_init(struct lp_exec_mask *mask, struct lp_build_context *bld) argument 70 LLVMTypeRef int_type = LLVMInt32TypeInContext(bld->gallivm->context); 71 LLVMBuilderRef builder = bld->gallivm->builder; 73 mask->bld = bld; 79 mask->int_vec_type = lp_build_int_vec_type(bld->gallivm, mask->bld->type); 83 mask->loop_limiter = lp_build_alloca(bld->gallivm, int_type, "looplimiter"); 93 LLVMBuilderRef builder = mask->bld->gallivm->builder; 125 LLVMBuilderRef builder = mask->bld 387 lp_get_temp_ptr_soa(struct lp_build_tgsi_soa_context *bld, unsigned index, unsigned chan) argument 409 lp_get_output_ptr(struct lp_build_tgsi_soa_context *bld, unsigned index, unsigned chan) argument 431 build_gather(struct lp_build_context *bld, LLVMValueRef base_ptr, LLVMValueRef indexes) argument 461 emit_mask_scatter(struct lp_build_tgsi_soa_context *bld, LLVMValueRef base_ptr, LLVMValueRef indexes, LLVMValueRef values, struct lp_exec_mask *mask, LLVMValueRef pred) argument 517 get_indirect_index(struct lp_build_tgsi_soa_context *bld, unsigned reg_file, unsigned reg_index, const struct tgsi_src_register *indirect_reg) argument 585 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 642 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 661 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 727 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 788 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 832 emit_fetch_deriv( struct lp_build_tgsi_soa_context *bld, LLVMValueRef src, LLVMValueRef *res, LLVMValueRef *ddx, LLVMValueRef *ddy) argument 856 emit_fetch_predicate( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, LLVMValueRef *pred) argument 931 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1121 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1139 emit_tex( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier, LLVMValueRef *texel) argument 1298 emit_txq( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, LLVMValueRef *sizes_out) argument 1373 near_end_of_shader(struct lp_build_tgsi_soa_context *bld, int pc) argument 1414 emit_kil( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, int pc) argument 1473 emit_kilp(struct lp_build_tgsi_soa_context *bld, int pc) argument 1502 emit_dump_temps(struct lp_build_tgsi_soa_context *bld) argument 1548 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); local 1604 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); local 1648 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1660 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1672 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1683 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1694 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1705 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1717 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1729 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1741 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1753 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1764 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1776 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1787 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1799 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1812 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1823 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1834 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1845 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1856 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1867 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1878 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1902 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1978 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 2030 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 2064 struct lp_build_tgsi_soa_context bld; local [all...] |
H A D | lp_bld_logic.h | 61 lp_build_cmp(struct lp_build_context *bld, 67 lp_build_select_bitwise(struct lp_build_context *bld, 73 lp_build_select(struct lp_build_context *bld, 79 lp_build_select_aos(struct lp_build_context *bld, 86 lp_build_any_true_range(struct lp_build_context *bld,
|
H A D | lp_bld_quad.c | 62 lp_build_ddx(struct lp_build_context *bld, argument 65 LLVMValueRef a_left = lp_build_swizzle_aos(bld, a, swizzle_left); 66 LLVMValueRef a_right = lp_build_swizzle_aos(bld, a, swizzle_right); 67 return lp_build_sub(bld, a_right, a_left); 72 lp_build_ddy(struct lp_build_context *bld, argument 75 LLVMValueRef a_top = lp_build_swizzle_aos(bld, a, swizzle_top); 76 LLVMValueRef a_bottom = lp_build_swizzle_aos(bld, a, swizzle_bottom); 77 return lp_build_sub(bld, a_bottom, a_top); 91 lp_build_packed_ddx_ddy_onecoord(struct lp_build_context *bld, argument 94 struct gallivm_state *gallivm = bld 124 lp_build_packed_ddx_ddy_twocoord(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument [all...] |
H A D | lp_bld_swizzle.h | 57 lp_build_broadcast_scalar(struct lp_build_context *bld, 74 lp_build_swizzle_scalar_aos(struct lp_build_context *bld, 85 lp_build_swizzle_aos(struct lp_build_context *bld, 91 lp_build_swizzle_soa_channel(struct lp_build_context *bld, 97 lp_build_swizzle_soa(struct lp_build_context *bld, 104 lp_build_swizzle_soa_inplace(struct lp_build_context *bld,
|
H A D | lp_bld_logic.c | 379 lp_build_cmp(struct lp_build_context *bld, argument 384 return lp_build_compare(bld->gallivm, bld->type, func, a, b); 392 lp_build_select_bitwise(struct lp_build_context *bld, argument 397 LLVMBuilderRef builder = bld->gallivm->builder; 398 struct lp_type type = bld->type; 409 LLVMTypeRef int_vec_type = lp_build_int_vec_type(bld->gallivm, type); 426 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); 441 lp_build_select(struct lp_build_context *bld, argument 446 LLVMBuilderRef builder = bld 560 lp_build_select_aos(struct lp_build_context *bld, unsigned mask, LLVMValueRef a, LLVMValueRef b) argument 616 lp_build_any_true_range(struct lp_build_context *bld, unsigned real_length, LLVMValueRef val) argument [all...] |
H A D | lp_bld_type.c | 374 lp_build_context_init(struct lp_build_context *bld, argument 378 bld->gallivm = gallivm; 379 bld->type = type; 381 bld->int_elem_type = lp_build_int_elem_type(gallivm, type); 383 bld->elem_type = lp_build_elem_type(gallivm, type); 385 bld->elem_type = bld->int_elem_type; 388 bld->int_vec_type = bld->int_elem_type; 389 bld [all...] |
H A D | lp_bld_sample.h | 275 apply_sampler_swizzle(struct lp_build_sample_context *bld, argument 280 swizzles[0] = bld->static_state->swizzle_r; 281 swizzles[1] = bld->static_state->swizzle_g; 282 swizzles[2] = bld->static_state->swizzle_b; 283 swizzles[3] = bld->static_state->swizzle_a; 285 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles); 323 lp_build_lod_selector(struct lp_build_sample_context *bld, 333 lp_build_nearest_mip_level(struct lp_build_sample_context *bld, 339 lp_build_linear_mip_levels(struct lp_build_sample_context *bld, 347 lp_build_get_mipmap_level(struct lp_build_sample_context *bld, [all...] |
H A D | lp_bld_swizzle.c | 89 lp_build_broadcast_scalar(struct lp_build_context *bld, argument 92 assert(lp_check_elem_type(bld->type, LLVMTypeOf(scalar))); 94 return lp_build_broadcast(bld->gallivm, bld->vec_type, scalar); 165 lp_build_swizzle_scalar_aos(struct lp_build_context *bld, argument 169 LLVMBuilderRef builder = bld->gallivm->builder; 170 const struct lp_type type = bld->type; 174 if(a == bld->undef || a == bld->zero || a == bld 251 lp_build_swizzle_aos(struct lp_build_context *bld, LLVMValueRef a, const unsigned char swizzles[4]) argument 440 lp_build_swizzle_soa_channel(struct lp_build_context *bld, const LLVMValueRef *unswizzled, unsigned swizzle) argument 470 lp_build_swizzle_soa(struct lp_build_context *bld, const LLVMValueRef *unswizzled, const unsigned char swizzles[4], LLVMValueRef *swizzled) argument 492 lp_build_swizzle_soa_inplace(struct lp_build_context *bld, LLVMValueRef *values, const unsigned char swizzles[4]) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample_soa.c | 74 lp_build_sample_texel_soa(struct lp_build_sample_context *bld, argument 87 const struct lp_sampler_static_state *static_state = bld->static_state; 88 const unsigned dims = bld->dims; 89 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; 90 LLVMBuilderRef builder = bld->gallivm->builder; 138 lp_build_sample_offset(&bld->int_coord_bld, 139 bld->format_desc, 152 offset = lp_build_andnot(&bld->int_coord_bld, offset, use_border); 155 lp_build_fetch_rgba_soa(bld->gallivm, 156 bld 200 lp_build_coord_mirror(struct lp_build_sample_context *bld, LLVMValueRef coord) argument 230 lp_build_coord_repeat_npot_linear(struct lp_build_sample_context *bld, LLVMValueRef coord_f, LLVMValueRef length_i, LLVMValueRef length_f, LLVMValueRef *coord0_i, LLVMValueRef *weight_f) argument 267 lp_build_sample_wrap_linear(struct lp_build_sample_context *bld, LLVMValueRef coord, LLVMValueRef length, LLVMValueRef length_f, boolean is_pot, unsigned wrap_mode, LLVMValueRef *x0_out, LLVMValueRef *x1_out, LLVMValueRef *weight_out) argument 468 lp_build_sample_wrap_nearest(struct lp_build_sample_context *bld, LLVMValueRef coord, LLVMValueRef length, LLVMValueRef length_f, boolean is_pot, unsigned wrap_mode) argument 591 lp_build_sample_image_nearest(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef colors_out[4]) argument 673 lp_build_sample_image_linear(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef colors_out[4]) argument 860 lp_build_sample_mipmap(struct lp_build_sample_context *bld, unsigned unit, unsigned img_filter, unsigned mip_filter, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef *colors_out) argument 983 lp_build_sample_common(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef *s, LLVMValueRef *t, LLVMValueRef *r, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *lod_ipart, LLVMValueRef *lod_fpart, LLVMValueRef *ilevel0, LLVMValueRef *ilevel1) argument 1085 lp_build_sample_general(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 *colors_out) argument 1166 lp_build_sample_compare(struct lp_build_sample_context *bld, LLVMValueRef p, LLVMValueRef texel[4]) argument 1246 struct lp_build_sample_context bld; local [all...] |
H A D | lp_bld_sample.c | 184 lp_build_rho(struct lp_build_sample_context *bld, argument 188 struct gallivm_state *gallivm = bld->gallivm; 189 struct lp_build_context *int_size_bld = &bld->int_size_bld; 190 struct lp_build_context *float_size_bld = &bld->float_size_bld; 191 struct lp_build_context *float_bld = &bld->float_bld; 192 struct lp_build_context *coord_bld = &bld->coord_bld; 193 struct lp_build_context *perquadf_bld = &bld->perquadf_bld; 195 const unsigned dims = bld->dims; 196 LLVMBuilderRef builder = bld->gallivm->builder; 197 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld 383 lp_build_brilinear_lod(struct lp_build_context *bld, LLVMValueRef lod, double factor, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument 431 lp_build_brilinear_rho(struct lp_build_context *bld, LLVMValueRef rho, double factor, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument 491 lp_build_lod_selector(struct lp_build_sample_context *bld, unsigned unit, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, unsigned mip_filter, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument 625 lp_build_nearest_mip_level(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef lod_ipart, LLVMValueRef *level_out) argument 653 lp_build_linear_mip_levels(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef lod_ipart, LLVMValueRef *lod_fpart_inout, LLVMValueRef *level0_out, LLVMValueRef *level1_out) argument 732 lp_build_get_mipmap_level(struct lp_build_sample_context *bld, LLVMValueRef level) argument 751 lp_build_minify(struct lp_build_context *bld, LLVMValueRef base_size, LLVMValueRef level) argument 778 lp_build_get_level_stride_vec(struct lp_build_sample_context *bld, LLVMValueRef stride_array, LLVMValueRef level) argument 798 lp_build_mipmap_level_sizes(struct lp_build_sample_context *bld, LLVMValueRef ilevel, LLVMValueRef *out_size, LLVMValueRef *row_stride_vec, LLVMValueRef *img_stride_vec) argument 837 lp_build_extract_image_sizes(struct lp_build_sample_context *bld, struct lp_type size_type, struct lp_type coord_type, LLVMValueRef size, LLVMValueRef *out_width, LLVMValueRef *out_height, LLVMValueRef *out_depth) argument 876 lp_build_unnormalized_coords(struct lp_build_sample_context *bld, LLVMValueRef flt_size, LLVMValueRef *s, LLVMValueRef *t, LLVMValueRef *r) argument 968 lp_build_cube_face(struct lp_build_sample_context *bld, LLVMValueRef major_coord, unsigned pos_face, unsigned neg_face) argument 989 lp_build_cube_lookup(struct lp_build_sample_context *bld, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef *face, LLVMValueRef *face_s, LLVMValueRef *face_t) argument 1248 lp_build_sample_partial_offset(struct lp_build_context *bld, unsigned block_length, LLVMValueRef coord, LLVMValueRef stride, LLVMValueRef *out_offset, LLVMValueRef *out_subcoord) argument 1302 lp_build_sample_offset(struct lp_build_context *bld, const struct util_format_description *format_desc, LLVMValueRef x, LLVMValueRef y, LLVMValueRef z, LLVMValueRef y_stride, LLVMValueRef z_stride, LLVMValueRef *out_offset, LLVMValueRef *out_i, LLVMValueRef *out_j) argument [all...] |
H A D | lp_bld_tgsi_soa.c | 68 static void lp_exec_mask_init(struct lp_exec_mask *mask, struct lp_build_context *bld) argument 70 LLVMTypeRef int_type = LLVMInt32TypeInContext(bld->gallivm->context); 71 LLVMBuilderRef builder = bld->gallivm->builder; 73 mask->bld = bld; 79 mask->int_vec_type = lp_build_int_vec_type(bld->gallivm, mask->bld->type); 83 mask->loop_limiter = lp_build_alloca(bld->gallivm, int_type, "looplimiter"); 93 LLVMBuilderRef builder = mask->bld->gallivm->builder; 125 LLVMBuilderRef builder = mask->bld 387 lp_get_temp_ptr_soa(struct lp_build_tgsi_soa_context *bld, unsigned index, unsigned chan) argument 409 lp_get_output_ptr(struct lp_build_tgsi_soa_context *bld, unsigned index, unsigned chan) argument 431 build_gather(struct lp_build_context *bld, LLVMValueRef base_ptr, LLVMValueRef indexes) argument 461 emit_mask_scatter(struct lp_build_tgsi_soa_context *bld, LLVMValueRef base_ptr, LLVMValueRef indexes, LLVMValueRef values, struct lp_exec_mask *mask, LLVMValueRef pred) argument 517 get_indirect_index(struct lp_build_tgsi_soa_context *bld, unsigned reg_file, unsigned reg_index, const struct tgsi_src_register *indirect_reg) argument 585 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 642 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 661 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 727 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 788 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 832 emit_fetch_deriv( struct lp_build_tgsi_soa_context *bld, LLVMValueRef src, LLVMValueRef *res, LLVMValueRef *ddx, LLVMValueRef *ddy) argument 856 emit_fetch_predicate( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, LLVMValueRef *pred) argument 931 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1121 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1139 emit_tex( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier, LLVMValueRef *texel) argument 1298 emit_txq( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, LLVMValueRef *sizes_out) argument 1373 near_end_of_shader(struct lp_build_tgsi_soa_context *bld, int pc) argument 1414 emit_kil( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, int pc) argument 1473 emit_kilp(struct lp_build_tgsi_soa_context *bld, int pc) argument 1502 emit_dump_temps(struct lp_build_tgsi_soa_context *bld) argument 1548 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); local 1604 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); local 1648 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1660 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1672 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1683 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1694 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1705 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1717 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1729 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1741 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1753 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1764 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1776 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1787 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1799 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1812 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1823 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1834 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1845 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1856 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1867 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1878 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1902 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 1978 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 2030 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); local 2064 struct lp_build_tgsi_soa_context bld; local [all...] |
H A D | lp_bld_logic.h | 61 lp_build_cmp(struct lp_build_context *bld, 67 lp_build_select_bitwise(struct lp_build_context *bld, 73 lp_build_select(struct lp_build_context *bld, 79 lp_build_select_aos(struct lp_build_context *bld, 86 lp_build_any_true_range(struct lp_build_context *bld,
|
H A D | lp_bld_quad.c | 62 lp_build_ddx(struct lp_build_context *bld, argument 65 LLVMValueRef a_left = lp_build_swizzle_aos(bld, a, swizzle_left); 66 LLVMValueRef a_right = lp_build_swizzle_aos(bld, a, swizzle_right); 67 return lp_build_sub(bld, a_right, a_left); 72 lp_build_ddy(struct lp_build_context *bld, argument 75 LLVMValueRef a_top = lp_build_swizzle_aos(bld, a, swizzle_top); 76 LLVMValueRef a_bottom = lp_build_swizzle_aos(bld, a, swizzle_bottom); 77 return lp_build_sub(bld, a_bottom, a_top); 91 lp_build_packed_ddx_ddy_onecoord(struct lp_build_context *bld, argument 94 struct gallivm_state *gallivm = bld 124 lp_build_packed_ddx_ddy_twocoord(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) argument [all...] |
H A D | lp_bld_swizzle.h | 57 lp_build_broadcast_scalar(struct lp_build_context *bld, 74 lp_build_swizzle_scalar_aos(struct lp_build_context *bld, 85 lp_build_swizzle_aos(struct lp_build_context *bld, 91 lp_build_swizzle_soa_channel(struct lp_build_context *bld, 97 lp_build_swizzle_soa(struct lp_build_context *bld, 104 lp_build_swizzle_soa_inplace(struct lp_build_context *bld,
|
H A D | lp_bld_logic.c | 379 lp_build_cmp(struct lp_build_context *bld, argument 384 return lp_build_compare(bld->gallivm, bld->type, func, a, b); 392 lp_build_select_bitwise(struct lp_build_context *bld, argument 397 LLVMBuilderRef builder = bld->gallivm->builder; 398 struct lp_type type = bld->type; 409 LLVMTypeRef int_vec_type = lp_build_int_vec_type(bld->gallivm, type); 426 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); 441 lp_build_select(struct lp_build_context *bld, argument 446 LLVMBuilderRef builder = bld 560 lp_build_select_aos(struct lp_build_context *bld, unsigned mask, LLVMValueRef a, LLVMValueRef b) argument 616 lp_build_any_true_range(struct lp_build_context *bld, unsigned real_length, LLVMValueRef val) argument [all...] |
H A D | lp_bld_type.c | 374 lp_build_context_init(struct lp_build_context *bld, argument 378 bld->gallivm = gallivm; 379 bld->type = type; 381 bld->int_elem_type = lp_build_int_elem_type(gallivm, type); 383 bld->elem_type = lp_build_elem_type(gallivm, type); 385 bld->elem_type = bld->int_elem_type; 388 bld->int_vec_type = bld->int_elem_type; 389 bld [all...] |
H A D | lp_bld_sample.h | 275 apply_sampler_swizzle(struct lp_build_sample_context *bld, argument 280 swizzles[0] = bld->static_state->swizzle_r; 281 swizzles[1] = bld->static_state->swizzle_g; 282 swizzles[2] = bld->static_state->swizzle_b; 283 swizzles[3] = bld->static_state->swizzle_a; 285 lp_build_swizzle_soa_inplace(&bld->texel_bld, texel, swizzles); 323 lp_build_lod_selector(struct lp_build_sample_context *bld, 333 lp_build_nearest_mip_level(struct lp_build_sample_context *bld, 339 lp_build_linear_mip_levels(struct lp_build_sample_context *bld, 347 lp_build_get_mipmap_level(struct lp_build_sample_context *bld, [all...] |
H A D | lp_bld_swizzle.c | 89 lp_build_broadcast_scalar(struct lp_build_context *bld, argument 92 assert(lp_check_elem_type(bld->type, LLVMTypeOf(scalar))); 94 return lp_build_broadcast(bld->gallivm, bld->vec_type, scalar); 165 lp_build_swizzle_scalar_aos(struct lp_build_context *bld, argument 169 LLVMBuilderRef builder = bld->gallivm->builder; 170 const struct lp_type type = bld->type; 174 if(a == bld->undef || a == bld->zero || a == bld 251 lp_build_swizzle_aos(struct lp_build_context *bld, LLVMValueRef a, const unsigned char swizzles[4]) argument 440 lp_build_swizzle_soa_channel(struct lp_build_context *bld, const LLVMValueRef *unswizzled, unsigned swizzle) argument 470 lp_build_swizzle_soa(struct lp_build_context *bld, const LLVMValueRef *unswizzled, const unsigned char swizzles[4], LLVMValueRef *swizzled) argument 492 lp_build_swizzle_soa_inplace(struct lp_build_context *bld, LLVMValueRef *values, const unsigned char swizzles[4]) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_interp.c | 160 coeffs_init_simple(struct lp_build_interp_soa_context *bld, argument 165 struct lp_build_context *coeff_bld = &bld->coeff_bld; 166 struct lp_build_context *setup_bld = &bld->setup_bld; 171 for (attrib = 0; attrib < bld->num_attribs; ++attrib) { 183 const unsigned interp = bld->interp[attrib]; 227 bld->a0aos[attrib] = a0aos; 228 bld->dadxaos[attrib] = dadxaos; 229 bld->dadyaos[attrib] = dadyaos; 238 attribs_update_simple(struct lp_build_interp_soa_context *bld, argument 246 struct lp_build_context *coeff_bld = &bld 361 coeffs_init(struct lp_build_interp_soa_context *bld, LLVMValueRef a0_ptr, LLVMValueRef dadx_ptr, LLVMValueRef dady_ptr) argument 550 attribs_update(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, int quad_start_index, LLVMValueRef loop_iter, int start, int end) argument 672 pos_init(struct lp_build_interp_soa_context *bld, LLVMValueRef x0, LLVMValueRef y0) argument 688 lp_build_interp_soa_init(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, unsigned num_inputs, const struct lp_shader_input *inputs, LLVMBuilderRef builder, struct lp_type type, boolean dynamic_offsets, LLVMValueRef a0_ptr, LLVMValueRef dadx_ptr, LLVMValueRef dady_ptr, LLVMValueRef x0, LLVMValueRef y0) argument 795 lp_build_interp_soa_update_inputs(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, int quad_start_index) argument 810 lp_build_interp_soa_update_pos(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, int quad_start_index) argument 825 lp_build_interp_soa_update_inputs_dyn(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, LLVMValueRef quad_start_index) argument 838 lp_build_interp_soa_update_pos_dyn(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, LLVMValueRef quad_start_index) argument [all...] |
H A D | lp_bld_interp.h | 115 lp_build_interp_soa_init(struct lp_build_interp_soa_context *bld, 129 lp_build_interp_soa_update_inputs(struct lp_build_interp_soa_context *bld, 134 lp_build_interp_soa_update_pos(struct lp_build_interp_soa_context *bld, 139 lp_build_interp_soa_update_inputs_dyn(struct lp_build_interp_soa_context *bld, 144 lp_build_interp_soa_update_pos_dyn(struct lp_build_interp_soa_context *bld,
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_interp.c | 160 coeffs_init_simple(struct lp_build_interp_soa_context *bld, argument 165 struct lp_build_context *coeff_bld = &bld->coeff_bld; 166 struct lp_build_context *setup_bld = &bld->setup_bld; 171 for (attrib = 0; attrib < bld->num_attribs; ++attrib) { 183 const unsigned interp = bld->interp[attrib]; 227 bld->a0aos[attrib] = a0aos; 228 bld->dadxaos[attrib] = dadxaos; 229 bld->dadyaos[attrib] = dadyaos; 238 attribs_update_simple(struct lp_build_interp_soa_context *bld, argument 246 struct lp_build_context *coeff_bld = &bld 361 coeffs_init(struct lp_build_interp_soa_context *bld, LLVMValueRef a0_ptr, LLVMValueRef dadx_ptr, LLVMValueRef dady_ptr) argument 550 attribs_update(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, int quad_start_index, LLVMValueRef loop_iter, int start, int end) argument 672 pos_init(struct lp_build_interp_soa_context *bld, LLVMValueRef x0, LLVMValueRef y0) argument 688 lp_build_interp_soa_init(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, unsigned num_inputs, const struct lp_shader_input *inputs, LLVMBuilderRef builder, struct lp_type type, boolean dynamic_offsets, LLVMValueRef a0_ptr, LLVMValueRef dadx_ptr, LLVMValueRef dady_ptr, LLVMValueRef x0, LLVMValueRef y0) argument 795 lp_build_interp_soa_update_inputs(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, int quad_start_index) argument 810 lp_build_interp_soa_update_pos(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, int quad_start_index) argument 825 lp_build_interp_soa_update_inputs_dyn(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, LLVMValueRef quad_start_index) argument 838 lp_build_interp_soa_update_pos_dyn(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, LLVMValueRef quad_start_index) argument [all...] |
H A D | lp_bld_interp.h | 115 lp_build_interp_soa_init(struct lp_build_interp_soa_context *bld, 129 lp_build_interp_soa_update_inputs(struct lp_build_interp_soa_context *bld, 134 lp_build_interp_soa_update_pos(struct lp_build_interp_soa_context *bld, 139 lp_build_interp_soa_update_inputs_dyn(struct lp_build_interp_soa_context *bld, 144 lp_build_interp_soa_update_pos_dyn(struct lp_build_interp_soa_context *bld,
|
/external/dnsmasq/ |
H A D | Makefile | 33 DNSMASQ_CFLAGS=`echo $(COPTS) | ../bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --cflags dbus-1` 34 DNSMASQ_LIBS= `echo $(COPTS) | ../bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --libs dbus-1` 43 -f ../bld/Makefile dnsmasq 61 -f ../bld/Makefile dnsmasq 65 -f ../bld/Makefile $${f%.po}.mo; \ 69 cd $(SRC); ../bld/install-mo $(DESTDIR)$(LOCALEDIR) $(INSTALL) 70 cd $(MAN); ../bld/install-man $(DESTDIR)$(MANDIR) $(INSTALL) 73 @cd $(SRC) && $(MAKE) XGETTEXT=$(XGETTEXT) -f ../bld/Makefile dnsmasq.pot
|