/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_jit.c | 37 #include "gallivm/lp_bld_init.h" 38 #include "gallivm/lp_bld_debug.h" 46 struct gallivm_state *gallivm = lp->gallivm; local 47 LLVMContextRef lc = gallivm->context; 74 LLVMAddTypeName(gallivm->module, "texture", texture_type); 76 LLVMInvalidateStructLayout(gallivm->target, texture_type); 80 gallivm->target, texture_type, 83 gallivm->target, texture_type, 86 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") 92 struct gallivm_state *gallivm; local [all...] |
lp_state_setup.h | 58 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" 78 add_fetch_rgba_test(struct gallivm_state *gallivm, unsigned verbose, 83 LLVMContextRef context = gallivm->context; 84 LLVMModuleRef module = gallivm->module; 85 LLVMBuilderRef builder = gallivm->builder; 99 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0); 115 rgba = lp_build_fetch_rgba_aos(gallivm, desc, type 133 struct gallivm_state *gallivm; local 218 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 368 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 */ 87 struct gallivm_state *gallivm; member in struct:lp_fragment_shader_variant
|
lp_test_arit.c | 37 #include "gallivm/lp_bld.h" 38 #include "gallivm/lp_bld_debug.h" 39 #include "gallivm/lp_bld_init.h" 40 #include "gallivm/lp_bld_arit.h" 250 build_unary_test_func(struct gallivm_state *gallivm, 254 LLVMContextRef context = gallivm->context; 255 LLVMModuleRef module = gallivm->module; 256 LLVMTypeRef vf32t = lp_build_vec_type(gallivm, type); 263 LLVMBuilderRef builder = gallivm->builder; 269 lp_build_context_init(&bld, gallivm, type) 295 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) 158 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" 154 add_blend_test(struct gallivm_state *gallivm, 159 LLVMModuleRef module = gallivm->module; 160 LLVMContextRef context = gallivm->context; 174 vec_type = lp_build_vec_type(gallivm, type); 185 builder = gallivm->builder; 198 res = lp_build_blend_aos(gallivm, blend, &format, type, rt, src, dst, NULL, con, swizzle); 222 lp_build_blend_soa(gallivm, blend, type, rt, src, dst, con, res) 465 struct gallivm_state *gallivm; local [all...] |
lp_state_fs.c | 75 #include "gallivm/lp_bld_type.h" 76 #include "gallivm/lp_bld_const.h" 77 #include "gallivm/lp_bld_conv.h" 78 #include "gallivm/lp_bld_init.h" 79 #include "gallivm/lp_bld_intr.h" 80 #include "gallivm/lp_bld_logic.h" 81 #include "gallivm/lp_bld_tgsi.h" 82 #include "gallivm/lp_bld_swizzle.h" 83 #include "gallivm/lp_bld_flow.h" 84 #include "gallivm/lp_bld_debug.h 766 struct gallivm_state *gallivm = variant->gallivm; local [all...] |
lp_state_setup.c | 33 #include "gallivm/lp_bld_arit.h" 34 #include "gallivm/lp_bld_const.h" 35 #include "gallivm/lp_bld_debug.h" 36 #include "gallivm/lp_bld_init.h" 37 #include "gallivm/lp_bld_logic.h" 38 #include "gallivm/lp_bld_intr.h" 39 #include "gallivm/lp_bld_flow.h" 40 #include "gallivm/lp_bld_type.h" 84 type4f(struct gallivm_state *gallivm) 86 return LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), 4) 671 struct gallivm_state *gallivm; local [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_flow.h | 38 #include "gallivm/lp_bld.h" 50 struct gallivm_state *gallivm; member in struct:lp_build_skip_context 58 struct gallivm_state *gallivm); 80 struct gallivm_state *gallivm, 113 struct gallivm_state *gallivm; member in struct:lp_build_loop_state 119 struct gallivm_state *gallivm, 147 struct gallivm_state *gallivm; member in struct:lp_build_for_loop_state 152 struct gallivm_state *gallivm, 167 struct gallivm_state *gallivm; member in struct:lp_build_if_state 178 struct gallivm_state *gallivm, [all...] |
lp_bld_quad.c | 94 struct gallivm_state *gallivm = bld->gallivm; local 95 LLVMBuilderRef builder = gallivm->builder; 127 struct gallivm_state *gallivm = bld->gallivm; local 128 LLVMBuilderRef builder = gallivm->builder; 140 shuffles1[4*i + 0] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s1); 141 shuffles1[4*i + 1] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s1); 142 shuffles1[4*i + 2] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2); 143 shuffles1[4*i + 3] = lp_build_const_int32(gallivm, LP_BLD_QUAD_TOP_LEFT + s2) [all...] |
lp_bld_init.c | 118 * same gallivm state everywhere. 130 create_pass_manager(struct gallivm_state *gallivm) 132 assert(!gallivm->passmgr); 133 assert(gallivm->target); 135 gallivm->passmgr = LLVMCreateFunctionPassManager(gallivm->provider); 136 if (!gallivm->passmgr) 139 LLVMAddTargetData(gallivm->target, gallivm->passmgr); 146 LLVMAddCFGSimplificationPass(gallivm->passmgr) 469 struct gallivm_state *gallivm; local [all...] |
lp_bld_type.h | 41 #include "gallivm/lp_bld.h" 137 struct gallivm_state *gallivm; member in struct:lp_build_context 309 lp_build_elem_type(struct gallivm_state *gallivm, struct lp_type type); 313 lp_build_vec_type(struct gallivm_state *gallivm, struct lp_type type); 329 lp_build_int_elem_type(struct gallivm_state *gallivm, struct lp_type type); 333 lp_build_int_vec_type(struct gallivm_state *gallivm, struct lp_type type); 414 struct gallivm_state *gallivm,
|
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; 246 value = lp_build_max(&bld->bld_base.base, value, lp_build_const_vec(bld->bld_base.base.gallivm, bld->bld_base.base.type, -1.0)); 299 pred = lp_build_compare(bld->bld_base.base.gallivm, 329 writemask = lp_build_const_mask_aos_swizzled(bld->bld_base.base.gallivm, 407 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" 121 struct gallivm_state *gallivm, 127 struct gallivm_state *gallivm, 133 struct gallivm_state *gallivm, 139 struct gallivm_state *gallivm, 145 struct gallivm_state *gallivm, 151 struct gallivm_state *gallivm, 157 struct gallivm_state *gallivm, 193 struct gallivm_state *gallivm; member in struct:lp_build_sample_context [all...] |
lp_bld_sample.c | 188 struct gallivm_state *gallivm = bld->gallivm; local 196 LLVMBuilderRef builder = bld->gallivm->builder; 197 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); 209 LLVMValueRef i32undef = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); 249 shuffles1[4*i + 0] = lp_build_const_int32(gallivm, 4*i); 250 shuffles1[4*i + 1] = lp_build_const_int32(gallivm, 4*i + 2); 251 shuffles1[4*i + 2] = lp_build_const_int32(gallivm, length + 4*i); 253 shuffles2[4*i + 0] = lp_build_const_int32(gallivm, 4*i + 1); 254 shuffles2[4*i + 1] = lp_build_const_int32(gallivm, 4*i + 3) 972 struct gallivm_state *gallivm = bld->gallivm; local 999 struct gallivm_state *gallivm = bld->gallivm; local [all...] |
lp_bld_arit.c | 149 return lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, 240 return lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, 257 LLVMBuilderRef builder = bld->gallivm->builder; 295 LLVMBuilderRef builder = bld->gallivm->builder; 325 return lp_build_intrinsic_binary(builder, intrinsic, lp_build_vec_type(bld->gallivm, bld->type), a, b); 356 LLVMBuilderRef builder = bld->gallivm->builder; 386 shuffles1[i] = lp_build_const_int32(bld->gallivm, i); 387 shuffles2[i] = lp_build_const_int32(bld->gallivm, i + length); 405 index = lp_build_const_int32(bld->gallivm, 0); 407 index = lp_build_const_int32(bld->gallivm, 1) 426 struct gallivm_state *gallivm = bld->gallivm; local 491 struct gallivm_state *gallivm = bld->gallivm; local 2028 struct gallivm_state *gallivm = bld->gallivm; local 2247 struct gallivm_state *gallivm = bld->gallivm; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_llvm.c | 3 #include "gallivm/lp_bld_const.h" 4 #include "gallivm/lp_bld_intr.h" 5 #include "gallivm/lp_bld_gather.h" 27 LLVMValueRef idx = lp_build_const_int32(bld_base->base.gallivm, 29 LLVMValueRef cval = build_intrinsic(bld_base->base.gallivm->builder, 50 ctx->soa.bld_base.base.gallivm, chan); 52 ctx->soa.bld_base.base.gallivm->builder, 82 ctx->soa.bld_base.base.gallivm, 85 ctx->soa.bld_base.base.gallivm->builder, 103 base->gallivm, 147 struct gallivm_state * gallivm = bld_base->base.gallivm; local [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_llvm.h | 31 #include "gallivm/lp_bld_init.h" 32 #include "gallivm/lp_bld_tgsi.h" 112 struct gallivm_state gallivm; member in struct:radeon_llvm_context 121 LLVMBuilderRef builder = bld_base->base.gallivm->builder; 122 LLVMContextRef ctx = bld_base->base.gallivm->context;
|
radeon_setup_tgsi_llvm.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_swizzle.h" 70 LLVMInt32TypeInContext(bld_base->base.gallivm->context); 77 return LLVMBuildShuffleVector(bld_base->base.gallivm->builder, 89 struct gallivm_state * gallivm = bld->bld_base.base.gallivm; local 277 struct gallivm_state *gallivm = bld->bld_base.base.gallivm; local 351 struct gallivm_state * gallivm = bld_base->base.gallivm; local 371 struct gallivm_state * gallivm = bld_base->base.gallivm; local 383 struct gallivm_state * gallivm = bld_base->base.gallivm; local 395 struct gallivm_state * gallivm = bld_base->base.gallivm; local 429 struct gallivm_state * gallivm = bld_base->base.gallivm; local 461 struct gallivm_state * gallivm = bld_base->base.gallivm; local 478 struct gallivm_state * gallivm = bld_base->base.gallivm; local 522 struct gallivm_state * gallivm = bld_base->base.gallivm; local 1183 struct gallivm_state * gallivm = ctx->soa.bld_base.base.gallivm; local [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
radeonsi_shader.c | 30 #include "gallivm/lp_bld_tgsi_action.h" 31 #include "gallivm/lp_bld_const.h" 32 #include "gallivm/lp_bld_gather.h" 33 #include "gallivm/lp_bld_intr.h" 34 #include "gallivm/lp_bld_tgsi.h" 123 struct gallivm_state * gallivm, 128 gallivm->builder, base_ptr, &offset, 1, ""); 130 return LLVMBuildLoad(gallivm->builder, computed_ptr, ""); 148 struct gallivm_state * gallivm, 156 sgpr_index = lp_build_const_int32(gallivm, sgpr) 263 struct gallivm_state * gallivm = base->gallivm; local [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm.h | 34 #include "gallivm/lp_bld_sample.h" 218 struct gallivm_state *gallivm; member in struct:draw_llvm_variant
|
draw_llvm.c | 33 #include "gallivm/lp_bld_arit.h" 34 #include "gallivm/lp_bld_logic.h" 35 #include "gallivm/lp_bld_const.h" 36 #include "gallivm/lp_bld_swizzle.h" 37 #include "gallivm/lp_bld_struct.h" 38 #include "gallivm/lp_bld_type.h" 39 #include "gallivm/lp_bld_flow.h" 40 #include "gallivm/lp_bld_debug.h" 41 #include "gallivm/lp_bld_tgsi.h" 42 #include "gallivm/lp_bld_printf.h 289 struct gallivm_state *gallivm = variant->gallivm; local 802 struct gallivm_state *gallivm = variant->gallivm; local 1062 struct gallivm_state *gallivm = variant->gallivm; local [all...] |