/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_jit.c | 37 #include "gallivm/lp_bld_init.h" 38 #include "gallivm/lp_bld_debug.h" 39 #include "gallivm/lp_bld_format.h" 47 struct gallivm_state *gallivm = lp->gallivm; local 48 LLVMContextRef lc = gallivm->context; 62 gallivm->target, viewport_type, 65 gallivm->target, viewport_type, 68 gallivm->target, viewport_type); 90 gallivm->target, texture_type [all...] |
lp_test_printf.c | 33 #include "gallivm/lp_bld.h" 34 #include "gallivm/lp_bld_init.h" 35 #include "gallivm/lp_bld_assert.h" 36 #include "gallivm/lp_bld_printf.h" 61 add_printf_test(struct gallivm_state *gallivm) 63 LLVMModuleRef module = gallivm->module; 64 LLVMTypeRef args[1] = { LLVMIntTypeInContext(gallivm->context, 32) }; 65 LLVMValueRef func = LLVMAddFunction(module, "test_printf", LLVMFunctionType(LLVMVoidTypeInContext(gallivm->context), args, 1, 0)); 66 LLVMBuilderRef builder = gallivm->builder; 67 LLVMBasicBlockRef block = LLVMAppendBasicBlockInContext(gallivm->context, func, "entry") 93 struct gallivm_state *gallivm; local [all...] |
lp_state_setup.h | 60 struct gallivm_state *gallivm; member in struct:lp_setup_variant
|
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" 81 add_fetch_rgba_test(struct gallivm_state *gallivm, unsigned verbose, 86 LLVMContextRef context = gallivm->context; 87 LLVMModuleRef module = gallivm->module; 88 LLVMBuilderRef builder = gallivm->builder; 103 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0); 106 args[4] = LLVMPointerType(lp_build_format_cache_type(gallivm), 0) 143 struct gallivm_state *gallivm; local 242 struct gallivm_state *gallivm; local [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 374 struct gallivm_state *gallivm = coeff_bld->gallivm; local [all...] |
lp_state_fs.h | 36 #include "gallivm/lp_bld_sample.h" /* for struct lp_sampler_static_state */ 37 #include "gallivm/lp_bld_tgsi.h" /* for lp_tgsi_info */ 103 struct gallivm_state *gallivm; member in struct:lp_fragment_shader_variant
|
lp_test_arit.c | 38 #include "gallivm/lp_bld.h" 39 #include "gallivm/lp_bld_debug.h" 40 #include "gallivm/lp_bld_init.h" 41 #include "gallivm/lp_bld_arit.h" 322 build_unary_test_func(struct gallivm_state *gallivm, 328 LLVMContextRef context = gallivm->context; 329 LLVMModuleRef module = gallivm->module; 330 LLVMTypeRef vf32t = lp_build_vec_type(gallivm, type); 337 LLVMBuilderRef builder = gallivm->builder; 343 lp_build_context_init(&bld, gallivm, type) 404 struct gallivm_state *gallivm; local [all...] |
lp_test_conv.c | 38 #include "gallivm/lp_bld_init.h" 39 #include "gallivm/lp_bld_type.h" 40 #include "gallivm/lp_bld_const.h" 41 #include "gallivm/lp_bld_conv.h" 42 #include "gallivm/lp_bld_debug.h" 100 add_conv_test(struct gallivm_state *gallivm, 104 LLVMModuleRef module = gallivm->module; 105 LLVMContextRef context = gallivm->context; 106 LLVMBuilderRef builder = gallivm->builder; 116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0) 159 struct gallivm_state *gallivm; local [all...] |
lp_test_blend.c | 41 #include "gallivm/lp_bld_init.h" 42 #include "gallivm/lp_bld_type.h" 43 #include "gallivm/lp_bld_debug.h" 135 add_blend_test(struct gallivm_state *gallivm, 139 LLVMModuleRef module = gallivm->module; 140 LLVMContextRef context = gallivm->context; 160 vec_type = lp_build_vec_type(gallivm, type); 172 builder = gallivm->builder; 180 res = lp_build_blend_aos(gallivm, blend, format, type, rt, src, NULL, 189 gallivm_verify_function(gallivm, func) 441 struct gallivm_state *gallivm; local [all...] |
lp_state_setup.c | 33 #include "gallivm/lp_bld_arit.h" 34 #include "gallivm/lp_bld_bitarit.h" 35 #include "gallivm/lp_bld_const.h" 36 #include "gallivm/lp_bld_debug.h" 37 #include "gallivm/lp_bld_init.h" 38 #include "gallivm/lp_bld_logic.h" 39 #include "gallivm/lp_bld_intr.h" 40 #include "gallivm/lp_bld_flow.h" 41 #include "gallivm/lp_bld_type.h" 88 store_coef(struct gallivm_state *gallivm, 711 struct gallivm_state *gallivm; local [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_flow.h | 38 #include "gallivm/lp_bld.h" 53 struct gallivm_state *gallivm; member in struct:lp_build_skip_context 61 struct gallivm_state *gallivm); 83 struct gallivm_state *gallivm, 116 struct gallivm_state *gallivm; member in struct:lp_build_loop_state 122 struct gallivm_state *gallivm, 150 struct gallivm_state *gallivm; member in struct:lp_build_for_loop_state 155 struct gallivm_state *gallivm, 170 struct gallivm_state *gallivm; member in struct:lp_build_if_state 181 struct gallivm_state *gallivm, [all...] |
lp_bld_quad.c | 91 struct gallivm_state *gallivm = bld->gallivm; local 92 LLVMBuilderRef builder = gallivm->builder; 126 struct gallivm_state *gallivm = bld->gallivm; local 127 LLVMBuilderRef builder = gallivm->builder; 139 shuffles1[4*i + 0] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s1); 140 shuffles1[4*i + 1] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s1); 141 shuffles1[4*i + 2] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2); 142 shuffles1[4*i + 3] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2) [all...] |
lp_bld_type.h | 42 #include "gallivm/lp_bld.h" 142 struct gallivm_state *gallivm; member in struct:lp_build_context 344 lp_build_elem_type(struct gallivm_state *gallivm, struct lp_type type); 348 lp_build_vec_type(struct gallivm_state *gallivm, struct lp_type type); 364 lp_build_int_elem_type(struct gallivm_state *gallivm, struct lp_type type); 368 lp_build_int_vec_type(struct gallivm_state *gallivm, struct lp_type type); 449 struct gallivm_state *gallivm,
|
lp_bld_format_soa.c | 48 convert_to_soa(struct gallivm_state *gallivm, 72 aos_channels[j] = lp_build_concat(gallivm, channel, aos_channel_type, pixels_per_channel); 75 lp_build_transpose_aos(gallivm, soa_type, aos_channels, dst_soa); 125 struct gallivm_state *gallivm = bld->gallivm; local 126 LLVMBuilderRef builder = gallivm->builder; 146 lp_build_const_int_vec(gallivm, type, start), ""); 155 lp_build_const_int_vec(gallivm, type, mask), ""); 164 input = lp_build_srgb_to_linear(gallivm, conv_type, width, input); 168 input = lp_build_unsigned_norm_to_float(gallivm, width, type, input) [all...] |
lp_bld_init.c | 109 create_pass_manager(struct gallivm_state *gallivm) 111 assert(!gallivm->passmgr); 112 assert(gallivm->target); 114 gallivm->passmgr = LLVMCreateFunctionPassManagerForModule(gallivm->module); 115 if (!gallivm->passmgr) 125 LLVMAddTargetData(gallivm->target, gallivm->passmgr); 144 td_str = LLVMCopyStringRepOfTargetData(gallivm->target); 145 LLVMSetDataLayout(gallivm->module, td_str) 516 struct gallivm_state *gallivm; local [all...] |
lp_bld_tgsi_aos.c | 109 LLVMBuilderRef builder = bld_base->base.gallivm->builder; 127 index = lp_build_const_int32(bld->bld_base.base.gallivm, 140 swizzle = lp_build_const_int32(bld->bld_base.base.gallivm, 157 shuffles[chan] = lp_build_const_int32(bld->bld_base.base.gallivm, chan); 207 LLVMBuilderRef builder = bld_base->base.gallivm->builder; 227 LLVMBuilderRef builder = bld->bld_base.base.gallivm->builder; 285 pred = lp_build_compare(bld->bld_base.base.gallivm, 315 writemask = lp_build_const_mask_aos_swizzled(bld->bld_base.base.gallivm, 416 struct gallivm_state *gallivm = bld->bld_base.base.gallivm; local [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" 195 struct gallivm_state *gallivm, 202 struct gallivm_state *gallivm, 209 struct gallivm_state *gallivm, 216 struct gallivm_state *gallivm, 223 struct gallivm_state *gallivm, 230 struct gallivm_state *gallivm, 237 struct gallivm_state *gallivm, 303 struct gallivm_state *gallivm; member in struct:lp_build_sample_context [all...] |
lp_bld_sample.c | 217 struct gallivm_state *gallivm = bld->gallivm; local 225 LLVMBuilderRef builder = bld->gallivm->builder; 226 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); 239 LLVMValueRef i32undef = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); 249 first_level = bld->dynamic_state->first_level(bld->dynamic_state, bld->gallivm, 257 LLVMValueRef index0 = lp_build_const_int32(gallivm, 0); 264 rho = lp_build_pack_aos_scalars(bld->gallivm, coord_bld->type, 271 cubesize = lp_build_extract_broadcast(gallivm, bld->float_size_in_type, 281 LLVMValueRef indexi = lp_build_const_int32(gallivm, i) 1486 struct gallivm_state *gallivm = ivec_bld->gallivm; local 1617 struct gallivm_state *gallivm = bld->gallivm; local [all...] |
/external/mesa3d/src/gallium/drivers/swr/ |
swr_state.h | 31 #include "gallivm/lp_bld_init.h" 32 #include "gallivm/lp_bld_tgsi.h" 42 struct gallivm_state *gallivm; member in struct:ShaderVariant 45 ShaderVariant(struct gallivm_state *gs, T code) : gallivm(gs), shader(code) {} 46 ~ShaderVariant() { gallivm_destroy(gallivm); }
|
swr_shader.cpp | 38 #include "gallivm/lp_bld_init.h" 39 #include "gallivm/lp_bld_flow.h" 40 #include "gallivm/lp_bld_struct.h" 41 #include "gallivm/lp_bld_tgsi.h" 165 gallivm = gallivm_create(pName, wrap(&JM()->mContext)); 166 pJitMgr->mpCurrentModule = unwrap(gallivm->module); 170 gallivm_free_ir(gallivm); 173 struct gallivm_state *gallivm; member in struct:BuilderSWR 207 LLVMPositionBuilderAtEnd(gallivm->builder, wrap(block)); 242 lp_build_tgsi_soa(gallivm, [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_shader_internal.h | 28 #include "gallivm/lp_bld_init.h" 29 #include "gallivm/lp_bld_tgsi.h" 52 struct gallivm_state gallivm; member in struct:si_shader_context
|
si_shader_tgsi_alu.c | 25 #include "gallivm/lp_bld_const.h" 26 #include "gallivm/lp_bld_intr.h" 27 #include "gallivm/lp_bld_gather.h" 34 struct gallivm_state *gallivm = bld_base->base.gallivm; local 35 LLVMBuilderRef builder = gallivm->builder; 50 emit_data->dst_type = LLVMVoidTypeInContext(gallivm->context); 53 lp_build_const_float(gallivm, -1.0f), 64 bld_base->base.gallivm->builder, 75 LLVMBuilderRef builder = bld_base->base.gallivm->builder 459 struct gallivm_state *gallivm = bld_base->base.gallivm; local 503 struct gallivm_state *gallivm = bld_base->base.gallivm; local 524 struct gallivm_state *gallivm = bld_base->base.gallivm; local 558 struct gallivm_state *gallivm = bld_base->base.gallivm; local 589 struct gallivm_state *gallivm = bld_base->base.gallivm; local [all...] |
si_shader_tgsi_setup.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_misc.h" 34 #include "gallivm/lp_bld_swizzle.h" 265 LLVMContextRef ctx = bld_base->base.gallivm->context; 287 LLVMBuilderRef builder = bld_base->base.gallivm->builder; 304 struct gallivm_state *gallivm = &ctx->gallivm local 436 struct gallivm_state *gallivm = ctx->bld_base.base.gallivm; local 461 struct gallivm_state *gallivm = ctx->bld_base.base.gallivm; local 544 struct gallivm_state *gallivm = ctx->bld_base.base.gallivm; local 573 struct gallivm_state *gallivm = bld_base->base.gallivm; local 608 struct gallivm_state *gallivm = bld_base->base.gallivm; local 771 struct gallivm_state *gallivm = bld_base->base.gallivm; local 982 struct gallivm_state *gallivm = ctx->bld_base.base.gallivm; local 1084 struct gallivm_state *gallivm = &ctx->gallivm; local 1113 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1127 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1138 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1149 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1169 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1186 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1204 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1219 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1233 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1396 struct gallivm_state *gallivm = ctx->bld_base.base.gallivm; local [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm.h | 36 #include "gallivm/lp_bld_sample.h" 37 #include "gallivm/lp_bld_limits.h" 374 struct gallivm_state *gallivm; member in struct:draw_llvm_variant 398 struct gallivm_state *gallivm; member in struct:draw_gs_llvm_variant
|
draw_llvm.c | 34 #include "gallivm/lp_bld_arit.h" 35 #include "gallivm/lp_bld_arit_overflow.h" 36 #include "gallivm/lp_bld_bitarit.h" 37 #include "gallivm/lp_bld_gather.h" 38 #include "gallivm/lp_bld_logic.h" 39 #include "gallivm/lp_bld_const.h" 40 #include "gallivm/lp_bld_swizzle.h" 41 #include "gallivm/lp_bld_struct.h" 42 #include "gallivm/lp_bld_type.h" 43 #include "gallivm/lp_bld_flow.h 430 struct gallivm_state *gallivm = variant->gallivm; local 1078 struct gallivm_state *gallivm = variant->gallivm; local 1384 struct gallivm_state *gallivm = bld_base->base.gallivm; local 1438 struct gallivm_state *gallivm = variant->gallivm; local 1472 struct gallivm_state *gallivm = variant->gallivm; local 1501 struct gallivm_state *gallivm = variant->gallivm; local 1519 struct gallivm_state *gallivm = variant->gallivm; local 2171 struct gallivm_state *gallivm = var->gallivm; local 2198 struct gallivm_state *gallivm = variant->gallivm; local 2221 struct gallivm_state *gallivm = variant->gallivm; local [all...] |