/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_sample.c | 188 struct gallivm_state *gallivm = bld->gallivm; local 196 LLVMBuilderRef builder = bld->gallivm->builder; 197 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); 209 LLVMValueRef i32undef = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); 249 shuffles1[4*i + 0] = lp_build_const_int32(gallivm, 4*i); 250 shuffles1[4*i + 1] = lp_build_const_int32(gallivm, 4*i + 2); 251 shuffles1[4*i + 2] = lp_build_const_int32(gallivm, length + 4*i); 253 shuffles2[4*i + 0] = lp_build_const_int32(gallivm, 4*i + 1); 254 shuffles2[4*i + 1] = lp_build_const_int32(gallivm, 4*i + 3) 972 struct gallivm_state *gallivm = bld->gallivm; local 999 struct gallivm_state *gallivm = bld->gallivm; local [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_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...] |
lp_bld_intr.h | 40 #include "gallivm/lp_bld.h" 41 #include "gallivm/lp_bld_init.h" 81 lp_build_intrinsic_binary_anylength(struct gallivm_state *gallivm, 90 lp_build_intrinsic_map(struct gallivm_state *gallivm, 98 lp_build_intrinsic_map_unary(struct gallivm_state *gallivm, 105 lp_build_intrinsic_map_binary(struct gallivm_state *gallivm,
|
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_logic.c | 74 lp_build_compare(struct gallivm_state *gallivm, 80 LLVMBuilderRef builder = gallivm->builder; 81 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, type); 120 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); 149 return lp_build_undef(gallivm, type); 161 args[2] = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), cc, 0); 190 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); 207 return lp_build_undef(gallivm, type); 214 LLVMValueRef msb = lp_build_const_int_vec(gallivm, type, (unsigned long long)1 << (type.width - 1)); 275 return lp_build_undef(gallivm, type) [all...] |
lp_bld_sample_soa.c | 90 LLVMBuilderRef builder = bld->gallivm->builder; 155 lp_build_fetch_rgba_soa(bld->gallivm, 181 bld->gallivm, unit); 185 lp_build_array_get(bld->gallivm, border_color_ptr, 186 lp_build_const_int32(bld->gallivm, chan)); 210 isOdd = LLVMBuildAnd(bld->gallivm->builder, flr, int_coord_bld->one, ""); 239 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); 254 mask = lp_build_compare(int_coord_bld->gallivm, int_coord_bld->type, 279 LLVMBuilderRef builder = bld->gallivm->builder; 280 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
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_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...] |
lp_bld_intr.h | 40 #include "gallivm/lp_bld.h" 41 #include "gallivm/lp_bld_init.h" 81 lp_build_intrinsic_binary_anylength(struct gallivm_state *gallivm, 90 lp_build_intrinsic_map(struct gallivm_state *gallivm, 98 lp_build_intrinsic_map_unary(struct gallivm_state *gallivm, 105 lp_build_intrinsic_map_binary(struct gallivm_state *gallivm,
|
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_logic.c | 74 lp_build_compare(struct gallivm_state *gallivm, 80 LLVMBuilderRef builder = gallivm->builder; 81 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, type); 120 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); 149 return lp_build_undef(gallivm, type); 161 args[2] = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), cc, 0); 190 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); 207 return lp_build_undef(gallivm, type); 214 LLVMValueRef msb = lp_build_const_int_vec(gallivm, type, (unsigned long long)1 << (type.width - 1)); 275 return lp_build_undef(gallivm, type) [all...] |
lp_bld_sample_soa.c | 90 LLVMBuilderRef builder = bld->gallivm->builder; 155 lp_build_fetch_rgba_soa(bld->gallivm, 181 bld->gallivm, unit); 185 lp_build_array_get(bld->gallivm, border_color_ptr, 186 lp_build_const_int32(bld->gallivm, chan)); 210 isOdd = LLVMBuildAnd(bld->gallivm->builder, flr, int_coord_bld->one, ""); 239 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); 254 mask = lp_build_compare(int_coord_bld->gallivm, int_coord_bld->type, 279 LLVMBuilderRef builder = bld->gallivm->builder; 280 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
radeon_setup_tgsi_llvm.c | 28 #include "gallivm/lp_bld_const.h" 29 #include "gallivm/lp_bld_gather.h" 30 #include "gallivm/lp_bld_flow.h" 31 #include "gallivm/lp_bld_init.h" 32 #include "gallivm/lp_bld_intr.h" 33 #include "gallivm/lp_bld_swizzle.h" 70 LLVMInt32TypeInContext(bld_base->base.gallivm->context); 77 return LLVMBuildShuffleVector(bld_base->base.gallivm->builder, 89 struct gallivm_state * gallivm = bld->bld_base.base.gallivm; local 277 struct gallivm_state *gallivm = bld->bld_base.base.gallivm; local 351 struct gallivm_state * gallivm = bld_base->base.gallivm; local 371 struct gallivm_state * gallivm = bld_base->base.gallivm; local 383 struct gallivm_state * gallivm = bld_base->base.gallivm; local 395 struct gallivm_state * gallivm = bld_base->base.gallivm; local 429 struct gallivm_state * gallivm = bld_base->base.gallivm; local 461 struct gallivm_state * gallivm = bld_base->base.gallivm; local 478 struct gallivm_state * gallivm = bld_base->base.gallivm; local 522 struct gallivm_state * gallivm = bld_base->base.gallivm; local 1183 struct gallivm_state * gallivm = ctx->soa.bld_base.base.gallivm; local [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_setup_tgsi_llvm.c | 28 #include "gallivm/lp_bld_const.h" 29 #include "gallivm/lp_bld_gather.h" 30 #include "gallivm/lp_bld_flow.h" 31 #include "gallivm/lp_bld_init.h" 32 #include "gallivm/lp_bld_intr.h" 33 #include "gallivm/lp_bld_swizzle.h" 70 LLVMInt32TypeInContext(bld_base->base.gallivm->context); 77 return LLVMBuildShuffleVector(bld_base->base.gallivm->builder, 89 struct gallivm_state * gallivm = bld->bld_base.base.gallivm; local 277 struct gallivm_state *gallivm = bld->bld_base.base.gallivm; local 351 struct gallivm_state * gallivm = bld_base->base.gallivm; local 371 struct gallivm_state * gallivm = bld_base->base.gallivm; local 383 struct gallivm_state * gallivm = bld_base->base.gallivm; local 395 struct gallivm_state * gallivm = bld_base->base.gallivm; local 429 struct gallivm_state * gallivm = bld_base->base.gallivm; local 461 struct gallivm_state * gallivm = bld_base->base.gallivm; local 478 struct gallivm_state * gallivm = bld_base->base.gallivm; local 522 struct gallivm_state * gallivm = bld_base->base.gallivm; local 1183 struct gallivm_state * gallivm = ctx->soa.bld_base.base.gallivm; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_test_format.c | 40 #include "gallivm/lp_bld.h" 41 #include "gallivm/lp_bld_debug.h" 42 #include "gallivm/lp_bld_format.h" 43 #include "gallivm/lp_bld_init.h" 78 add_fetch_rgba_test(struct gallivm_state *gallivm, unsigned verbose, 83 LLVMContextRef context = gallivm->context; 84 LLVMModuleRef module = gallivm->module; 85 LLVMBuilderRef builder = gallivm->builder; 99 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0); 115 rgba = lp_build_fetch_rgba_aos(gallivm, desc, type 133 struct gallivm_state *gallivm; local 218 struct gallivm_state *gallivm; local [all...] |
lp_bld_alpha.h | 39 #include "gallivm/lp_bld.h" 49 lp_build_alpha_test(struct gallivm_state *gallivm,
|
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_test_arit.c | 37 #include "gallivm/lp_bld.h" 38 #include "gallivm/lp_bld_debug.h" 39 #include "gallivm/lp_bld_init.h" 40 #include "gallivm/lp_bld_arit.h" 250 build_unary_test_func(struct gallivm_state *gallivm, 254 LLVMContextRef context = gallivm->context; 255 LLVMModuleRef module = gallivm->module; 256 LLVMTypeRef vf32t = lp_build_vec_type(gallivm, type); 263 LLVMBuilderRef builder = gallivm->builder; 269 lp_build_context_init(&bld, gallivm, type) 295 struct gallivm_state *gallivm; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_llvm.c | 3 #include "gallivm/lp_bld_const.h" 4 #include "gallivm/lp_bld_intr.h" 5 #include "gallivm/lp_bld_gather.h" 27 LLVMValueRef idx = lp_build_const_int32(bld_base->base.gallivm, 29 LLVMValueRef cval = build_intrinsic(bld_base->base.gallivm->builder, 50 ctx->soa.bld_base.base.gallivm, chan); 52 ctx->soa.bld_base.base.gallivm->builder, 82 ctx->soa.bld_base.base.gallivm, 85 ctx->soa.bld_base.base.gallivm->builder, 103 base->gallivm, 147 struct gallivm_state * gallivm = bld_base->base.gallivm; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_format.c | 40 #include "gallivm/lp_bld.h" 41 #include "gallivm/lp_bld_debug.h" 42 #include "gallivm/lp_bld_format.h" 43 #include "gallivm/lp_bld_init.h" 78 add_fetch_rgba_test(struct gallivm_state *gallivm, unsigned verbose, 83 LLVMContextRef context = gallivm->context; 84 LLVMModuleRef module = gallivm->module; 85 LLVMBuilderRef builder = gallivm->builder; 99 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0); 115 rgba = lp_build_fetch_rgba_aos(gallivm, desc, type 133 struct gallivm_state *gallivm; local 218 struct gallivm_state *gallivm; local [all...] |
lp_bld_alpha.h | 39 #include "gallivm/lp_bld.h" 49 lp_build_alpha_test(struct gallivm_state *gallivm,
|
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_test_arit.c | 37 #include "gallivm/lp_bld.h" 38 #include "gallivm/lp_bld_debug.h" 39 #include "gallivm/lp_bld_init.h" 40 #include "gallivm/lp_bld_arit.h" 250 build_unary_test_func(struct gallivm_state *gallivm, 254 LLVMContextRef context = gallivm->context; 255 LLVMModuleRef module = gallivm->module; 256 LLVMTypeRef vf32t = lp_build_vec_type(gallivm, type); 263 LLVMBuilderRef builder = gallivm->builder; 269 lp_build_context_init(&bld, gallivm, type) 295 struct gallivm_state *gallivm; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_llvm.c | 3 #include "gallivm/lp_bld_const.h" 4 #include "gallivm/lp_bld_intr.h" 5 #include "gallivm/lp_bld_gather.h" 27 LLVMValueRef idx = lp_build_const_int32(bld_base->base.gallivm, 29 LLVMValueRef cval = build_intrinsic(bld_base->base.gallivm->builder, 50 ctx->soa.bld_base.base.gallivm, chan); 52 ctx->soa.bld_base.base.gallivm->builder, 82 ctx->soa.bld_base.base.gallivm, 85 ctx->soa.bld_base.base.gallivm->builder, 103 base->gallivm, 147 struct gallivm_state * gallivm = bld_base->base.gallivm; local [all...] |