Home
last modified time | relevance | path

Searched refs:ac_llvm_context (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/amd/llvm/
Dac_llvm_build.h67 struct ac_llvm_context { struct
149 void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler *compiler, argument
154 void ac_llvm_context_dispose(struct ac_llvm_context *ctx);
158 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type);
160 LLVMValueRef ac_llvm_extract_elem(struct ac_llvm_context *ac, LLVMValueRef value, int index);
164 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t);
165 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v);
166 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v);
167 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ctx, LLVMTypeRef t);
168 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v);
[all …]
Dac_llvm_build.c39 void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler *compiler, in ac_llvm_context_init()
117 void ac_llvm_context_dispose(struct ac_llvm_context *ctx) in ac_llvm_context_dispose()
134 LLVMValueRef ac_llvm_extract_elem(struct ac_llvm_context *ac, LLVMValueRef value, int index) in ac_llvm_extract_elem()
144 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type) in ac_get_elem_bits()
194 static LLVMTypeRef to_integer_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t) in to_integer_type_scalar()
210 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t) in ac_to_integer_type()
231 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_integer()
240 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v) in ac_to_integer_or_pointer()
248 static LLVMTypeRef to_float_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t) in to_float_type_scalar()
262 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ctx, LLVMTypeRef t) in ac_to_float_type()
[all …]
Dac_llvm_util.h22 struct ac_llvm_context;
63 void ac_enable_signed_zeros(struct ac_llvm_context *ctx);
64 void ac_disable_signed_zeros(struct ac_llvm_context *ctx);
68 void ac_llvm_set_target_features(LLVMValueRef F, struct ac_llvm_context *ctx, bool wgp_mode);
Dac_nir_to_llvm.h18 struct ac_llvm_context;
27 bool ac_nir_translate(struct ac_llvm_context *ac, struct ac_shader_abi *abi,
Dac_llvm_helper.cpp134 void ac_enable_signed_zeros(struct ac_llvm_context *ctx) in ac_enable_signed_zeros()
148 void ac_disable_signed_zeros(struct ac_llvm_context *ctx) in ac_disable_signed_zeros()
381 LLVMValueRef ac_build_atomic_rmw(struct ac_llvm_context *ctx, LLVMAtomicRMWBinOp op, in ac_build_atomic_rmw()
433 LLVMValueRef ac_build_atomic_cmp_xchg(struct ac_llvm_context *ctx, LLVMValueRef ptr, in ac_build_atomic_cmp_xchg()
Dac_nir_to_llvm.c23 struct ac_llvm_context ac;
105 static LLVMValueRef emit_int_cmp(struct ac_llvm_context *ctx, LLVMIntPredicate pred, in emit_int_cmp()
113 static LLVMValueRef emit_float_cmp(struct ac_llvm_context *ctx, LLVMRealPredicate pred, in emit_float_cmp()
121 static LLVMValueRef emit_intrin_1f_param(struct ac_llvm_context *ctx, const char *intrin, in emit_intrin_1f_param()
135 static LLVMValueRef emit_intrin_1f_param_scalar(struct ac_llvm_context *ctx, const char *intrin, in emit_intrin_1f_param_scalar()
162 static LLVMValueRef emit_intrin_2f_param(struct ac_llvm_context *ctx, const char *intrin, in emit_intrin_2f_param()
178 static LLVMValueRef emit_intrin_3f_param(struct ac_llvm_context *ctx, const char *intrin, in emit_intrin_3f_param()
195 static LLVMValueRef emit_bcsel(struct ac_llvm_context *ctx, LLVMValueRef src0, LLVMValueRef src1, in emit_bcsel()
213 static LLVMValueRef emit_iabs(struct ac_llvm_context *ctx, LLVMValueRef src0) in emit_iabs()
218 static LLVMValueRef emit_uint_carry(struct ac_llvm_context *ctx, const char *intrin, in emit_uint_carry()
[all …]
Dac_llvm_util.c149 void ac_llvm_set_target_features(LLVMValueRef F, struct ac_llvm_context *ctx, bool wgp_mode) in ac_llvm_set_target_features()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.h19 struct ac_llvm_context ac;
Dsi_shader_llvm_ps.c120 static LLVMValueRef pack_two_16bit(struct ac_llvm_context *ctx, LLVMValueRef args[2]) in pack_two_16bit()
191 LLVMValueRef (*packf)(struct ac_llvm_context * ctx, LLVMValueRef args[2]) = NULL; in si_llvm_init_ps_export_args()
192 LLVMValueRef (*packi)(struct ac_llvm_context * ctx, LLVMValueRef args[2], unsigned bits, in si_llvm_init_ps_export_args()
Dsi_shader_llvm.c56 struct ac_llvm_context *ac, struct util_debug_callback *debug, in si_compile_llvm()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c27 struct ac_llvm_context ac;
48 create_llvm_function(struct ac_llvm_context *ctx, LLVMModuleRef module, LLVMBuilderRef builder, in create_llvm_function()
/external/mesa3d/docs/relnotes/
D23.2.1.rst3489 - ac/llvm: use LLVM 0/1 constants from ac_llvm_context instead of LLVMConstInt
3509 - amd: add radeon_info* into ac_llvm_context and radv_nir_compiler_options
D20.2.0.rst3271 - ac/nir: use more types from ac_llvm_context