HomeSort by relevance Sort by last modified time
    Searched defs:gallivm (Results 1 - 25 of 29) sorted by null

1 2

  /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);
131 td_str = LLVMCopyStringRepOfTargetData(gallivm->target);
132 LLVMSetDataLayout(gallivm->module, td_str)
500 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;
274 writemask = lp_build_const_mask_aos_swizzled(bld->bld_base.base.gallivm,
375 struct gallivm_state *gallivm = bld->bld_base.base.gallivm; local
376 LLVMTypeRef vec_type = lp_build_vec_type(bld->bld_base.base.gallivm, bld->bld_base.base.type)
    [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"
197 struct gallivm_state *gallivm,
204 struct gallivm_state *gallivm,
211 struct gallivm_state *gallivm,
218 struct gallivm_state *gallivm,
225 struct gallivm_state *gallivm,
232 struct gallivm_state *gallivm,
239 struct gallivm_state *gallivm,
305 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)
1496 struct gallivm_state *gallivm = ivec_bld->gallivm; local
1627 struct gallivm_state *gallivm = bld->gallivm; local
    [all...]
lp_bld_tgsi_action.c 97 bld_base->base.gallivm->builder,
109 emit_data->output[emit_data->chan] = LLVMBuildFPToSI(bld_base->base.gallivm->builder, tmp,
362 emit_data->dst_type = LLVMVoidTypeInContext(bld_base->base.gallivm->context);
372 emit_data->dst_type = LLVMVoidTypeInContext(bld_base->base.gallivm->context);
496 struct gallivm_state *gallivm = bld_base->base.gallivm; local
501 lo = lp_build_float_to_half(gallivm, emit_data->args[0]);
502 hi = lp_build_float_to_half(gallivm, emit_data->args[1]);
504 lo = lp_build_pad_vector(gallivm, lo, bld_base->base.type.length * 2);
505 hi = lp_build_pad_vector(gallivm, hi, bld_base->base.type.length * 2)
524 struct gallivm_state *gallivm = bld_base->base.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 39 #include "gallivm/lp_bld_init.h"
40 #include "gallivm/lp_bld_flow.h"
41 #include "gallivm/lp_bld_struct.h"
42 #include "gallivm/lp_bld_tgsi.h"
215 gallivm = gallivm_create(pName, wrap(&JM()->mContext));
216 pJitMgr->mpCurrentModule = unwrap(gallivm->module);
220 gallivm_free_ir(gallivm);
226 struct gallivm_state *gallivm; member in struct:BuilderSWR
345 IRB()->SetInsertPoint(unwrap(LLVMGetInsertBlock(gallivm->builder)));
403 IRB()->SetInsertPoint(unwrap(LLVMGetInsertBlock(gallivm->builder)))
    [all...]
  /external/mesa3d/src/gallium/drivers/radeonsi/
si_shader_internal.h 28 #include "gallivm/lp_bld_flow.h"
29 #include "gallivm/lp_bld_init.h"
30 #include "gallivm/lp_bld_tgsi.h"
51 struct gallivm_state gallivm; member in struct:si_shader_context
si_shader_tgsi_setup.c 27 #include "gallivm/lp_bld_const.h"
28 #include "gallivm/lp_bld_gather.h"
29 #include "gallivm/lp_bld_flow.h"
30 #include "gallivm/lp_bld_init.h"
31 #include "gallivm/lp_bld_intr.h"
32 #include "gallivm/lp_bld_misc.h"
33 #include "gallivm/lp_bld_swizzle.h"
519 return lp_build_gather_values(&ctx->gallivm, values,
650 &ctx->gallivm,
696 array_alloca = lp_build_alloca_undef(&ctx->gallivm,
1221 struct gallivm_state *gallivm = &ctx->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
434 struct gallivm_state *gallivm = variant->gallivm; local
1082 struct gallivm_state *gallivm = variant->gallivm; local
1388 struct gallivm_state *gallivm = bld_base->base.gallivm; local
1442 struct gallivm_state *gallivm = variant->gallivm; local
1476 struct gallivm_state *gallivm = variant->gallivm; local
1505 struct gallivm_state *gallivm = variant->gallivm; local
1523 struct gallivm_state *gallivm = variant->gallivm; local
2180 struct gallivm_state *gallivm = var->gallivm; local
2207 struct gallivm_state *gallivm = variant->gallivm; local
2230 struct gallivm_state *gallivm = variant->gallivm; local
    [all...]

Completed in 682 milliseconds

1 2