/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_llvm_build.h | 66 struct ac_llvm_context { struct 124 /* Since ac_nir_translate makes a local copy of ac_llvm_context, there 147 void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler *compiler, 153 void ac_llvm_context_dispose(struct ac_llvm_context *ctx); 157 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type); 159 LLVMValueRef ac_llvm_extract_elem(struct ac_llvm_context *ac, LLVMValueRef value, int index); 163 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t); 164 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v); 165 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v); 166 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ct [all...] |
H A D | ac_llvm_build.c | 58 void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler *compiler, in ac_llvm_context_init() 133 void ac_llvm_context_dispose(struct ac_llvm_context *ctx) in ac_llvm_context_dispose() 148 LLVMValueRef ac_llvm_extract_elem(struct ac_llvm_context *ac, LLVMValueRef value, int index) in ac_llvm_extract_elem() 158 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type) in ac_get_elem_bits() 208 static LLVMTypeRef to_integer_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t) in to_integer_type_scalar() 224 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t) in ac_to_integer_type() 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() 261 static LLVMTypeRef to_float_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t) in to_float_type_scalar() 275 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ct [all...] |
H A D | ac_nir_to_llvm.h | 36 struct ac_llvm_context; 50 void ac_nir_translate(struct ac_llvm_context *ac, struct ac_shader_abi *abi, 53 void ac_handle_shader_output_decl(struct ac_llvm_context *ctx, struct ac_shader_abi *abi,
|
H A D | ac_llvm_util.h | 41 struct ac_llvm_context; 105 void ac_enable_signed_zeros(struct ac_llvm_context *ctx); 106 void ac_disable_signed_zeros(struct ac_llvm_context *ctx); 110 void ac_llvm_set_target_features(LLVMValueRef F, struct ac_llvm_context *ctx);
|
H A D | ac_llvm_cull.h | 54 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 D | ac_llvm_cull.c | 54 static void ac_analyze_position_w(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4], in ac_analyze_position_w() 76 static LLVMValueRef ac_cull_face(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4], in ac_cull_face() 123 static void rotate_45degrees(struct ac_llvm_context *ctx, LLVMValueRef v[2]) in rotate_45degrees() 144 static void cull_bbox(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4], in cull_bbox() 337 void ac_cull_primitive(struct ac_llvm_context *ctx, LLVMValueRef pos[3][4], in ac_cull_primitive()
|
H A D | ac_llvm_helper.cpp | 118 void ac_enable_signed_zeros(struct ac_llvm_context *ctx) in ac_enable_signed_zeros() 132 void ac_disable_signed_zeros(struct ac_llvm_context *ctx) in ac_disable_signed_zeros() 262 LLVMValueRef ac_build_atomic_rmw(struct ac_llvm_context *ctx, LLVMAtomicRMWBinOp op, in ac_build_atomic_rmw() 316 LLVMValueRef ac_build_atomic_cmp_xchg(struct ac_llvm_context *ctx, LLVMValueRef ptr, in ac_build_atomic_cmp_xchg()
|
H A D | ac_nir_to_llvm.c | 39 struct ac_llvm_context ac; 150 static LLVMValueRef emit_int_cmp(struct ac_llvm_context *ctx, LLVMIntPredicate pred, in emit_int_cmp() 158 static LLVMValueRef emit_float_cmp(struct ac_llvm_context *ctx, LLVMRealPredicate pred, in emit_float_cmp() 166 static LLVMValueRef emit_intrin_1f_param(struct ac_llvm_context *ctx, const char *intrin, in emit_intrin_1f_param() 180 static LLVMValueRef emit_intrin_1f_param_scalar(struct ac_llvm_context *ctx, const char *intrin, in emit_intrin_1f_param_scalar() 207 static LLVMValueRef emit_intrin_2f_param(struct ac_llvm_context *ctx, const char *intrin, in emit_intrin_2f_param() 223 static LLVMValueRef emit_intrin_3f_param(struct ac_llvm_context *ctx, const char *intrin, in emit_intrin_3f_param() 240 static LLVMValueRef emit_bcsel(struct ac_llvm_context *ctx, LLVMValueRef src0, LLVMValueRef src1, in emit_bcsel() 258 static LLVMValueRef emit_iabs(struct ac_llvm_context *ctx, LLVMValueRef src0) in emit_iabs() 263 static LLVMValueRef emit_uint_carry(struct ac_llvm_context *ct [all...] |
H A D | ac_llvm_util.c | 327 void ac_llvm_set_target_features(LLVMValueRef F, struct ac_llvm_context *ctx) in ac_llvm_set_target_features()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shader_internal.h | 40 struct ac_llvm_context ac; 197 struct ac_llvm_context *ac, struct util_debug_callback *debug,
|
H A D | si_shader_llvm_ps.c | 225 static LLVMValueRef pack_two_16bit(struct ac_llvm_context *ctx, LLVMValueRef args[2]) in pack_two_16bit() 296 LLVMValueRef (*packf)(struct ac_llvm_context * ctx, LLVMValueRef args[2]) = NULL; in si_llvm_init_ps_export_args() 297 LLVMValueRef (*packi)(struct ac_llvm_context * ctx, LLVMValueRef args[2], unsigned bits, in si_llvm_init_ps_export_args()
|
H A D | si_shader_llvm.c | 73 struct ac_llvm_context *ac, struct util_debug_callback *debug, in si_compile_llvm()
|
H A D | gfx10_shader_ngg.c | 881 static void gfx10_build_primitive_accepted(struct ac_llvm_context *ac, LLVMValueRef accepted, in gfx10_build_primitive_accepted()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_nir_to_llvm.c | 44 struct ac_llvm_context ac; 87 create_llvm_function(struct ac_llvm_context *ctx, LLVMModuleRef module, LLVMBuilderRef builder, in create_llvm_function() 604 LLVMValueRef (*packf)(struct ac_llvm_context * ctx, LLVMValueRef args[2]) = NULL; in si_llvm_init_export_args() 605 LLVMValueRef (*packi)(struct ac_llvm_context * ctx, LLVMValueRef args[2], unsigned bits, in si_llvm_init_export_args()
|