Searched refs:gallivm (Results 1 - 25 of 231) sorted by relevance

12345678910

/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_coro.c43 LLVMValueRef lp_build_coro_id(struct gallivm_state *gallivm) argument
46 coro_id_args[0] = lp_build_const_int32(gallivm, 0);
47 coro_id_args[1] = LLVMConstPointerNull(LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0));
50 LLVMValueRef coro_id = lp_build_intrinsic(gallivm->builder,
52 LLVMTokenTypeInContext(gallivm->context),
57 LLVMValueRef lp_build_coro_size(struct gallivm_state *gallivm) argument
59 return lp_build_intrinsic(gallivm->builder,
61 LLVMInt32TypeInContext(gallivm->context),
65 LLVMValueRef lp_build_coro_begin(struct gallivm_state *gallivm, argument
71 LLVMValueRef coro_hdl = lp_build_intrinsic(gallivm
78 lp_build_coro_free(struct gallivm_state * gallivm,LLVMValueRef coro_id,LLVMValueRef coro_hdl) argument
90 lp_build_coro_end(struct gallivm_state * gallivm,LLVMValueRef coro_hdl) argument
101 lp_build_coro_resume(struct gallivm_state * gallivm,LLVMValueRef coro_hdl) argument
109 lp_build_coro_destroy(struct gallivm_state * gallivm,LLVMValueRef coro_hdl) argument
117 lp_build_coro_done(struct gallivm_state * gallivm,LLVMValueRef coro_hdl) argument
125 lp_build_coro_suspend(struct gallivm_state * gallivm,bool last) argument
137 lp_build_coro_alloc(struct gallivm_state * gallivm,LLVMValueRef id) argument
157 lp_build_coro_add_malloc_hooks(struct gallivm_state * gallivm) argument
167 lp_build_coro_declare_malloc_hooks(struct gallivm_state * gallivm) argument
177 lp_build_coro_begin_alloc_mem(struct gallivm_state * gallivm,LLVMValueRef coro_id) argument
199 lp_build_coro_alloc_mem_array(struct gallivm_state * gallivm,LLVMValueRef coro_hdl_ptr,LLVMValueRef coro_idx,LLVMValueRef coro_num_hdls) argument
222 lp_build_coro_free_mem(struct gallivm_state * gallivm,LLVMValueRef coro_id,LLVMValueRef coro_hdl) argument
230 lp_build_coro_suspend_switch(struct gallivm_state * gallivm,const struct lp_build_coro_suspend_info * sus_info,LLVMBasicBlockRef resume_block,bool final_suspend) argument
[all...]
H A Dlp_bld_init.c111 create_pass_manager(struct gallivm_state *gallivm) argument
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
197 gallivm_free_ir(struct gallivm_state * gallivm) argument
247 gallivm_free_code(struct gallivm_state * gallivm) argument
259 init_gallivm_engine(struct gallivm_state * gallivm) argument
320 init_gallivm_state(struct gallivm_state * gallivm,const char * name,LLVMContextRef context,struct lp_cached_code * cache) argument
515 struct gallivm_state *gallivm; local in function:gallivm_create
534 gallivm_destroy(struct gallivm_state * gallivm) argument
547 gallivm_verify_function(struct gallivm_state * gallivm,LLVMValueRef func) argument
572 gallivm_compile_module(struct gallivm_state * gallivm) argument
703 gallivm_jit_function(struct gallivm_state * gallivm,LLVMValueRef func) argument
[all...]
H A Dlp_bld_format.c34 lp_build_format_cache_type(struct gallivm_state *gallivm) argument
40 LLVMArrayType(LLVMInt32TypeInContext(gallivm->context),
43 LLVMArrayType(LLVMInt64TypeInContext(gallivm->context),
47 LLVMInt64TypeInContext(gallivm->context);
49 LLVMInt64TypeInContext(gallivm->context);
52 s = LLVMStructTypeInContext(gallivm->context, elem_types,
H A Dlp_bld_assert.h37 lp_build_assert(struct gallivm_state *gallivm,
H A Dlp_bld_coro.h31 #include "gallivm/lp_bld.h"
34 LLVMValueRef lp_build_coro_id(struct gallivm_state *gallivm);
36 LLVMValueRef lp_build_coro_size(struct gallivm_state *gallivm);
38 LLVMValueRef lp_build_coro_begin(struct gallivm_state *gallivm,
41 LLVMValueRef lp_build_coro_free(struct gallivm_state *gallivm,
44 void lp_build_coro_end(struct gallivm_state *gallivm,
47 void lp_build_coro_resume(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
49 void lp_build_coro_destroy(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
51 LLVMValueRef lp_build_coro_done(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
53 LLVMValueRef lp_build_coro_suspend(struct gallivm_state *gallivm, boo
[all...]
H A Dlp_bld_printf.h41 lp_build_printf(struct gallivm_state *gallivm,
45 lp_build_print_value(struct gallivm_state *gallivm,
H A Dlp_bld_const.h41 #include "gallivm/lp_bld.h"
42 #include "gallivm/lp_bld_init.h"
77 lp_build_undef(struct gallivm_state *gallivm, struct lp_type type);
81 lp_build_zero(struct gallivm_state *gallivm, struct lp_type type);
85 lp_build_one(struct gallivm_state *gallivm, struct lp_type type);
89 lp_build_const_elem(struct gallivm_state *gallivm, struct lp_type type,
93 lp_build_const_vec(struct gallivm_state *gallivm, struct lp_type type,
98 lp_build_const_int_vec(struct gallivm_state *gallivm,
103 lp_build_const_aos(struct gallivm_state *gallivm, struct lp_type type,
109 lp_build_const_mask_aos(struct gallivm_state *gallivm,
124 lp_build_const_int32(struct gallivm_state * gallivm,int i) argument
130 lp_build_const_int64(struct gallivm_state * gallivm,int64_t i) argument
136 lp_build_const_float(struct gallivm_state * gallivm,float x) argument
142 lp_build_const_double(struct gallivm_state * gallivm,float x) argument
150 lp_build_const_int_pointer(struct gallivm_state * gallivm,const void * ptr) argument
[all...]
H A Dlp_bld_conv.h40 #include "gallivm/lp_bld.h"
46 lp_build_half_to_float(struct gallivm_state *gallivm,
50 lp_build_float_to_half(struct gallivm_state *gallivm,
54 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm,
60 lp_build_unsigned_norm_to_float(struct gallivm_state *gallivm,
67 lp_build_conv(struct gallivm_state *gallivm,
75 lp_build_conv_auto(struct gallivm_state *gallivm,
84 lp_build_conv_mask(struct gallivm_state *gallivm,
H A Dlp_bld_gather.c49 lp_build_gather_elem_ptr(struct gallivm_state *gallivm, argument
58 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0));
64 LLVMValueRef index = lp_build_const_int32(gallivm, i);
65 offset = LLVMBuildExtractElement(gallivm->builder, offsets, index, "");
68 ptr = LLVMBuildGEP(gallivm->builder, base_ptr, &offset, 1, "");
80 lp_build_gather_elem(struct gallivm_state *gallivm, argument
90 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width);
92 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width);
96 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0));
98 ptr = lp_build_gather_elem_ptr(gallivm, lengt
164 lp_build_gather_elem_vec(struct gallivm_state * gallivm,unsigned length,unsigned src_width,LLVMTypeRef src_type,struct lp_type dst_type,boolean aligned,LLVMValueRef base_ptr,LLVMValueRef offsets,unsigned i,boolean vector_justify) argument
279 lp_build_gather_avx2(struct gallivm_state * gallivm,unsigned length,unsigned src_width,struct lp_type dst_type,LLVMValueRef base_ptr,LLVMValueRef offsets) argument
409 lp_build_gather(struct gallivm_state * gallivm,unsigned length,unsigned src_width,struct lp_type dst_type,boolean aligned,LLVMValueRef base_ptr,LLVMValueRef offsets,boolean vector_justify) argument
587 lp_build_gather_values(struct gallivm_state * gallivm,LLVMValueRef * values,unsigned value_count) argument
[all...]
H A Dlp_bld_arit_overflow.h41 #include "gallivm/lp_bld.h"
46 lp_build_uadd_overflow(struct gallivm_state *gallivm,
52 lp_build_usub_overflow(struct gallivm_state *gallivm,
58 lp_build_umul_overflow(struct gallivm_state *gallivm,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format.c34 lp_build_format_cache_type(struct gallivm_state *gallivm) argument
40 LLVMArrayType(LLVMInt32TypeInContext(gallivm->context),
43 LLVMArrayType(LLVMInt64TypeInContext(gallivm->context),
47 LLVMInt64TypeInContext(gallivm->context);
49 LLVMInt64TypeInContext(gallivm->context);
52 s = LLVMStructTypeInContext(gallivm->context, elem_types,
H A Dlp_bld_printf.h38 lp_build_printf(struct gallivm_state *gallivm,
42 lp_build_print_value(struct gallivm_state *gallivm,
H A Dlp_bld_init.c120 create_pass_manager(struct gallivm_state *gallivm) argument
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
192 gallivm_free_ir(struct gallivm_state * gallivm) argument
234 gallivm_free_code(struct gallivm_state * gallivm) argument
246 init_gallivm_engine(struct gallivm_state * gallivm) argument
313 init_gallivm_state(struct gallivm_state * gallivm,const char * name,LLVMContextRef context) argument
528 struct gallivm_state *gallivm; local in function:gallivm_create
546 gallivm_destroy(struct gallivm_state * gallivm) argument
559 gallivm_verify_function(struct gallivm_state * gallivm,LLVMValueRef func) argument
584 gallivm_compile_module(struct gallivm_state * gallivm) argument
708 gallivm_jit_function(struct gallivm_state * gallivm,LLVMValueRef func) argument
[all...]
H A Dlp_bld_assert.h37 lp_build_assert(struct gallivm_state *gallivm,
H A Dlp_bld_const.h41 #include "gallivm/lp_bld.h"
42 #include "gallivm/lp_bld_init.h"
77 lp_build_undef(struct gallivm_state *gallivm, struct lp_type type);
81 lp_build_zero(struct gallivm_state *gallivm, struct lp_type type);
85 lp_build_one(struct gallivm_state *gallivm, struct lp_type type);
89 lp_build_const_elem(struct gallivm_state *gallivm, struct lp_type type,
93 lp_build_const_vec(struct gallivm_state *gallivm, struct lp_type type,
98 lp_build_const_int_vec(struct gallivm_state *gallivm,
103 lp_build_const_aos(struct gallivm_state *gallivm, struct lp_type type,
109 lp_build_const_mask_aos(struct gallivm_state *gallivm,
124 lp_build_const_int32(struct gallivm_state * gallivm,int i) argument
131 lp_build_const_float(struct gallivm_state * gallivm,float x) argument
139 lp_build_const_int_pointer(struct gallivm_state * gallivm,const void * ptr) argument
[all...]
H A Dlp_bld_flow.c55 lp_build_insert_new_block(struct gallivm_state *gallivm, const char *name) argument
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
85 lp_build_flow_skip_begin(struct lp_build_skip_context * skip,struct gallivm_state * gallivm) argument
163 lp_build_mask_begin(struct lp_build_mask_context * mask,struct gallivm_state * gallivm,struct lp_type type,LLVMValueRef value) argument
217 lp_build_loop_begin(struct lp_build_loop_state * state,struct gallivm_state * gallivm,LLVMValueRef start) argument
289 lp_build_for_loop_begin(struct lp_build_for_loop_state * state,struct gallivm_state * gallivm,LLVMValueRef start,LLVMIntPredicate cmp_op,LLVMValueRef end,LLVMValueRef step) argument
377 lp_build_if(struct lp_build_if_state * ifthen,struct gallivm_state * gallivm,LLVMValueRef condition) argument
458 create_builder_at_entry(struct gallivm_state * gallivm) argument
493 lp_build_alloca(struct gallivm_state * gallivm,LLVMTypeRef type,const char * name) argument
514 lp_build_alloca_undef(struct gallivm_state * gallivm,LLVMTypeRef type,const char * name) argument
544 lp_build_array_alloca(struct gallivm_state * gallivm,LLVMTypeRef type,LLVMValueRef count,const char * name) argument
[all...]
H A Dlp_bld_init.h65 gallivm_destroy(struct gallivm_state *gallivm);
68 gallivm_free_ir(struct gallivm_state *gallivm);
71 gallivm_verify_function(struct gallivm_state *gallivm,
75 gallivm_compile_module(struct gallivm_state *gallivm);
78 gallivm_jit_function(struct gallivm_state *gallivm,
H A Dlp_bld_conv.h40 #include "gallivm/lp_bld.h"
46 lp_build_half_to_float(struct gallivm_state *gallivm,
50 lp_build_float_to_half(struct gallivm_state *gallivm,
54 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm,
60 lp_build_unsigned_norm_to_float(struct gallivm_state *gallivm,
67 lp_build_conv(struct gallivm_state *gallivm,
75 lp_build_conv_auto(struct gallivm_state *gallivm,
84 lp_build_conv_mask(struct gallivm_state *gallivm,
H A Dlp_bld_gather.c49 lp_build_gather_elem_ptr(struct gallivm_state *gallivm, argument
58 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0));
64 LLVMValueRef index = lp_build_const_int32(gallivm, i);
65 offset = LLVMBuildExtractElement(gallivm->builder, offsets, index, "");
68 ptr = LLVMBuildGEP(gallivm->builder, base_ptr, &offset, 1, "");
80 lp_build_gather_elem(struct gallivm_state *gallivm, argument
90 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width);
92 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width);
96 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0));
98 ptr = lp_build_gather_elem_ptr(gallivm, lengt
164 lp_build_gather_elem_vec(struct gallivm_state * gallivm,unsigned length,unsigned src_width,LLVMTypeRef src_type,struct lp_type dst_type,boolean aligned,LLVMValueRef base_ptr,LLVMValueRef offsets,unsigned i,boolean vector_justify) argument
279 lp_build_gather_avx2(struct gallivm_state * gallivm,unsigned length,unsigned src_width,struct lp_type dst_type,LLVMValueRef base_ptr,LLVMValueRef offsets) argument
409 lp_build_gather(struct gallivm_state * gallivm,unsigned length,unsigned src_width,struct lp_type dst_type,boolean aligned,LLVMValueRef base_ptr,LLVMValueRef offsets,boolean vector_justify) argument
587 lp_build_gather_values(struct gallivm_state * gallivm,LLVMValueRef * values,unsigned value_count) argument
[all...]
H A Dlp_bld_arit_overflow.h41 #include "gallivm/lp_bld.h"
46 lp_build_uadd_overflow(struct gallivm_state *gallivm,
52 lp_build_usub_overflow(struct gallivm_state *gallivm,
58 lp_build_umul_overflow(struct gallivm_state *gallivm,
H A Dlp_bld_format_s3tc.c73 lp_build_uninterleave2_half(struct gallivm_state *gallivm, argument
97 elems[i] = lp_build_const_int32(gallivm, j + lo_hi);
101 elems[i] = lp_build_const_int32(gallivm, 2*i + lo_hi);
107 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, "");
116 lp_build_const_extend_shuffle(struct gallivm_state *gallivm, argument
128 elems[i] = lp_build_const_int32(gallivm, i);
131 elems[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
138 lp_build_const_unpackx2_shuffle(struct gallivm_state *gallivm, unsigned n) argument
148 elems[i + 0] = lp_build_const_int32(gallivm, 0 + j);
149 elems[i + 1] = lp_build_const_int32(gallivm,
161 lp_build_const_shuffle1(struct gallivm_state * gallivm,unsigned index,unsigned n) argument
182 lp_build_shuffle1undef(struct gallivm_state * gallivm,LLVMValueRef a,unsigned index,unsigned n) argument
224 lp_build_gather_s3tc(struct gallivm_state * gallivm,unsigned length,const struct util_format_description * format_desc,LLVMValueRef * colors,LLVMValueRef * codewords,LLVMValueRef * alpha_lo,LLVMValueRef * alpha_hi,LLVMValueRef base_ptr,LLVMValueRef offsets) argument
338 color_expand2_565_to_8888(struct gallivm_state * gallivm,unsigned n,LLVMValueRef colors,LLVMValueRef * color0,LLVMValueRef * color1) argument
407 color_expand_565_to_8888(struct gallivm_state * gallivm,unsigned n,LLVMValueRef colors) argument
468 struct gallivm_state *gallivm = bld8->gallivm; local in function:lp_build_pavgb
515 struct gallivm_state *gallivm = bld->gallivm; local in function:lp_build_lerp23
564 s3tc_dxt1_full_to_rgba_aos(struct gallivm_state * gallivm,unsigned n,enum pipe_format format,LLVMValueRef colors,LLVMValueRef codewords,LLVMValueRef i,LLVMValueRef j) argument
738 s3tc_dxt1_to_rgba_aos(struct gallivm_state * gallivm,unsigned n,enum pipe_format format,LLVMValueRef colors,LLVMValueRef codewords,LLVMValueRef i,LLVMValueRef j) argument
760 s3tc_dxt3_to_rgba_aos(struct gallivm_state * gallivm,unsigned n,enum pipe_format format,LLVMValueRef colors,LLVMValueRef codewords,LLVMValueRef alpha_low,LLVMValueRef alpha_hi,LLVMValueRef i,LLVMValueRef j) argument
833 lp_build_lerpdxta(struct gallivm_state * gallivm,LLVMValueRef alpha0,LLVMValueRef alpha1,LLVMValueRef code,LLVMValueRef sel_mask,unsigned n) argument
904 s3tc_dxt5_full_to_rgba_aos(struct gallivm_state * gallivm,unsigned n,enum pipe_format format,LLVMValueRef colors,LLVMValueRef codewords,LLVMValueRef alpha_lo,LLVMValueRef alpha_hi,LLVMValueRef i,LLVMValueRef j) argument
1050 lp_build_gather_s3tc_simple_scalar(struct gallivm_state * gallivm,const struct util_format_description * format_desc,LLVMValueRef * dxt_block,LLVMValueRef ptr) argument
1083 s3tc_store_cached_block(struct gallivm_state * gallivm,LLVMValueRef * col,LLVMValueRef tag_value,LLVMValueRef hash_index,LLVMValueRef cache) argument
1115 s3tc_lookup_cached_pixel(struct gallivm_state * gallivm,LLVMValueRef ptr,LLVMValueRef index) argument
1130 s3tc_lookup_tag_data(struct gallivm_state * gallivm,LLVMValueRef ptr,LLVMValueRef index) argument
1146 s3tc_update_cache_access(struct gallivm_state * gallivm,LLVMValueRef ptr,unsigned count,unsigned index) argument
1175 struct gallivm_state *gallivm = bld->gallivm; local in function:lp_build_lerp23_single
1218 s3tc_decode_block_dxt1(struct gallivm_state * gallivm,enum pipe_format format,LLVMValueRef dxt_block,LLVMValueRef * col) argument
1450 s3tc_decode_block_dxt3(struct gallivm_state * gallivm,enum pipe_format format,LLVMValueRef dxt_block,LLVMValueRef * col) argument
1512 lp_build_lerpdxta_block(struct gallivm_state * gallivm,LLVMValueRef alpha0,LLVMValueRef alpha1,LLVMValueRef code,LLVMValueRef sel_mask) argument
1566 s3tc_decode_block_dxt5(struct gallivm_state * gallivm,enum pipe_format format,LLVMValueRef dxt_block,LLVMValueRef * col) argument
1873 generate_update_cache_one_block(struct gallivm_state * gallivm,LLVMValueRef function,const struct util_format_description * format_desc) argument
1940 update_cached_block(struct gallivm_state * gallivm,const struct util_format_description * format_desc,LLVMValueRef ptr_addr,LLVMValueRef hash_index,LLVMValueRef cache) argument
2000 compressed_fetch_cached(struct gallivm_state * gallivm,const struct util_format_description * format_desc,unsigned n,LLVMValueRef base_ptr,LLVMValueRef offset,LLVMValueRef i,LLVMValueRef j,LLVMValueRef cache) argument
2128 s3tc_dxt5_to_rgba_aos(struct gallivm_state * gallivm,unsigned n,enum pipe_format format,LLVMValueRef colors,LLVMValueRef codewords,LLVMValueRef alpha_lo,LLVMValueRef alpha_hi,LLVMValueRef i,LLVMValueRef j) argument
2153 lp_build_fetch_s3tc_rgba_aos(struct gallivm_state * gallivm,const struct util_format_description * format_desc,unsigned n,LLVMValueRef base_ptr,LLVMValueRef offset,LLVMValueRef i,LLVMValueRef j,LLVMValueRef cache) argument
[all...]
H A Dlp_bld_format.h37 #include "gallivm/lp_bld.h"
38 #include "gallivm/lp_bld_init.h"
83 lp_build_format_cache_type(struct gallivm_state *gallivm);
96 lp_build_pack_rgba_aos(struct gallivm_state *gallivm,
101 lp_build_fetch_rgba_aos(struct gallivm_state *gallivm,
112 lp_build_fetch_rgba_aos_array(struct gallivm_state *gallivm,
130 lp_build_unpack_rgba_soa(struct gallivm_state *gallivm,
137 lp_build_rgba8_to_fi32_soa(struct gallivm_state *gallivm,
143 lp_build_fetch_rgba_soa(struct gallivm_state *gallivm,
159 lp_build_fetch_subsampled_rgba_aos(struct gallivm_state *gallivm,
[all...]
H A Dlp_bld_gather.h33 #include "gallivm/lp_bld.h"
37 lp_build_gather_elem_ptr(struct gallivm_state *gallivm,
44 lp_build_gather_elem(struct gallivm_state *gallivm,
55 lp_build_gather(struct gallivm_state *gallivm,
65 lp_build_gather_values(struct gallivm_state * gallivm,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_printf.c33 #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) argument
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
93 struct gallivm_state *gallivm; local in function:test_printf
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_printf.c33 #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) argument
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
93 struct gallivm_state *gallivm; local in function:test_printf
[all...]

Completed in 21 milliseconds

12345678910