HomeSort by: relevance | last modified time | path
    Searched defs:gallivm (Results 1 - 25 of 64) sorted by relevancy

1 2 3

  /xsrc/external/mit/MesaLib.old/dist/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"
79 add_fetch_rgba_test(struct gallivm_state *gallivm, unsigned verbose,
85 LLVMContextRef context = gallivm->context;
86 LLVMModuleRef module = gallivm->module;
87 LLVMBuilderRef builder = gallivm->builder;
102 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0);
105 args[4] = LLVMPointerType(lp_build_format_cache_type(gallivm), 0)
143 struct gallivm_state *gallivm; local
244 struct gallivm_state *gallivm; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
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_jit.c 38 #include "gallivm/lp_bld_init.h"
39 #include "gallivm/lp_bld_debug.h"
40 #include "gallivm/lp_bld_format.h"
46 create_jit_texture_type(struct gallivm_state *gallivm)
48 LLVMContextRef lc = gallivm->context;
70 gallivm->target, texture_type,
73 gallivm->target, texture_type,
76 gallivm->target, texture_type,
79 gallivm->target, texture_type,
82 gallivm->target, texture_type
190 struct gallivm_state *gallivm = lp->gallivm; local
419 struct gallivm_state *gallivm = lp->gallivm; local
    [all...]
lp_state_setup.h 63 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"
79 add_fetch_rgba_test(struct gallivm_state *gallivm, unsigned verbose,
85 LLVMContextRef context = gallivm->context;
86 LLVMModuleRef module = gallivm->module;
87 LLVMBuilderRef builder = gallivm->builder;
102 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0);
105 args[4] = LLVMPointerType(lp_build_format_cache_type(gallivm), 0)
143 struct gallivm_state *gallivm; local
244 struct gallivm_state *gallivm; local
    [all...]
lp_bld_interp.c 42 #include "gallivm/lp_bld_debug.h"
43 #include "gallivm/lp_bld_const.h"
44 #include "gallivm/lp_bld_arit.h"
45 #include "gallivm/lp_bld_swizzle.h"
46 #include "gallivm/lp_bld_flow.h"
47 #include "gallivm/lp_bld_logic.h"
48 #include "gallivm/lp_bld_struct.h"
49 #include "gallivm/lp_bld_gather.h"
138 struct gallivm_state *gallivm = coeff_bld->gallivm; local
208 struct gallivm_state *gallivm = coeff_bld->gallivm; local
    [all...]
lp_state_cs.h 33 #include "gallivm/lp_bld.h"
34 #include "gallivm/lp_bld_sample.h" /* for struct lp_sampler_static_state */
81 struct gallivm_state *gallivm; member in struct:lp_compute_shader_variant
lp_state_fs_linear_llvm.c 44 #include "gallivm/lp_bld_type.h"
45 #include "gallivm/lp_bld_const.h"
46 #include "gallivm/lp_bld_conv.h"
47 #include "gallivm/lp_bld_init.h"
48 #include "gallivm/lp_bld_intr.h"
49 #include "gallivm/lp_bld_logic.h"
50 #include "gallivm/lp_bld_tgsi.h"
51 #include "gallivm/lp_bld_swizzle.h"
52 #include "gallivm/lp_bld_flow.h"
53 #include "gallivm/lp_bld_printf.h
150 struct gallivm_state *gallivm = bld->gallivm; local
256 struct gallivm_state *gallivm = variant->gallivm; local
    [all...]
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"
343 build_unary_test_func(struct gallivm_state *gallivm,
349 LLVMContextRef context = gallivm->context;
350 LLVMModuleRef module = gallivm->module;
351 LLVMTypeRef vf32t = lp_build_vec_type(gallivm, type);
358 LLVMBuilderRef builder = gallivm->builder;
364 lp_build_context_init(&bld, gallivm, type)
425 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...]
  /xsrc/external/mit/MesaLib/dist/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,
120 struct gallivm_state *gallivm; member in struct:lp_build_loop_state
126 struct gallivm_state *gallivm,
160 struct gallivm_state *gallivm; member in struct:lp_build_for_loop_state
165 struct gallivm_state *gallivm,
180 struct gallivm_state *gallivm; member in struct:lp_build_if_state
191 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_init.c 111 create_pass_manager(struct gallivm_state *gallivm)
113 assert(!gallivm->passmgr);
114 assert(gallivm->target);
116 gallivm->passmgr = LLVMCreateFunctionPassManagerForModule(gallivm->module);
117 if (!gallivm->passmgr)
121 gallivm->cgpassmgr = LLVMCreatePassManager();
132 td_str = LLVMCopyStringRepOfTargetData(gallivm->target);
133 LLVMSetDataLayout(gallivm->module, td_str);
139 LLVMAddArgumentPromotionPass(gallivm->cgpassmgr)
515 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...]
  /xsrc/external/mit/MesaLib.old/dist/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 120 create_pass_manager(struct gallivm_state *gallivm)
122 assert(!gallivm->passmgr);
123 assert(gallivm->target);
125 gallivm->passmgr = LLVMCreateFunctionPassManagerForModule(gallivm->module);
126 if (!gallivm->passmgr)
136 LLVMAddTargetData(gallivm->target, gallivm->passmgr);
142 td_str = LLVMCopyStringRepOfTargetData(gallivm->target);
143 LLVMSetDataLayout(gallivm->module, td_str)
528 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...]
  /xsrc/external/mit/MesaLib/dist/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); }

Completed in 133 milliseconds

1 2 3