/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_swizzle.c | 47 lp_build_broadcast(struct gallivm_state *gallivm, 58 LLVMBuilderRef builder = gallivm->builder; 61 LLVMTypeRef i32_type = LLVMInt32TypeInContext(gallivm->context); 75 LLVMValueRef index = lp_build_const_int32(gallivm, i); 94 return lp_build_broadcast(bld->gallivm, bld->vec_type, scalar); 102 lp_build_extract_broadcast(struct gallivm_state *gallivm, 108 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); 130 res = lp_build_broadcast(gallivm, 131 lp_build_vec_type(gallivm, dst_type), 142 shuffle = lp_build_broadcast(gallivm, [all...] |
lp_bld_flow.h | 38 #include "gallivm/lp_bld.h" 50 struct gallivm_state *gallivm; member in struct:lp_build_skip_context 58 struct gallivm_state *gallivm); 80 struct gallivm_state *gallivm, 113 struct gallivm_state *gallivm; member in struct:lp_build_loop_state 119 struct gallivm_state *gallivm, 147 struct gallivm_state *gallivm; member in struct:lp_build_for_loop_state 152 struct gallivm_state *gallivm, 167 struct gallivm_state *gallivm; member in struct:lp_build_if_state 178 struct gallivm_state *gallivm, [all...] |
lp_bld_format.h | 37 #include "gallivm/lp_bld.h" 38 #include "gallivm/lp_bld_init.h" 57 lp_build_pack_rgba_aos(struct gallivm_state *gallivm, 62 lp_build_fetch_rgba_aos(struct gallivm_state *gallivm, 71 lp_build_fetch_rgba_aos_array(struct gallivm_state *gallivm, 89 lp_build_unpack_rgba_soa(struct gallivm_state *gallivm, 96 lp_build_rgba8_to_f32_soa(struct gallivm_state *gallivm, 102 lp_build_fetch_rgba_soa(struct gallivm_state *gallivm, 117 lp_build_fetch_subsampled_rgba_aos(struct gallivm_state *gallivm,
|
lp_bld_format_soa.c | 100 lp_build_unpack_rgba_soa(struct gallivm_state *gallivm, 106 LLVMBuilderRef builder = gallivm->builder; 120 lp_build_context_init(&bld, gallivm, type); 133 input = lp_build_undef(gallivm, type); 142 input = LLVMBuildLShr(builder, input, lp_build_const_int_vec(gallivm, type, start), ""); 151 input = LLVMBuildAnd(builder, input, lp_build_const_int_vec(gallivm, type, mask), ""); 160 input = lp_build_unsigned_norm_to_float(gallivm, width, type, input); 163 lp_build_vec_type(gallivm, type), ""); 168 input = lp_build_undef(gallivm, type); 180 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits) [all...] |
lp_bld_gather.h | 33 #include "gallivm/lp_bld.h" 37 lp_build_gather_elem_ptr(struct gallivm_state *gallivm, 44 lp_build_gather_elem(struct gallivm_state *gallivm, 53 lp_build_gather(struct gallivm_state *gallivm, 61 lp_build_gather_values(struct gallivm_state * gallivm,
|
lp_bld_conv.h | 40 #include "gallivm/lp_bld.h" 46 lp_build_half_to_float(struct gallivm_state *gallivm, 51 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, 57 lp_build_unsigned_norm_to_float(struct gallivm_state *gallivm, 64 lp_build_conv(struct gallivm_state *gallivm, 71 lp_build_conv_mask(struct gallivm_state *gallivm,
|
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.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_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...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_flow.c | 55 lp_build_insert_new_block(struct gallivm_state *gallivm, const char *name) 62 current_block = LLVMGetInsertBlock(gallivm->builder); 68 new_block = LLVMInsertBasicBlockInContext(gallivm->context, next_block, name); 73 new_block = LLVMAppendBasicBlockInContext(gallivm->context, function, name); 86 struct gallivm_state *gallivm) 88 skip->gallivm = gallivm; 90 skip->block = lp_build_insert_new_block(gallivm, "skip"); 104 new_block = lp_build_insert_new_block(skip->gallivm, ""); 107 LLVMBuildCondBr(skip->gallivm->builder, cond, skip->block, new_block) [all...] |
lp_bld_swizzle.c | 47 lp_build_broadcast(struct gallivm_state *gallivm, 58 LLVMBuilderRef builder = gallivm->builder; 61 LLVMTypeRef i32_type = LLVMInt32TypeInContext(gallivm->context); 75 LLVMValueRef index = lp_build_const_int32(gallivm, i); 94 return lp_build_broadcast(bld->gallivm, bld->vec_type, scalar); 102 lp_build_extract_broadcast(struct gallivm_state *gallivm, 108 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); 130 res = lp_build_broadcast(gallivm, 131 lp_build_vec_type(gallivm, dst_type), 142 shuffle = lp_build_broadcast(gallivm, [all...] |
lp_bld_flow.h | 38 #include "gallivm/lp_bld.h" 50 struct gallivm_state *gallivm; member in struct:lp_build_skip_context 58 struct gallivm_state *gallivm); 80 struct gallivm_state *gallivm, 113 struct gallivm_state *gallivm; member in struct:lp_build_loop_state 119 struct gallivm_state *gallivm, 147 struct gallivm_state *gallivm; member in struct:lp_build_for_loop_state 152 struct gallivm_state *gallivm, 167 struct gallivm_state *gallivm; member in struct:lp_build_if_state 178 struct gallivm_state *gallivm, [all...] |
lp_bld_format.h | 37 #include "gallivm/lp_bld.h" 38 #include "gallivm/lp_bld_init.h" 57 lp_build_pack_rgba_aos(struct gallivm_state *gallivm, 62 lp_build_fetch_rgba_aos(struct gallivm_state *gallivm, 71 lp_build_fetch_rgba_aos_array(struct gallivm_state *gallivm, 89 lp_build_unpack_rgba_soa(struct gallivm_state *gallivm, 96 lp_build_rgba8_to_f32_soa(struct gallivm_state *gallivm, 102 lp_build_fetch_rgba_soa(struct gallivm_state *gallivm, 117 lp_build_fetch_subsampled_rgba_aos(struct gallivm_state *gallivm,
|
lp_bld_format_soa.c | 100 lp_build_unpack_rgba_soa(struct gallivm_state *gallivm, 106 LLVMBuilderRef builder = gallivm->builder; 120 lp_build_context_init(&bld, gallivm, type); 133 input = lp_build_undef(gallivm, type); 142 input = LLVMBuildLShr(builder, input, lp_build_const_int_vec(gallivm, type, start), ""); 151 input = LLVMBuildAnd(builder, input, lp_build_const_int_vec(gallivm, type, mask), ""); 160 input = lp_build_unsigned_norm_to_float(gallivm, width, type, input); 163 lp_build_vec_type(gallivm, type), ""); 168 input = lp_build_undef(gallivm, type); 180 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits) [all...] |
lp_bld_gather.h | 33 #include "gallivm/lp_bld.h" 37 lp_build_gather_elem_ptr(struct gallivm_state *gallivm, 44 lp_build_gather_elem(struct gallivm_state *gallivm, 53 lp_build_gather(struct gallivm_state *gallivm, 61 lp_build_gather_values(struct gallivm_state * gallivm,
|
lp_bld_conv.h | 40 #include "gallivm/lp_bld.h" 46 lp_build_half_to_float(struct gallivm_state *gallivm, 51 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, 57 lp_build_unsigned_norm_to_float(struct gallivm_state *gallivm, 64 lp_build_conv(struct gallivm_state *gallivm, 71 lp_build_conv_mask(struct gallivm_state *gallivm,
|
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.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...] |
/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...] |
/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...] |
/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/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/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...] |