Home
last modified time | relevance | path

Searched refs:LLVMGetTypeKind (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_struct.c53 assert(LLVMGetTypeKind(LLVMTypeOf(ptr)) == LLVMPointerTypeKind); in lp_build_struct_get_ptr()
54 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMStructTypeKind); in lp_build_struct_get_ptr()
71 assert(LLVMGetTypeKind(LLVMTypeOf(ptr)) == LLVMPointerTypeKind); in lp_build_struct_get()
72 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMStructTypeKind); in lp_build_struct_get()
87 assert(LLVMGetTypeKind(LLVMTypeOf(ptr)) == LLVMPointerTypeKind); in lp_build_array_get_ptr()
88 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMArrayTypeKind); in lp_build_array_get_ptr()
107 assert(LLVMGetTypeKind(LLVMTypeOf(ptr)) == LLVMPointerTypeKind); in lp_build_array_get()
108 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMArrayTypeKind); in lp_build_array_get()
125 assert(LLVMGetTypeKind(LLVMTypeOf(ptr)) == LLVMPointerTypeKind); in lp_build_array_set()
126 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMArrayTypeKind); in lp_build_array_set()
[all …]
Dlp_bld_type.c87 elem_kind = LLVMGetTypeKind(elem_type); in lp_check_elem_type()
132 if(LLVMGetTypeKind(vec_type) != LLVMVectorTypeKind) in lp_check_vec_type()
253 LLVMTypeKind k = LLVMGetTypeKind(t); in lp_sizeof_llvm_type()
334 LLVMTypeKind k = LLVMGetTypeKind(t); in lp_dump_llvmtype()
338 LLVMTypeKind ke = LLVMGetTypeKind(te); in lp_dump_llvmtype()
350 LLVMTypeKind ke = LLVMGetTypeKind(te); in lp_dump_llvmtype()
Dlp_bld_printf.c62 if (LLVMGetTypeKind(type) == LLVMFloatTypeKind) in lp_build_print_args()
92 type_kind = LLVMGetTypeKind(type_ref); in lp_build_print_value()
98 type_kind = LLVMGetTypeKind(type_ref); in lp_build_print_value()
Dlp_bld_format_float.c243 unsigned src_length = LLVMGetTypeKind(src_type) == LLVMVectorTypeKind ? in lp_build_float_to_r11g11b10()
409 unsigned src_length = LLVMGetTypeKind(src_type) == LLVMVectorTypeKind ? in lp_build_r11g11b10_to_float()
467 unsigned src_length = LLVMGetTypeKind(src_type) == LLVMVectorTypeKind ? in lp_build_rgb9e5_to_float()
Dlp_bld_arit_overflow.c76 type_kind = LLVMGetTypeKind(type_ref); in build_binary_int_overflow()
Dlp_bld_intr.c69 LLVMTypeKind kind = LLVMGetTypeKind(type); in lp_format_intrinsic()
73 kind = LLVMGetTypeKind(type); in lp_format_intrinsic()
Dlp_bld_ir_common.c211 assert(LLVMGetTypeKind(LLVMTypeOf(dst_ptr)) == LLVMPointerTypeKind); in lp_exec_mask_store()
213 LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(dst_ptr))) == LLVMArrayTypeKind); in lp_exec_mask_store()
Dlp_bld_conv.c104 unsigned src_length = LLVMGetTypeKind(src_type) == LLVMVectorTypeKind ? in lp_build_half_to_float()
165 unsigned length = LLVMGetTypeKind(f32_vec_type) == LLVMVectorTypeKind in lp_build_float_to_half()
Dlp_bld_swizzle.c54 if (LLVMGetTypeKind(vec_type) != LLVMVectorTypeKind) { in lp_build_broadcast()
Dlp_bld_pack.c1038 if (LLVMGetTypeKind(type) != LLVMVectorTypeKind) { in lp_build_pad_vector()
Dlp_bld_nir.c1248 if (mask == 0x1 && LLVMGetTypeKind(LLVMTypeOf(src)) == LLVMArrayTypeKind) { in visit_store_output()
Dlp_bld_format_s3tc.c2017 if (LLVMGetTypeKind(arg_types[arg]) == LLVMPointerTypeKind) in update_cached_block()
Dlp_bld_tgsi_soa.c468 if (LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(var_of_array))) == LLVMArrayTypeKind) { in get_file_ptr()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_linear_llvm.c328 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) { in llvmpipe_fs_variant_linear_llvm()
392 assert(LLVMGetTypeKind(LLVMTypeOf(elem)) == LLVMPointerTypeKind); in llvmpipe_fs_variant_linear_llvm()
396 assert(LLVMGetTypeKind(LLVMTypeOf(fetch_ptr)) == LLVMPointerTypeKind); in llvmpipe_fs_variant_linear_llvm()
401 assert(LLVMGetTypeKind(LLVMTypeOf(inputs_ptr)) == LLVMPointerTypeKind); in llvmpipe_fs_variant_linear_llvm()
433 assert(LLVMGetTypeKind(LLVMTypeOf(elem)) == LLVMPointerTypeKind); in llvmpipe_fs_variant_linear_llvm()
436 assert(LLVMGetTypeKind(LLVMTypeOf(fetch_ptr)) == LLVMPointerTypeKind); in llvmpipe_fs_variant_linear_llvm()
441 assert(LLVMGetTypeKind(LLVMTypeOf(texels_ptr)) == LLVMPointerTypeKind); in llvmpipe_fs_variant_linear_llvm()
Dlp_state_setup.c539 if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in set_noalias()
Dlp_state_cs.c140 if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) { in generate_compute()
Dlp_state_fs.c3107 if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in generate_fragment()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c279 if (LLVMGetTypeKind(LLVMTypeOf(ret)) == LLVMVoidTypeKind) in si_llvm_build_ret()
369 if (LLVMGetTypeKind(LLVMTypeOf(value)) == LLVMFloatTypeKind) in unpack_llvm_param()
577 if (LLVMGetTypeKind(type) == LLVMPointerTypeKind) { in si_build_wrapper_function()
580 if (LLVMGetTypeKind(type) == LLVMVectorTypeKind) { in si_build_wrapper_function()
610 switch (LLVMGetTypeKind(return_type)) { in si_build_wrapper_function()
641 if (LLVMGetTypeKind(param_type) == LLVMPointerTypeKind) { in si_build_wrapper_function()
652 if (LLVMGetTypeKind(param_type) == LLVMPointerTypeKind) { in si_build_wrapper_function()
730 if (LLVMGetTypeKind(param_type) == LLVMPointerTypeKind) { in si_build_wrapper_function()
784 if (LLVMGetTypeKind(ret_type) != LLVMVoidTypeKind) { in si_build_wrapper_function()
785 assert(LLVMGetTypeKind(ret_type) == LLVMStructTypeKind); in si_build_wrapper_function()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c313 if (LLVMGetTypeKind(type) == LLVMFunctionTypeKind) { in get_sym_value()
330 switch (LLVMGetTypeKind(dtype)) { in constant_value()
418 if (LLVMGetTypeKind(LLVMTypeOf(val)) == LLVMPointerTypeKind) { in value_to_ivalue()
434 switch (LLVMGetTypeKind(LLVMTypeOf(val))) { in value_to_pvalue()
636 switch (LLVMGetTypeKind(LLVMTypeOf(lhs))) { in output_op_compare()
645 if (LLVMGetTypeKind(LLVMTypeOf(rhs)) == LLVMPointerTypeKind) { in output_op_compare()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c141 LLVMGetTypeKind(type) == LLVMVectorTypeKind ? LLVMGetVectorSize(type) : 1; in ac_get_llvm_num_components()
147 if (LLVMGetTypeKind(LLVMTypeOf(value)) != LLVMVectorTypeKind) { in ac_llvm_extract_elem()
157 if (LLVMGetTypeKind(type) == LLVMVectorTypeKind) in ac_get_elem_bits()
160 if (LLVMGetTypeKind(type) == LLVMIntegerTypeKind) in ac_get_elem_bits()
163 if (LLVMGetTypeKind(type) == LLVMPointerTypeKind) { in ac_get_elem_bits()
180 LLVMTypeKind kind = LLVMGetTypeKind(type); in ac_get_type_size()
223 if (LLVMGetTypeKind(t) == LLVMVectorTypeKind) { in ac_to_integer_type()
227 if (LLVMGetTypeKind(t) == LLVMPointerTypeKind) { in ac_to_integer_type()
244 if (LLVMGetTypeKind(type) == LLVMPointerTypeKind) { in ac_to_integer()
253 if (LLVMGetTypeKind(type) == LLVMPointerTypeKind) in ac_to_integer_or_pointer()
[all …]
Dac_nir_to_llvm.c180 if (LLVMGetTypeKind(result_type) != LLVMVectorTypeKind) in emit_intrin_1f_param_scalar()
243 if (LLVMGetTypeKind(src1_type) == LLVMPointerTypeKind && in emit_bcsel()
244 LLVMGetTypeKind(src2_type) != LLVMPointerTypeKind) { in emit_bcsel()
246 } else if (LLVMGetTypeKind(src2_type) == LLVMPointerTypeKind && in emit_bcsel()
247 LLVMGetTypeKind(src1_type) != LLVMPointerTypeKind) { in emit_bcsel()
282 if (LLVMGetTypeKind(LLVMTypeOf(src0)) == LLVMVectorTypeKind) { in emit_b2f()
3403 if (LLVMGetTypeKind(dest_type) == LLVMVectorTypeKind) in visit_load()
3611 if (LLVMGetTypeKind(LLVMTypeOf(ids)) == LLVMIntegerTypeKind) { in visit_intrinsic()
5132 if (LLVMGetTypeKind(LLVMTypeOf(result)) == LLVMVectorTypeKind) { in visit_deref()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1998 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in draw_llvm_generate()
2811 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in draw_gs_llvm_generate()
3401 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) { in draw_tcs_llvm_generate()
3966 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in draw_tes_llvm_generate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h1085 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty);
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c654 if (LLVMGetTypeKind(LLVMTypeOf(value)) == LLVMVectorTypeKind) { in radv_fixup_vertex_input_fetches()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp477 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { in LLVMGetTypeKind() function

12