/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_pack.c | 87 lp_build_const_unpack_shuffle(struct gallivm_state *gallivm, 99 elems[i + 0] = lp_build_const_int32(gallivm, 0 + j); 100 elems[i + 1] = lp_build_const_int32(gallivm, n + j); 111 lp_build_const_unpack_shuffle_half(struct gallivm_state *gallivm, 124 elems[i + 0] = lp_build_const_int32(gallivm, 0 + j); 125 elems[i + 1] = lp_build_const_int32(gallivm, n + j); 135 lp_build_const_pack_shuffle(struct gallivm_state *gallivm, unsigned n) 143 elems[i] = lp_build_const_int32(gallivm, 2*i); 154 lp_build_extract_range(struct gallivm_state *gallivm, 165 elems[i] = lp_build_const_int32(gallivm, i + start) [all...] |
lp_bld_struct.c | 46 lp_build_struct_get_ptr(struct gallivm_state *gallivm, 55 indices[0] = lp_build_const_int32(gallivm, 0); 56 indices[1] = lp_build_const_int32(gallivm, member); 57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); 64 lp_build_struct_get(struct gallivm_state *gallivm, 73 member_ptr = lp_build_struct_get_ptr(gallivm, ptr, member, name); 74 res = LLVMBuildLoad(gallivm->builder, member_ptr, ""); 81 lp_build_array_get_ptr(struct gallivm_state *gallivm, 89 indices[0] = lp_build_const_int32(gallivm, 0); 91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), "") [all...] |
lp_bld_init.h | 60 gallivm_destroy(struct gallivm_state *gallivm); 64 gallivm_verify_function(struct gallivm_state *gallivm, 68 gallivm_compile_module(struct gallivm_state *gallivm); 71 gallivm_jit_function(struct gallivm_state *gallivm, 75 gallivm_free_function(struct gallivm_state *gallivm,
|
lp_bld_conv.c | 87 lp_build_half_to_float(struct gallivm_state *gallivm, 94 LLVMBuilderRef builder = gallivm->builder; 95 LLVMTypeRef int_vec_type = lp_build_vec_type(gallivm, i32_type); 96 LLVMTypeRef float_vec_type = lp_build_vec_type(gallivm, f32_type); 99 LLVMValueRef i32_13 = lp_build_const_int_vec(gallivm, i32_type, 13); 100 LLVMValueRef i32_16 = lp_build_const_int_vec(gallivm, i32_type, 16); 101 LLVMValueRef i32_mask_nosign = lp_build_const_int_vec(gallivm, i32_type, 0x7fff); 102 LLVMValueRef i32_was_infnan = lp_build_const_int_vec(gallivm, i32_type, 0x7bff); 103 LLVMValueRef i32_exp_infnan = lp_build_const_int_vec(gallivm, i32_type, 0xff << 23); 105 lp_build_const_int_vec(gallivm, i32_type, (254 - 15) << 23) [all...] |
lp_bld_sample.h | 41 #include "gallivm/lp_bld.h" 42 #include "gallivm/lp_bld_type.h" 43 #include "gallivm/lp_bld_swizzle.h" 121 struct gallivm_state *gallivm, 127 struct gallivm_state *gallivm, 133 struct gallivm_state *gallivm, 139 struct gallivm_state *gallivm, 145 struct gallivm_state *gallivm, 151 struct gallivm_state *gallivm, 157 struct gallivm_state *gallivm, 193 struct gallivm_state *gallivm; member in struct:lp_build_sample_context [all...] |
lp_bld_quad.c | 94 struct gallivm_state *gallivm = bld->gallivm; local 95 LLVMBuilderRef builder = gallivm->builder; 127 struct gallivm_state *gallivm = bld->gallivm; local 128 LLVMBuilderRef builder = gallivm->builder; 140 shuffles1[4*i + 0] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s1); 141 shuffles1[4*i + 1] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s1); 142 shuffles1[4*i + 2] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2); 143 shuffles1[4*i + 3] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2) [all...] |
lp_bld_type.c | 37 lp_build_elem_type(struct gallivm_state *gallivm, struct lp_type type) 42 return LLVMIntTypeInContext(gallivm->context, 16); 45 return LLVMFloatTypeInContext(gallivm->context); 48 return LLVMDoubleTypeInContext(gallivm->context); 52 return LLVMFloatTypeInContext(gallivm->context); 56 return LLVMIntTypeInContext(gallivm->context, type.width); 62 lp_build_vec_type(struct gallivm_state *gallivm,struct lp_type type) 64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); 160 lp_build_int_elem_type(struct gallivm_state *gallivm, struct lp_type type) 162 return LLVMIntTypeInContext(gallivm->context, type.width) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_tex_sample.c | 45 #include "gallivm/lp_bld_debug.h" 46 #include "gallivm/lp_bld_const.h" 47 #include "gallivm/lp_bld_type.h" 48 #include "gallivm/lp_bld_sample.h" 49 #include "gallivm/lp_bld_tgsi.h" 93 struct gallivm_state *gallivm, 101 LLVMBuilderRef builder = gallivm->builder; 109 indices[0] = lp_build_const_int32(gallivm, 0); 111 indices[1] = lp_build_const_int32(gallivm, LP_JIT_CTX_TEXTURES); 113 indices[2] = lp_build_const_int32(gallivm, unit) [all...] |
lp_bld_interp.c | 41 #include "gallivm/lp_bld_debug.h" 42 #include "gallivm/lp_bld_const.h" 43 #include "gallivm/lp_bld_arit.h" 44 #include "gallivm/lp_bld_swizzle.h" 45 #include "gallivm/lp_bld_flow.h" 134 struct gallivm_state *gallivm = coeff_bld->gallivm; local 135 LLVMBuilderRef builder = coeff_bld->gallivm->builder; 142 nr = lp_build_const_int32(gallivm, i); 143 pixxf = lp_build_const_float(gallivm, quad_offset_x[i % num_pix] 167 struct gallivm_state *gallivm = coeff_bld->gallivm; local 368 struct gallivm_state *gallivm = coeff_bld->gallivm; local [all...] |
lp_state_fs.c | 75 #include "gallivm/lp_bld_type.h" 76 #include "gallivm/lp_bld_const.h" 77 #include "gallivm/lp_bld_conv.h" 78 #include "gallivm/lp_bld_init.h" 79 #include "gallivm/lp_bld_intr.h" 80 #include "gallivm/lp_bld_logic.h" 81 #include "gallivm/lp_bld_tgsi.h" 82 #include "gallivm/lp_bld_swizzle.h" 83 #include "gallivm/lp_bld_flow.h" 84 #include "gallivm/lp_bld_debug.h 766 struct gallivm_state *gallivm = variant->gallivm; local [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_const.c | 225 lp_build_undef(struct gallivm_state *gallivm, struct lp_type type) 227 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); 233 lp_build_zero(struct gallivm_state *gallivm, struct lp_type type) 237 return lp_build_const_float(gallivm, 0.0); 239 return LLVMConstInt(LLVMIntTypeInContext(gallivm->context, type.width), 0, 0); 242 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); 249 lp_build_one(struct gallivm_state *gallivm, struct lp_type type) 257 elem_type = lp_build_elem_type(gallivm, type); 299 lp_build_const_elem(struct gallivm_state *gallivm, 303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type) [all...] |
lp_bld_intr.c | 143 lp_build_intrinsic_binary_anylength(struct gallivm_state *gallivm, 152 LLVMBuilderRef builder = gallivm->builder; 153 LLVMValueRef i32undef = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); 164 elems[i] = lp_build_const_int32(gallivm, i); 170 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); 178 lp_build_vec_type(gallivm, intrin_type), 205 anative = lp_build_extract_range(gallivm, a, i*intrin_length, 207 bnative = lp_build_extract_range(gallivm, b, i*intrin_length, 210 lp_build_vec_type(gallivm, intrin_type), 213 return lp_build_concat(gallivm, tmp, intrin_type, num_vec) [all...] |
lp_bld_pack.c | 87 lp_build_const_unpack_shuffle(struct gallivm_state *gallivm, 99 elems[i + 0] = lp_build_const_int32(gallivm, 0 + j); 100 elems[i + 1] = lp_build_const_int32(gallivm, n + j); 111 lp_build_const_unpack_shuffle_half(struct gallivm_state *gallivm, 124 elems[i + 0] = lp_build_const_int32(gallivm, 0 + j); 125 elems[i + 1] = lp_build_const_int32(gallivm, n + j); 135 lp_build_const_pack_shuffle(struct gallivm_state *gallivm, unsigned n) 143 elems[i] = lp_build_const_int32(gallivm, 2*i); 154 lp_build_extract_range(struct gallivm_state *gallivm, 165 elems[i] = lp_build_const_int32(gallivm, i + start) [all...] |
lp_bld_struct.c | 46 lp_build_struct_get_ptr(struct gallivm_state *gallivm, 55 indices[0] = lp_build_const_int32(gallivm, 0); 56 indices[1] = lp_build_const_int32(gallivm, member); 57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); 64 lp_build_struct_get(struct gallivm_state *gallivm, 73 member_ptr = lp_build_struct_get_ptr(gallivm, ptr, member, name); 74 res = LLVMBuildLoad(gallivm->builder, member_ptr, ""); 81 lp_build_array_get_ptr(struct gallivm_state *gallivm, 89 indices[0] = lp_build_const_int32(gallivm, 0); 91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), "") [all...] |
lp_bld_init.h | 60 gallivm_destroy(struct gallivm_state *gallivm); 64 gallivm_verify_function(struct gallivm_state *gallivm, 68 gallivm_compile_module(struct gallivm_state *gallivm); 71 gallivm_jit_function(struct gallivm_state *gallivm, 75 gallivm_free_function(struct gallivm_state *gallivm,
|
lp_bld_conv.c | 87 lp_build_half_to_float(struct gallivm_state *gallivm, 94 LLVMBuilderRef builder = gallivm->builder; 95 LLVMTypeRef int_vec_type = lp_build_vec_type(gallivm, i32_type); 96 LLVMTypeRef float_vec_type = lp_build_vec_type(gallivm, f32_type); 99 LLVMValueRef i32_13 = lp_build_const_int_vec(gallivm, i32_type, 13); 100 LLVMValueRef i32_16 = lp_build_const_int_vec(gallivm, i32_type, 16); 101 LLVMValueRef i32_mask_nosign = lp_build_const_int_vec(gallivm, i32_type, 0x7fff); 102 LLVMValueRef i32_was_infnan = lp_build_const_int_vec(gallivm, i32_type, 0x7bff); 103 LLVMValueRef i32_exp_infnan = lp_build_const_int_vec(gallivm, i32_type, 0xff << 23); 105 lp_build_const_int_vec(gallivm, i32_type, (254 - 15) << 23) [all...] |
lp_bld_sample.h | 41 #include "gallivm/lp_bld.h" 42 #include "gallivm/lp_bld_type.h" 43 #include "gallivm/lp_bld_swizzle.h" 121 struct gallivm_state *gallivm, 127 struct gallivm_state *gallivm, 133 struct gallivm_state *gallivm, 139 struct gallivm_state *gallivm, 145 struct gallivm_state *gallivm, 151 struct gallivm_state *gallivm, 157 struct gallivm_state *gallivm, 193 struct gallivm_state *gallivm; member in struct:lp_build_sample_context [all...] |
lp_bld_quad.c | 94 struct gallivm_state *gallivm = bld->gallivm; local 95 LLVMBuilderRef builder = gallivm->builder; 127 struct gallivm_state *gallivm = bld->gallivm; local 128 LLVMBuilderRef builder = gallivm->builder; 140 shuffles1[4*i + 0] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s1); 141 shuffles1[4*i + 1] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s1); 142 shuffles1[4*i + 2] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2); 143 shuffles1[4*i + 3] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2) [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_tex_sample.c | 45 #include "gallivm/lp_bld_debug.h" 46 #include "gallivm/lp_bld_const.h" 47 #include "gallivm/lp_bld_type.h" 48 #include "gallivm/lp_bld_sample.h" 49 #include "gallivm/lp_bld_tgsi.h" 93 struct gallivm_state *gallivm, 101 LLVMBuilderRef builder = gallivm->builder; 109 indices[0] = lp_build_const_int32(gallivm, 0); 111 indices[1] = lp_build_const_int32(gallivm, LP_JIT_CTX_TEXTURES); 113 indices[2] = lp_build_const_int32(gallivm, unit) [all...] |
lp_bld_interp.c | 41 #include "gallivm/lp_bld_debug.h" 42 #include "gallivm/lp_bld_const.h" 43 #include "gallivm/lp_bld_arit.h" 44 #include "gallivm/lp_bld_swizzle.h" 45 #include "gallivm/lp_bld_flow.h" 134 struct gallivm_state *gallivm = coeff_bld->gallivm; local 135 LLVMBuilderRef builder = coeff_bld->gallivm->builder; 142 nr = lp_build_const_int32(gallivm, i); 143 pixxf = lp_build_const_float(gallivm, quad_offset_x[i % num_pix] 167 struct gallivm_state *gallivm = coeff_bld->gallivm; local 368 struct gallivm_state *gallivm = coeff_bld->gallivm; local [all...] |
lp_state_fs.c | 75 #include "gallivm/lp_bld_type.h" 76 #include "gallivm/lp_bld_const.h" 77 #include "gallivm/lp_bld_conv.h" 78 #include "gallivm/lp_bld_init.h" 79 #include "gallivm/lp_bld_intr.h" 80 #include "gallivm/lp_bld_logic.h" 81 #include "gallivm/lp_bld_tgsi.h" 82 #include "gallivm/lp_bld_swizzle.h" 83 #include "gallivm/lp_bld_flow.h" 84 #include "gallivm/lp_bld_debug.h 766 struct gallivm_state *gallivm = variant->gallivm; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_llvm_sample.c | 35 #include "gallivm/lp_bld_const.h" 36 #include "gallivm/lp_bld_debug.h" 37 #include "gallivm/lp_bld_type.h" 38 #include "gallivm/lp_bld_sample.h" 39 #include "gallivm/lp_bld_tgsi.h" 88 struct gallivm_state *gallivm, 94 LLVMBuilderRef builder = gallivm->builder; 104 indices[0] = lp_build_const_int32(gallivm, 0); 106 indices[1] = lp_build_const_int32(gallivm, DRAW_JIT_CTX_TEXTURES); 108 indices[2] = lp_build_const_int32(gallivm, unit) [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm_sample.c | 35 #include "gallivm/lp_bld_const.h" 36 #include "gallivm/lp_bld_debug.h" 37 #include "gallivm/lp_bld_type.h" 38 #include "gallivm/lp_bld_sample.h" 39 #include "gallivm/lp_bld_tgsi.h" 88 struct gallivm_state *gallivm, 94 LLVMBuilderRef builder = gallivm->builder; 104 indices[0] = lp_build_const_int32(gallivm, 0); 106 indices[1] = lp_build_const_int32(gallivm, DRAW_JIT_CTX_TEXTURES); 108 indices[2] = lp_build_const_int32(gallivm, unit) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
radeonsi_shader.c | 30 #include "gallivm/lp_bld_tgsi_action.h" 31 #include "gallivm/lp_bld_const.h" 32 #include "gallivm/lp_bld_gather.h" 33 #include "gallivm/lp_bld_intr.h" 34 #include "gallivm/lp_bld_tgsi.h" 123 struct gallivm_state * gallivm, 128 gallivm->builder, base_ptr, &offset, 1, ""); 130 return LLVMBuildLoad(gallivm->builder, computed_ptr, ""); 148 struct gallivm_state * gallivm, 156 sgpr_index = lp_build_const_int32(gallivm, sgpr) 263 struct gallivm_state * gallivm = base->gallivm; local [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
radeonsi_shader.c | 30 #include "gallivm/lp_bld_tgsi_action.h" 31 #include "gallivm/lp_bld_const.h" 32 #include "gallivm/lp_bld_gather.h" 33 #include "gallivm/lp_bld_intr.h" 34 #include "gallivm/lp_bld_tgsi.h" 123 struct gallivm_state * gallivm, 128 gallivm->builder, base_ptr, &offset, 1, ""); 130 return LLVMBuildLoad(gallivm->builder, computed_ptr, ""); 148 struct gallivm_state * gallivm, 156 sgpr_index = lp_build_const_int32(gallivm, sgpr) 263 struct gallivm_state * gallivm = base->gallivm; local [all...] |