Home | History | Annotate | Download | only in llvmpipe

Lines Matching defs:gallivm

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);
124 rgba = lp_build_fetch_rgba_aos(gallivm, desc, type, TRUE,
131 gallivm_verify_function(gallivm, func);
143 struct gallivm_state *gallivm;
153 gallivm = gallivm_create("test_module_float", context);
155 fetch = add_fetch_rgba_test(gallivm, verbose, desc, lp_float32_vec4_type());
157 gallivm_compile_module(gallivm);
159 fetch_ptr = (fetch_ptr_t) gallivm_jit_function(gallivm, fetch);
161 gallivm_free_ir(gallivm);
226 gallivm_destroy(gallivm);
242 struct gallivm_state *gallivm;
252 gallivm = gallivm_create("test_module_unorm8", context);
254 fetch = add_fetch_rgba_test(gallivm, verbose, desc, lp_unorm8_vec4_type());
256 gallivm_compile_module(gallivm);
258 fetch_ptr = (fetch_ptr_t) gallivm_jit_function(gallivm, fetch);
260 gallivm_free_ir(gallivm);
324 gallivm_destroy(gallivm);