Home
last modified time | relevance | path

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

12

/external/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()
330 LLVMTypeKind k = LLVMGetTypeKind(t); in lp_dump_llvmtype()
334 LLVMTypeKind ke = LLVMGetTypeKind(te); in lp_dump_llvmtype()
346 LLVMTypeKind ke = LLVMGetTypeKind(te); in lp_dump_llvmtype()
Dlp_bld_printf.c61 if (LLVMGetTypeKind(type) == LLVMFloatTypeKind) in lp_build_print_args()
91 type_kind = LLVMGetTypeKind(type_ref); in lp_build_print_value()
97 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.c96 unsigned src_length = LLVMGetTypeKind(src_type) == LLVMVectorTypeKind ? in lp_build_half_to_float()
155 unsigned length = LLVMGetTypeKind(f32_vec_type) == LLVMVectorTypeKind in lp_build_float_to_half()
Dlp_bld_swizzle.c53 if (LLVMGetTypeKind(vec_type) != LLVMVectorTypeKind) { in lp_build_broadcast()
Dlp_bld_pack.c1038 if (LLVMGetTypeKind(type) != LLVMVectorTypeKind) { in lp_build_pad_vector()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c224 if (LLVMGetTypeKind(LLVMTypeOf(ret)) == LLVMVoidTypeKind) in si_llvm_build_ret()
313 if (LLVMGetTypeKind(LLVMTypeOf(value)) == LLVMFloatTypeKind) in unpack_llvm_param()
514 if (LLVMGetTypeKind(type) == LLVMPointerTypeKind) { in si_build_wrapper_function()
517 if (LLVMGetTypeKind(type) == LLVMVectorTypeKind) { in si_build_wrapper_function()
547 switch (LLVMGetTypeKind(return_type)) { in si_build_wrapper_function()
578 if (LLVMGetTypeKind(param_type) == LLVMPointerTypeKind) { in si_build_wrapper_function()
589 if (LLVMGetTypeKind(param_type) == LLVMPointerTypeKind) { in si_build_wrapper_function()
659 if (LLVMGetTypeKind(param_type) == LLVMPointerTypeKind) { in si_build_wrapper_function()
700 if (LLVMGetTypeKind(ret_type) != LLVMVoidTypeKind) { in si_build_wrapper_function()
701 assert(LLVMGetTypeKind(ret_type) == LLVMStructTypeKind); in si_build_wrapper_function()
[all …]
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c140 LLVMGetTypeKind(type) == LLVMVectorTypeKind ? LLVMGetVectorSize(type) : 1; in ac_get_llvm_num_components()
146 if (LLVMGetTypeKind(LLVMTypeOf(value)) != LLVMVectorTypeKind) { in ac_llvm_extract_elem()
156 if (LLVMGetTypeKind(type) == LLVMVectorTypeKind) in ac_get_elem_bits()
159 if (LLVMGetTypeKind(type) == LLVMIntegerTypeKind) in ac_get_elem_bits()
162 if (LLVMGetTypeKind(type) == LLVMPointerTypeKind) { in ac_get_elem_bits()
179 LLVMTypeKind kind = LLVMGetTypeKind(type); in ac_get_type_size()
222 if (LLVMGetTypeKind(t) == LLVMVectorTypeKind) { in ac_to_integer_type()
226 if (LLVMGetTypeKind(t) == LLVMPointerTypeKind) { in ac_to_integer_type()
243 if (LLVMGetTypeKind(type) == LLVMPointerTypeKind) { in ac_to_integer()
252 if (LLVMGetTypeKind(type) == LLVMPointerTypeKind) in ac_to_integer_or_pointer()
[all …]
Dac_nir_to_llvm.c141 if (LLVMGetTypeKind(src0_type) == LLVMPointerTypeKind && in emit_int_cmp()
142 LLVMGetTypeKind(src1_type) != LLVMPointerTypeKind) { in emit_int_cmp()
144 } else if (LLVMGetTypeKind(src1_type) == LLVMPointerTypeKind && in emit_int_cmp()
145 LLVMGetTypeKind(src0_type) != LLVMPointerTypeKind) { in emit_int_cmp()
177 if (LLVMGetTypeKind(result_type) != LLVMVectorTypeKind) in emit_intrin_1f_param_scalar()
240 if (LLVMGetTypeKind(src1_type) == LLVMPointerTypeKind && in emit_bcsel()
241 LLVMGetTypeKind(src2_type) != LLVMPointerTypeKind) { in emit_bcsel()
243 } else if (LLVMGetTypeKind(src2_type) == LLVMPointerTypeKind && in emit_bcsel()
244 LLVMGetTypeKind(src1_type) != LLVMPointerTypeKind) { in emit_bcsel()
279 if (LLVMGetTypeKind(LLVMTypeOf(src0)) == LLVMVectorTypeKind) { in emit_b2f()
[all …]
/external/llvm/docs/
DExtendingLLVM.rst254 ``LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty)`` for the new type
300 `LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty)` for the new type
/external/llvm-project/llvm/docs/
DExtendingLLVM.rst256 ``LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty)`` for the new type
297 `LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty)` for the new type
/external/llvm/tools/llvm-c-test/
Decho.cpp69 LLVMTypeKind Kind = LLVMGetTypeKind(Src); in Clone()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1970 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in draw_llvm_generate()
2772 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in draw_gs_llvm_generate()
3353 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) { in draw_tcs_llvm_generate()
3910 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in draw_tes_llvm_generate()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c626 if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) in set_noalias()
Dlp_state_cs.c137 if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) { in generate_compute()
/external/llvm-project/llvm/tools/llvm-c-test/
Decho.cpp69 LLVMTypeKind Kind = LLVMGetTypeKind(Src); in Clone()
/external/llvm/include/llvm-c/
DCore.h804 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty);
/external/llvm-project/llvm/include/llvm-c/
DCore.h1091 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h1085 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty);
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c326 return Val_int(LLVMGetTypeKind(Ty)); in llvm_classify_type()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c262 return Val_int(LLVMGetTypeKind(Ty)); in llvm_classify_type()

12