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

/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_llvm_build.h54 struct ac_llvm_context { struct
112 ac_llvm_context_init(struct ac_llvm_context *ctx,
116 ac_llvm_context_dispose(struct ac_llvm_context *ctx);
122 ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type);
125 ac_llvm_extract_elem(struct ac_llvm_context *ac,
131 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t);
132 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v);
133 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v);
134 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ctx, LLVMTypeRef t);
135 LLVMValueRef ac_to_float(struct ac_llvm_context *ct
[all...]
H A Dac_nir_to_llvm.h35 struct ac_llvm_context;
52 void ac_nir_translate(struct ac_llvm_context *ac, struct ac_shader_abi *abi,
56 ac_handle_shader_output_decl(struct ac_llvm_context *ctx,
62 void ac_emit_barrier(struct ac_llvm_context *ac, gl_shader_stage stage);
H A Dac_shader_util.h44 ac_export_mrt_z(struct ac_llvm_context *ctx, LLVMValueRef depth,
H A Dac_llvm_build.c60 ac_llvm_context_init(struct ac_llvm_context *ctx,
126 ac_llvm_context_dispose(struct ac_llvm_context *ctx)
144 ac_llvm_extract_elem(struct ac_llvm_context *ac,
158 ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type)
206 static LLVMTypeRef to_integer_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t)
221 ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t)
242 ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v)
252 ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v)
260 static LLVMTypeRef to_float_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t)
275 ac_to_float_type(struct ac_llvm_context *ct
[all...]
H A Dac_shader_util.c113 ac_export_mrt_z(struct ac_llvm_context *ctx, LLVMValueRef depth,
H A Dac_llvm_helper.cpp179 LLVMValueRef ac_build_atomic_rmw(struct ac_llvm_context *ctx, LLVMAtomicRMWBinOp op,
230 LLVMValueRef ac_build_atomic_cmp_xchg(struct ac_llvm_context *ctx, LLVMValueRef ptr,
H A Dac_nir_to_llvm.c37 struct ac_llvm_context ac;
64 build_store_values_extended(struct ac_llvm_context *ac,
82 get_ac_sampler_dim(const struct ac_llvm_context *ctx, enum glsl_sampler_dim dim,
110 get_ac_image_dim(const struct ac_llvm_context *ctx, enum glsl_sampler_dim sdim,
195 static LLVMValueRef emit_int_cmp(struct ac_llvm_context *ctx,
205 static LLVMValueRef emit_float_cmp(struct ac_llvm_context *ctx,
218 static LLVMValueRef emit_intrin_1f_param(struct ac_llvm_context *ctx,
234 static LLVMValueRef emit_intrin_2f_param(struct ac_llvm_context *ctx,
251 static LLVMValueRef emit_intrin_3f_param(struct ac_llvm_context *ctx,
269 static LLVMValueRef emit_bcsel(struct ac_llvm_context *ct
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_build.h65 struct ac_llvm_context { struct
123 /* Since ac_nir_translate makes a local copy of ac_llvm_context, there
146 void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler *compiler,
152 void ac_llvm_context_dispose(struct ac_llvm_context *ctx);
156 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type);
158 LLVMValueRef ac_llvm_extract_elem(struct ac_llvm_context *ac, LLVMValueRef value, int index);
162 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t);
163 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v);
164 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v);
165 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ct
[all...]
H A Dac_nir_to_llvm.h36 struct ac_llvm_context;
52 void ac_nir_translate(struct ac_llvm_context *ac, struct ac_shader_abi *abi,
55 void ac_handle_shader_output_decl(struct ac_llvm_context *ctx, struct ac_shader_abi *abi,
59 void ac_emit_barrier(struct ac_llvm_context *ac, gl_shader_stage stage);
H A Dac_llvm_cull.h54 typedef void (*ac_cull_accept_func)(struct ac_llvm_context *ctx, LLVMValueRef accepted,
57 void ac_cull_primitive(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4],
H A Dac_llvm_util.h41 struct ac_llvm_context;
107 void ac_enable_signed_zeros(struct ac_llvm_context *ctx);
108 void ac_disable_signed_zeros(struct ac_llvm_context *ctx);
112 void ac_llvm_set_target_features(LLVMValueRef F, struct ac_llvm_context *ctx);
H A Dac_llvm_build.c58 void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler *compiler,
130 void ac_llvm_context_dispose(struct ac_llvm_context *ctx)
145 LLVMValueRef ac_llvm_extract_elem(struct ac_llvm_context *ac, LLVMValueRef value, int index)
155 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type)
205 static LLVMTypeRef to_integer_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t)
221 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t)
241 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v)
250 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v)
258 static LLVMTypeRef to_float_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t)
272 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ct
[all...]
H A Dac_llvm_cull.c54 static void ac_analyze_position_w(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4],
76 static LLVMValueRef ac_cull_face(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4],
117 static void cull_bbox(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4],
230 void ac_cull_primitive(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4],
H A Dac_llvm_helper.cpp115 void ac_enable_signed_zeros(struct ac_llvm_context *ctx)
129 void ac_disable_signed_zeros(struct ac_llvm_context *ctx)
264 LLVMValueRef ac_build_atomic_rmw(struct ac_llvm_context *ctx, LLVMAtomicRMWBinOp op,
318 LLVMValueRef ac_build_atomic_cmp_xchg(struct ac_llvm_context *ctx, LLVMValueRef ptr,
H A Dac_nir_to_llvm.c39 struct ac_llvm_context ac;
147 static LLVMValueRef emit_int_cmp(struct ac_llvm_context *ctx, LLVMIntPredicate pred,
155 static LLVMValueRef emit_float_cmp(struct ac_llvm_context *ctx, LLVMRealPredicate pred,
163 static LLVMValueRef emit_intrin_1f_param(struct ac_llvm_context *ctx, const char *intrin,
177 static LLVMValueRef emit_intrin_1f_param_scalar(struct ac_llvm_context *ctx, const char *intrin,
204 static LLVMValueRef emit_intrin_2f_param(struct ac_llvm_context *ctx, const char *intrin,
220 static LLVMValueRef emit_intrin_3f_param(struct ac_llvm_context *ctx, const char *intrin,
237 static LLVMValueRef emit_bcsel(struct ac_llvm_context *ctx, LLVMValueRef src0, LLVMValueRef src1,
255 static LLVMValueRef emit_iabs(struct ac_llvm_context *ctx, LLVMValueRef src0)
260 static LLVMValueRef emit_uint_carry(struct ac_llvm_context *ct
[all...]
H A Dac_llvm_util.c316 void ac_llvm_set_target_features(LLVMValueRef F, struct ac_llvm_context *ctx)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader_internal.h45 struct ac_llvm_context ac;
200 struct ac_llvm_context *ac, struct pipe_debug_callback *debug,
H A Dsi_shader_llvm_ps.c246 static LLVMValueRef pack_two_16bit(struct ac_llvm_context *ctx, LLVMValueRef args[2])
308 LLVMValueRef (*packf)(struct ac_llvm_context * ctx, LLVMValueRef args[2]) = NULL;
309 LLVMValueRef (*packi)(struct ac_llvm_context * ctx, LLVMValueRef args[2], unsigned bits,
H A Dsi_shader_llvm.c73 struct ac_llvm_context *ac, struct pipe_debug_callback *debug,
H A Dgfx10_shader_ngg.c790 static void gfx10_build_primitive_accepted(struct ac_llvm_context *ac, LLVMValueRef accepted,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader_internal.h51 struct ac_llvm_context ac;
H A Dsi_shader.c2487 LLVMValueRef (*packf)(struct ac_llvm_context *ctx, LLVMValueRef args[2]) = NULL;
2488 LLVMValueRef (*packi)(struct ac_llvm_context *ctx, LLVMValueRef args[2],
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_nir_to_llvm.c44 struct ac_llvm_context ac;
94 create_llvm_function(struct ac_llvm_context *ctx, LLVMModuleRef module, LLVMBuilderRef builder,
911 LLVMValueRef (*packf)(struct ac_llvm_context * ctx, LLVMValueRef args[2]) = NULL;
912 LLVMValueRef (*packi)(struct ac_llvm_context * ctx, LLVMValueRef args[2], unsigned bits,
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_nir_to_llvm.c50 struct ac_llvm_context ac;
2588 LLVMValueRef (*packf)(struct ac_llvm_context *ctx, LLVMValueRef args[2]) = NULL;
2589 LLVMValueRef (*packi)(struct ac_llvm_context *ctx, LLVMValueRef args[2],
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.2.0.rst3271 - ac/nir: use more types from ac_llvm_context

Completed in 98 milliseconds