Home
last modified time | relevance | path

Searched refs:LLVMValueRef (Results 1 – 25 of 131) sorted by relevance

123456

/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.h71 LLVMValueRef main_function;
98 LLVMValueRef i8_0;
99 LLVMValueRef i8_1;
100 LLVMValueRef i16_0;
101 LLVMValueRef i16_1;
102 LLVMValueRef i32_0;
103 LLVMValueRef i32_1;
104 LLVMValueRef i64_0;
105 LLVMValueRef i64_1;
106 LLVMValueRef i128_0;
[all …]
Dac_llvm_build.c140 int ac_get_llvm_num_components(LLVMValueRef value) in ac_get_llvm_num_components()
148 LLVMValueRef ac_llvm_extract_elem(struct ac_llvm_context *ac, LLVMValueRef value, int index) in ac_llvm_extract_elem()
244 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_integer()
253 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_integer_or_pointer()
284 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_float()
290 LLVMValueRef ac_build_intrinsic(struct ac_llvm_context *ctx, const char *name, in ac_build_intrinsic()
291 LLVMTypeRef return_type, LLVMValueRef *params, unsigned param_count, in ac_build_intrinsic()
294 LLVMValueRef call; in ac_build_intrinsic()
305 LLVMValueRef function = LLVMGetNamedFunction(ctx->module, name); in ac_build_intrinsic()
386 LLVMValueRef ac_build_phi(struct ac_llvm_context *ctx, LLVMTypeRef type, unsigned count_incoming, in ac_build_phi()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.h52 LLVMValueRef
54 LLVMValueRef a);
56 LLVMValueRef
58 LLVMValueRef a,
59 LLVMValueRef b);
61 LLVMValueRef
63 LLVMValueRef a);
65 LLVMValueRef
67 LLVMValueRef vectors[],
70 LLVMValueRef
[all …]
Dlp_bld_sample.h63 LLVMValueRef ddx[3];
64 LLVMValueRef ddy[3];
110 LLVMValueRef texture_index_offset;
112 LLVMValueRef context_ptr;
113 LLVMValueRef thread_data_ptr;
114 const LLVMValueRef *coords;
115 const LLVMValueRef *offsets;
116 LLVMValueRef ms_index;
117 LLVMValueRef lod;
118 LLVMValueRef aniso_filter_table;
[all …]
Dlp_bld_tgsi.h166 LLVMValueRef instance_id;
167 LLVMValueRef base_instance;
168 LLVMValueRef vertex_id;
169 LLVMValueRef vertex_id_nobase;
170 LLVMValueRef prim_id;
171 LLVMValueRef basevertex;
172 LLVMValueRef firstvertex;
173 LLVMValueRef invocation_id;
174 LLVMValueRef draw_id;
175 LLVMValueRef thread_id;
[all …]
Dlp_bld_nir.h41 LLVMValueRef (*outputs)[4]);
47 LLVMValueRef consts_ptr,
48 const LLVMValueRef *inputs,
49 LLVMValueRef *outputs,
67 LLVMValueRef *ssa_defs;
74 LLVMValueRef aniso_filter_table;
82LLVMValueRef index, LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
89 LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
95 LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]);
101 LLVMValueRef addr, LLVMValueRef dst);
[all …]
Dlp_bld_format.h95 LLVMValueRef
98 LLVMValueRef unswizzled);
100 LLVMValueRef
103 LLVMValueRef rgba);
105 LLVMValueRef
110 LLVMValueRef base_ptr,
111 LLVMValueRef offset,
112 LLVMValueRef i,
113 LLVMValueRef j,
114 LLVMValueRef cache);
[all …]
Dlp_bld_bitarit.h47 LLVMValueRef
48 lp_build_or(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b);
50 LLVMValueRef
51 lp_build_xor(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b);
53 LLVMValueRef
54 lp_build_and(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b);
56 LLVMValueRef
57 lp_build_andnot(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b);
59 LLVMValueRef
60 lp_build_shl(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b);
[all …]
Dlp_bld_pack.h47 LLVMValueRef
50 LLVMValueRef a,
51 LLVMValueRef b,
54 LLVMValueRef
57 LLVMValueRef a,
58 LLVMValueRef b,
61 LLVMValueRef
64 LLVMValueRef a,
71 LLVMValueRef src,
72 LLVMValueRef *dst_lo,
[all …]
Dlp_bld_struct.c45 LLVMValueRef
47 LLVMValueRef ptr, in lp_build_struct_get_ptr()
51 LLVMValueRef indices[2]; in lp_build_struct_get_ptr()
52 LLVMValueRef member_ptr; in lp_build_struct_get_ptr()
63 LLVMValueRef
65 LLVMValueRef ptr, in lp_build_struct_get()
69 LLVMValueRef member_ptr; in lp_build_struct_get()
70 LLVMValueRef res; in lp_build_struct_get()
79 LLVMValueRef
82 LLVMValueRef ptr, in lp_build_struct_get_ptr2()
[all …]
Dlp_bld_sample.c243 static LLVMValueRef
246 LLVMValueRef s, in lp_build_pmin()
247 LLVMValueRef t, in lp_build_pmin()
248 LLVMValueRef max_aniso) in lp_build_pmin()
257 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_pmin()
258 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_pmin()
259 LLVMValueRef ddx_ddy = lp_build_packed_ddx_ddy_twocoord(coord_bld, s, t); in lp_build_pmin()
260 LLVMValueRef int_size, float_size; in lp_build_pmin()
261 LLVMValueRef first_level, first_level_vec; in lp_build_pmin()
283 LLVMValueRef ddx_ddys, ddx_ddyt, floatdim, shuffles[LP_MAX_VECTOR_LENGTH / 4]; in lp_build_pmin()
[all …]
Dlp_bld_struct.h59 LLVMValueRef
61 LLVMValueRef ptr,
68 LLVMValueRef
70 LLVMValueRef ptr,
78 LLVMValueRef
81 LLVMValueRef ptr,
89 LLVMValueRef
92 LLVMValueRef ptr,
99 LLVMValueRef
101 LLVMValueRef ptr,
[all …]
Dlp_bld_format_yuv.c57 LLVMValueRef packed, in uyvy_to_yuv_soa()
58 LLVMValueRef i, in uyvy_to_yuv_soa()
59 LLVMValueRef *y, in uyvy_to_yuv_soa()
60 LLVMValueRef *u, in uyvy_to_yuv_soa()
61 LLVMValueRef *v) in uyvy_to_yuv_soa()
65 LLVMValueRef mask; in uyvy_to_yuv_soa()
94 LLVMValueRef sel, tmp, tmp2; in uyvy_to_yuv_soa()
106 LLVMValueRef shift; in uyvy_to_yuv_soa()
141 LLVMValueRef packed, in yuyv_to_yuv_soa()
142 LLVMValueRef i, in yuyv_to_yuv_soa()
[all …]
Dlp_bld_arit.c91 static LLVMValueRef
93 LLVMValueRef a, in lp_build_min_simple()
94 LLVMValueRef b, in lp_build_min_simple()
100 LLVMValueRef cond; in lp_build_min_simple()
178 LLVMValueRef isnan, min; in lp_build_min_simple()
194 LLVMValueRef isnan = lp_build_isnan(bld, a); in lp_build_min_simple()
222 LLVMValueRef
224 LLVMValueRef a, in lp_build_fmuladd()
225 LLVMValueRef b, in lp_build_fmuladd()
226 LLVMValueRef c) in lp_build_fmuladd()
[all …]
Dlp_bld_swizzle.h51 LLVMValueRef
54 LLVMValueRef scalar);
57 LLVMValueRef
59 LLVMValueRef scalar);
62 LLVMValueRef
66 LLVMValueRef vector,
67 LLVMValueRef index);
74 LLVMValueRef
76 LLVMValueRef a,
86 LLVMValueRef
[all …]
Dlp_bld_coro.h35 LLVMValueRef lp_build_coro_id(struct gallivm_state *gallivm);
37 LLVMValueRef lp_build_coro_size(struct gallivm_state *gallivm);
39 LLVMValueRef lp_build_coro_begin(struct gallivm_state *gallivm,
40 LLVMValueRef coro_id, LLVMValueRef mem_ptr);
42 LLVMValueRef lp_build_coro_free(struct gallivm_state *gallivm,
43 LLVMValueRef coro_id, LLVMValueRef coro_hdl);
46 LLVMValueRef coro_hdl);
48 void lp_build_coro_resume(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
50 void lp_build_coro_destroy(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
52 LLVMValueRef lp_build_coro_done(struct gallivm_state *gallivm, LLVMValueRef coro_hdl);
[all …]
Dlp_bld_coro.c43 LLVMValueRef lp_build_coro_id(struct gallivm_state *gallivm) in lp_build_coro_id()
45 LLVMValueRef coro_id_args[4]; in lp_build_coro_id()
50 LLVMValueRef coro_id = lp_build_intrinsic(gallivm->builder, in lp_build_coro_id()
57 LLVMValueRef lp_build_coro_size(struct gallivm_state *gallivm) in lp_build_coro_size()
65 LLVMValueRef lp_build_coro_begin(struct gallivm_state *gallivm, in lp_build_coro_begin()
66 LLVMValueRef coro_id, LLVMValueRef mem_ptr) in lp_build_coro_begin()
68 LLVMValueRef coro_begin_args[2]; in lp_build_coro_begin()
71 LLVMValueRef coro_hdl = lp_build_intrinsic(gallivm->builder, in lp_build_coro_begin()
78 LLVMValueRef lp_build_coro_free(struct gallivm_state *gallivm, in lp_build_coro_free()
79 LLVMValueRef coro_id, LLVMValueRef coro_hdl) in lp_build_coro_free()
[all …]
Dlp_bld_sample_aos.c80 LLVMValueRef coord, in lp_build_sample_wrap_nearest_int()
81 LLVMValueRef coord_f, in lp_build_sample_wrap_nearest_int()
82 LLVMValueRef length, in lp_build_sample_wrap_nearest_int()
83 LLVMValueRef stride, in lp_build_sample_wrap_nearest_int()
84 LLVMValueRef offset, in lp_build_sample_wrap_nearest_int()
87 LLVMValueRef *out_offset, in lp_build_sample_wrap_nearest_int()
88 LLVMValueRef *out_i) in lp_build_sample_wrap_nearest_int()
92 LLVMValueRef length_minus_one; in lp_build_sample_wrap_nearest_int()
102 LLVMValueRef length_f = lp_build_int_to_float(coord_bld, length); in lp_build_sample_wrap_nearest_int()
140 LLVMValueRef coord_f, in lp_build_coord_repeat_npot_linear_int()
[all …]
Dlp_bld_bitarit.c40 LLVMValueRef
41 lp_build_or(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) in lp_build_or()
45 LLVMValueRef res; in lp_build_or()
66 LLVMValueRef
67 lp_build_xor(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) in lp_build_xor()
71 LLVMValueRef res; in lp_build_xor()
94 LLVMValueRef
95 lp_build_and(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) in lp_build_and()
99 LLVMValueRef res; in lp_build_and()
123 LLVMValueRef
[all …]
Dlp_bld_logic.h52 LLVMValueRef
56 LLVMValueRef a,
57 LLVMValueRef b);
63 LLVMValueRef
66 LLVMValueRef a,
67 LLVMValueRef b);
69 LLVMValueRef
72 LLVMValueRef a,
73 LLVMValueRef b);
75 LLVMValueRef
[all …]
Dlp_bld_flow.h65 LLVMValueRef cond);
78 LLVMValueRef var;
86 LLVMValueRef value);
88 LLVMValueRef
96 LLVMValueRef value);
100 LLVMValueRef value);
105 LLVMValueRef
119 LLVMValueRef counter_var;
120 LLVMValueRef counter;
129 LLVMValueRef start);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h854 LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty,
948 LLVMValueRef *Dest);
957 LLVMValueRef Val);
967 const char *LLVMGetDebugLocDirectory(LLVMValueRef Val, unsigned *Length);
977 const char *LLVMGetDebugLocFilename(LLVMValueRef Val, unsigned *Length);
987 unsigned LLVMGetDebugLocLine(LLVMValueRef Val);
995 unsigned LLVMGetDebugLocColumn(LLVMValueRef Val);
1002 LLVMValueRef LLVMAddFunction(LLVMModuleRef M, const char *Name,
1012 LLVMValueRef LLVMGetNamedFunction(LLVMModuleRef M, const char *Name);
1019 LLVMValueRef LLVMGetFirstFunction(LLVMModuleRef M);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp446 LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, in LLVMGetInlineAsm()
804 LLVMTypeRef LLVMTypeOf(LLVMValueRef Val) { in LLVMTypeOf()
808 LLVMValueKind LLVMGetValueKind(LLVMValueRef Val) { in LLVMGetValueKind()
819 const char *LLVMGetValueName2(LLVMValueRef Val, size_t *Length) { in LLVMGetValueName2()
825 void LLVMSetValueName2(LLVMValueRef Val, const char *Name, size_t NameLen) { in LLVMSetValueName2()
829 const char *LLVMGetValueName(LLVMValueRef Val) { in LLVMGetValueName()
833 void LLVMSetValueName(LLVMValueRef Val, const char *Name) { in LLVMSetValueName()
837 void LLVMDumpValue(LLVMValueRef Val) { in LLVMDumpValue()
841 char* LLVMPrintValueToString(LLVMValueRef Val) { in LLVMPrintValueToString()
855 void LLVMReplaceAllUsesWith(LLVMValueRef OldVal, LLVMValueRef NewVal) { in LLVMReplaceAllUsesWith()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.h92 LLVMValueRef num_loop;
93 LLVMValueRef sample_pos_array;
95 LLVMValueRef x;
96 LLVMValueRef y;
98 LLVMValueRef a0_ptr;
99 LLVMValueRef dadx_ptr;
100 LLVMValueRef dady_ptr;
102 LLVMValueRef a0aos[1 + PIPE_MAX_SHADER_INPUTS];
103 LLVMValueRef dadxaos[1 + PIPE_MAX_SHADER_INPUTS];
104 LLVMValueRef dadyaos[1 + PIPE_MAX_SHADER_INPUTS];
[all …]
Dlp_bld_depth.h63 LLVMValueRef *cov_mask,
64 LLVMValueRef stencil_refs[2],
65 LLVMValueRef z_src,
66 LLVMValueRef z_fb,
67 LLVMValueRef s_fb,
68 LLVMValueRef face,
69 LLVMValueRef *z_value,
70 LLVMValueRef *s_value,
79 LLVMValueRef depth_ptr,
80 LLVMValueRef depth_stride,
[all …]

123456