/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_pack.c | 45 * LLVMValueRef 46 * compute(LLVMBuilderRef builder struct lp_type type, LLVMValueRef a, LLVMValueRef b) 49 * LLVMValueRef al, ah, bl, bh, cl, ch, c; 86 static LLVMValueRef 90 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; 110 static LLVMValueRef 114 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; 134 static LLVMValueRef 137 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH] [all...] |
lp_bld_format_soa.c | 47 const LLVMValueRef *unswizzled, 48 LLVMValueRef swizzled_out[4]) 62 LLVMValueRef depth = lp_build_swizzle_soa_channel(bld, unswizzled, swizzle); 103 LLVMValueRef packed, 104 LLVMValueRef rgba_out[4]) 108 LLVMValueRef inputs[4]; 127 LLVMValueRef input; 180 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits); 190 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits); 202 LLVMValueRef scale_val = lp_build_const_vec(gallivm, type, scale) [all...] |
lp_bld_logic.c | 73 LLVMValueRef 77 LLVMValueRef a, 78 LLVMValueRef b) 82 LLVMValueRef zeros = LLVMConstNull(int_vec_type); 83 LLVMValueRef ones = LLVMConstAllOnes(int_vec_type); 84 LLVMValueRef cond; 85 LLVMValueRef res; 121 LLVMValueRef args[3]; 188 LLVMValueRef args[2]; 189 LLVMValueRef res [all...] |
lp_bld_debug.h | 61 lp_build_name(LLVMValueRef val, const char *format, ...) 78 lp_debug_dump_value(LLVMValueRef value);
|
lp_bld_conv.c | 86 LLVMValueRef 89 LLVMValueRef src) 99 LLVMValueRef i32_13 = lp_build_const_int_vec(gallivm, i32_type, 13); 100 LLVMValueRef i32_16 = lp_build_const_int_vec(gallivm, i32_type, 16); 101 LLVMValueRef i32_mask_nosign = lp_build_const_int_vec(gallivm, i32_type, 0x7fff); 102 LLVMValueRef i32_was_infnan = lp_build_const_int_vec(gallivm, i32_type, 0x7bff); 103 LLVMValueRef i32_exp_infnan = lp_build_const_int_vec(gallivm, i32_type, 0xff << 23); 104 LLVMValueRef f32_magic = LLVMBuildBitCast(builder, 109 LLVMValueRef h = LLVMBuildZExt(builder, src, int_vec_type, ""); 112 LLVMValueRef expmant = LLVMBuildAnd(builder, i32_mask_nosign, h, "") [all...] |
lp_bld_swizzle.c | 46 LLVMValueRef 49 LLVMValueRef scalar) 51 LLVMValueRef res; 60 LLVMValueRef undef = LLVMGetUndef(vec_type); 75 LLVMValueRef index = lp_build_const_int32(gallivm, i); 88 LLVMValueRef 90 LLVMValueRef scalar) 101 LLVMValueRef 105 LLVMValueRef vector, 106 LLVMValueRef index [all...] |
lp_bld_const.c | 224 LLVMValueRef 232 LLVMValueRef 248 LLVMValueRef 252 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; 273 LLVMValueRef vec = LLVMConstAllOnes(vec_type); 298 LLVMValueRef 304 LLVMValueRef elem; 324 LLVMValueRef 331 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; 341 LLVMValueRef [all...] |
lp_bld_format_aos.c | 60 LLVMValueRef 63 LLVMValueRef unswizzled) 148 static INLINE LLVMValueRef 151 LLVMValueRef packed) 154 LLVMValueRef shifted, casted, scaled, masked; 155 LLVMValueRef shifts[4]; 156 LLVMValueRef masks[4]; 157 LLVMValueRef scales[4]; 262 LLVMValueRef 265 LLVMValueRef rgba [all...] |
lp_bld_printf.c | 43 static LLVMValueRef 46 LLVMValueRef* args) 50 LLVMValueRef func_printf; 77 LLVMValueRef 80 LLVMValueRef value) 85 LLVMValueRef params[2 + LP_MAX_VECTOR_LENGTH]; 174 LLVMValueRef 178 LLVMValueRef params[50]; 188 params[i] = va_arg(arglist, LLVMValueRef);
|
lp_bld_tgsi_soa.c | 97 LLVMValueRef tmp; 123 LLVMValueRef val) 143 LLVMValueRef prev_mask; 144 LLVMValueRef inv_mask; 202 LLVMValueRef exec_mask = LLVMBuildNot(builder, 216 LLVMValueRef exec_mask = LLVMBuildNot(builder, 237 LLVMValueRef i1cond, i2cond, icond, limiter; 306 LLVMValueRef pred, 307 LLVMValueRef val, 308 LLVMValueRef dst [all...] |
lp_bld_format_aos_array.c | 48 LLVMValueRef 52 LLVMValueRef base_ptr, 53 LLVMValueRef offset) 58 LLVMValueRef ptr, res = NULL;
|
lp_bld_tgsi.c | 110 LLVMValueRef 126 LLVMValueRef 130 LLVMValueRef arg0) 138 LLVMValueRef 142 LLVMValueRef arg0, 143 LLVMValueRef arg1) 152 LLVMValueRef 156 LLVMValueRef arg0, 157 LLVMValueRef arg1, 158 LLVMValueRef arg2 [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm_sample.c | 63 LLVMValueRef context_ptr; 86 static LLVMValueRef 97 LLVMValueRef indices[4]; 98 LLVMValueRef ptr; 99 LLVMValueRef res; 135 static LLVMValueRef \ 175 const LLVMValueRef *coords, 177 LLVMValueRef lod_bias, /* optional */ 178 LLVMValueRef explicit_lod, /* optional */ 179 LLVMValueRef *texel [all...] |
draw_llvm.c | 430 LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], 431 const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS], 433 LLVMValueRef context_ptr, 439 LLVMValueRef consts_ptr = draw_jit_context_vs_constants(variant->gallivm, context_ptr); 462 LLVMValueRef out; 496 LLVMValueRef vbuffers_ptr, 497 LLVMValueRef *res, 499 LLVMValueRef vbuf, 500 LLVMValueRef index, 501 LLVMValueRef instance_id [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_tex_sample.c | 68 LLVMValueRef context_ptr; 91 static LLVMValueRef 102 LLVMValueRef indices[4]; 103 LLVMValueRef ptr; 104 LLVMValueRef res; 140 static LLVMValueRef \ 180 const LLVMValueRef *coords, 182 LLVMValueRef lod_bias, /* optional */ 183 LLVMValueRef explicit_lod, /* optional */ 184 LLVMValueRef *texel [all...] |
lp_bld_alpha.c | 54 LLVMValueRef alpha, 55 LLVMValueRef ref, 59 LLVMValueRef test;
|
lp_bld_blend_logicop.c | 43 LLVMValueRef 46 LLVMValueRef src, 47 LLVMValueRef dst) 50 LLVMValueRef res;
|
lp_bld_interp.c | 118 attrib_name(LLVMValueRef val, unsigned attrib, unsigned chan, const char *suffix) 129 LLVMValueRef *pixoffx, 130 LLVMValueRef *pixoffy) 136 LLVMValueRef nr, pixxf, pixyf; 161 LLVMValueRef a0_ptr, 162 LLVMValueRef dadx_ptr, 163 LLVMValueRef dady_ptr) 184 LLVMValueRef index = lp_build_const_int32(gallivm, 186 LLVMValueRef ptr; 187 LLVMValueRef dadxaos = setup_bld->zero [all...] |
lp_bld_depth.c | 95 static LLVMValueRef 98 LLVMValueRef stencilRef, 99 LLVMValueRef stencilVals) 104 LLVMValueRef res; 121 LLVMValueRef valuemask = lp_build_const_int_vec(bld->gallivm, type, stencil->valuemask); 139 static LLVMValueRef 142 LLVMValueRef stencilRefs[2], 143 LLVMValueRef stencilVals, 144 LLVMValueRef front_facing) 146 LLVMValueRef res [all...] |
lp_bld_blend_soa.c | 89 LLVMValueRef src[4]; 90 LLVMValueRef dst[4]; 91 LLVMValueRef con[4]; 93 LLVMValueRef inv_src[4]; 94 LLVMValueRef inv_dst[4]; 95 LLVMValueRef inv_con[4]; 97 LLVMValueRef src_alpha_saturate; 104 LLVMValueRef factor[2][2][4]; 110 LLVMValueRef term[2][4]; 118 static LLVMValueRef [all...] |
lp_state_fs.c | 114 static LLVMValueRef 118 LLVMValueRef mask_input) /* int32 */ 123 LLVMValueRef bits[16]; 124 LLVMValueRef mask; 222 LLVMValueRef context_ptr, 226 LLVMValueRef *pmask, 227 LLVMValueRef (*color)[4], 228 LLVMValueRef depth_ptr, 229 LLVMValueRef facing, 231 LLVMValueRef mask_input [all...] |
/external/llvm/include/llvm-c/ |
Types.h | 76 typedef struct LLVMOpaqueValue *LLVMValueRef;
|
ExecutionEngine.h | 119 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, 123 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, 127 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F); 135 LLVMValueRef *OutFn); 138 LLVMValueRef Fn); 144 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, 147 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
radeonsi_shader.c | 122 static LLVMValueRef build_indexed_load( 124 LLVMValueRef base_ptr, 125 LLVMValueRef offset) 127 LLVMValueRef computed_ptr = LLVMBuildGEP( 147 static LLVMValueRef use_sgpr( 152 LLVMValueRef sgpr_index; 154 LLVMValueRef ptr; 203 LLVMValueRef t_list_ptr; 204 LLVMValueRef t_offset; 205 LLVMValueRef t_list [all...] |
/external/llvm/bindings/go/llvm/ |
IRBindings.cpp | 24 void LLVMAddFunctionAttr2(LLVMValueRef Fn, uint64_t PA) { 35 uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn) { 41 void LLVMRemoveFunctionAttr2(LLVMValueRef Fn, uint64_t PA) { 52 LLVMMetadataRef LLVMConstantAsMetadata(LLVMValueRef C) { 83 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { 102 void LLVMSetSubprogram(LLVMValueRef Func, LLVMMetadataRef SP) {
|