Home
last modified time | relevance | path

Searched refs:LLVMTypeRef (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h854 LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty,
870 LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name);
1003 LLVMTypeRef FunctionTy);
1085 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty);
1094 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty);
1101 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty);
1108 void LLVMDumpType(LLVMTypeRef Val);
1116 char *LLVMPrintTypeToString(LLVMTypeRef Val);
1129 LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C);
1130 LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C);
[all …]
DTarget.h230 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD);
235 LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS);
239 LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD);
244 LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD,
249 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty);
253 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
257 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
261 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
265 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
269 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLJIT.h142 void addBuiltinFunction(const char* ourName, const char* realName, LLVMTypeRef returnType,
143 std::vector<LLVMTypeRef> parameters);
149 LLVMTypeRef getType(const Type& type);
307 LLVMTypeRef fVoidType;
308 LLVMTypeRef fInt1Type;
309 LLVMTypeRef fInt1VectorType;
310 LLVMTypeRef fInt1Vector2Type;
311 LLVMTypeRef fInt1Vector3Type;
312 LLVMTypeRef fInt1Vector4Type;
313 LLVMTypeRef fInt8Type;
[all …]
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.h72 LLVMTypeRef voidt;
73 LLVMTypeRef i1;
74 LLVMTypeRef i8;
75 LLVMTypeRef i16;
76 LLVMTypeRef i32;
77 LLVMTypeRef i64;
78 LLVMTypeRef i128;
79 LLVMTypeRef intptr;
80 LLVMTypeRef f16;
81 LLVMTypeRef f32;
[all …]
Dac_llvm_build.c139 LLVMTypeRef type = LLVMTypeOf(value); in ac_get_llvm_num_components()
155 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type) in ac_get_elem_bits()
178 unsigned ac_get_type_size(LLVMTypeRef type) in ac_get_type_size()
205 static LLVMTypeRef to_integer_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t) in to_integer_type_scalar()
221 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t) in ac_to_integer_type()
224 LLVMTypeRef elem_type = LLVMGetElementType(t); in ac_to_integer_type()
243 LLVMTypeRef type = LLVMTypeOf(v); in ac_to_integer()
252 LLVMTypeRef type = LLVMTypeOf(v); in ac_to_integer_or_pointer()
258 static LLVMTypeRef to_float_type_scalar(struct ac_llvm_context *ctx, LLVMTypeRef t) in to_float_type_scalar()
272 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ctx, LLVMTypeRef t) in ac_to_float_type()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.h72 LLVMTypeRef type);
77 LLVMTypeRef ret_type,
78 LLVMTypeRef *arg_types,
88 LLVMTypeRef ret_type,
97 LLVMTypeRef ret_type,
104 LLVMTypeRef ret_type,
121 LLVMTypeRef ret_type,
129 LLVMTypeRef ret_type,
136 LLVMTypeRef ret_type,
Dlp_bld_type.c36 LLVMTypeRef
61 LLVMTypeRef
64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_vec_type()
79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type()
121 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type) in lp_check_vec_type()
123 LLVMTypeRef elem_type; in lp_check_vec_type()
147 LLVMTypeRef vec_type; in lp_check_value()
159 LLVMTypeRef
166 LLVMTypeRef
169 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); in lp_build_int_vec_type()
[all …]
Dlp_bld_type.h151 LLVMTypeRef elem_type;
154 LLVMTypeRef vec_type;
157 LLVMTypeRef int_elem_type;
160 LLVMTypeRef int_vec_type;
343 LLVMTypeRef
347 LLVMTypeRef
352 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
356 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type);
363 LLVMTypeRef
367 LLVMTypeRef
[all …]
Dlp_bld_gather.c90 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); in lp_build_gather_elem()
91 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem()
92 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); in lp_build_gather_elem()
167 LLVMTypeRef src_type, in lp_build_gather_elem_vec()
176 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem_vec()
230 LLVMTypeRef dst_elem_type = lp_build_vec_type(gallivm, dst_type); in lp_build_gather_elem_vec()
287 LLVMTypeRef src_type, src_vec_type; in lp_build_gather_avx2()
312 LLVMTypeRef i32_type = LLVMIntTypeInContext(gallivm->context, 32); in lp_build_gather_avx2()
313 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_gather_avx2()
314 LLVMTypeRef i1_type = LLVMIntTypeInContext(gallivm->context, 1); in lp_build_gather_avx2()
[all …]
Dlp_bld_intr.c63 LLVMTypeRef type) in lp_format_intrinsic()
108 LLVMTypeRef ret_type, in lp_declare_intrinsic()
109 LLVMTypeRef *arg_types, in lp_declare_intrinsic()
112 LLVMTypeRef function_type; in lp_declare_intrinsic()
225 LLVMTypeRef ret_type, in lp_build_intrinsic()
237 LLVMTypeRef arg_types[LP_MAX_FUNC_ARGS]; in lp_build_intrinsic()
278 LLVMTypeRef ret_type, in lp_build_intrinsic_unary()
288 LLVMTypeRef ret_type, in lp_build_intrinsic_binary()
337 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); in lp_build_intrinsic_binary_anylength()
393 LLVMTypeRef ret_type, in lp_build_intrinsic_map()
[all …]
Dlp_bld_const.c227 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); in lp_build_undef()
242 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); in lp_build_zero()
251 LLVMTypeRef elem_type; in lp_build_one()
272 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); in lp_build_one()
303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_const_elem()
345 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); in lp_build_const_int_vec()
400 LLVMTypeRef elem_type = LLVMIntTypeInContext(gallivm->context, type.width); in lp_build_const_mask_aos()
449 LLVMTypeRef i8 = LLVMInt8TypeInContext(gallivm->context); in lp_build_const_string()
468 LLVMTypeRef ret_type, in lp_build_const_func_pointer()
469 LLVMTypeRef *arg_types, in lp_build_const_func_pointer()
[all …]
Dlp_bld_logic.c86 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, type); in lp_build_compare_ext()
177 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, type); in lp_build_compare()
260 LLVMTypeRef int_vec_type = lp_build_int_vec_type(bld->gallivm, type); in lp_build_select_bitwise()
288 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); in lp_build_select_bitwise()
346 LLVMTypeRef bool_vec_type = LLVMVectorType(LLVMInt1TypeInContext(lc), type.length); in lp_build_select()
361 LLVMTypeRef arg_type; in lp_build_select()
364 LLVMTypeRef mask_type = LLVMGetElementType(LLVMTypeOf(mask)); in lp_build_select()
366LLVMTypeRef int_vec_type = LLVMVectorType(LLVMIntTypeInContext(lc, type.width), type.length); in lp_build_select()
469 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_select_aos()
496 LLVMTypeRef scalar_type; in lp_build_any_true_range()
[all …]
Dlp_bld_format.c33 LLVMTypeRef
36 LLVMTypeRef elem_types[LP_BUILD_FORMAT_CACHE_MEMBER_COUNT]; in lp_build_format_cache_type()
37 LLVMTypeRef s; in lp_build_format_cache_type()
Dlp_bld_coro.c36 static LLVMTypeRef LLVMTokenTypeInContext(LLVMContextRef C) in LLVMTokenTypeInContext()
169 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in lp_build_coro_declare_malloc_hooks()
170 LLVMTypeRef mem_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_coro_declare_malloc_hooks()
171 LLVMTypeRef malloc_type = LLVMFunctionType(mem_ptr_type, &int32_type, 1, 0); in lp_build_coro_declare_malloc_hooks()
173LLVMTypeRef free_type = LLVMFunctionType(LLVMVoidTypeInContext(gallivm->context), &mem_ptr_type, 1… in lp_build_coro_declare_malloc_hooks()
179 LLVMTypeRef mem_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_coro_begin_alloc_mem()
203 LLVMTypeRef mem_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_coro_alloc_mem_array()
Dlp_bld_format_aos.c230 LLVMTypeRef vec32_type; in lp_build_unpack_arith_rgba_aos()
369 LLVMTypeRef type; in lp_build_pack_rgba_aos()
504 LLVMTypeRef dst_vec_type = lp_build_vec_type(gallivm, type); in lp_build_fetch_rgba_aos()
539 LLVMTypeRef dst_vec_type, conv_vec_type; in lp_build_fetch_rgba_aos()
805 LLVMTypeRef i8t = LLVMInt8TypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
806 LLVMTypeRef pi8t = LLVMPointerType(i8t, 0); in lp_build_fetch_rgba_aos()
807 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
828 LLVMTypeRef ret_type; in lp_build_fetch_rgba_aos()
829 LLVMTypeRef arg_types[4]; in lp_build_fetch_rgba_aos()
830 LLVMTypeRef function_type; in lp_build_fetch_rgba_aos()
[all …]
Dlp_bld_flow.h75 LLVMTypeRef reg_type;
205 LLVMTypeRef type,
210 LLVMTypeRef type,
215 LLVMTypeRef type,
Dlp_bld_arit_overflow.c67 LLVMTypeRef type_ref; in build_binary_int_overflow()
70 LLVMTypeRef oelems[2]; in build_binary_int_overflow()
72 LLVMTypeRef otype; in build_binary_int_overflow()
Dlp_bld_printf.c60 LLVMTypeRef type = LLVMTypeOf(args[i]); in lp_build_print_args()
67 LLVMTypeRef printf_type = LLVMFunctionType(LLVMInt32TypeInContext(context), NULL, 0, 1); in lp_build_print_args()
84 LLVMTypeRef type_ref; in lp_build_print_value()
137 LLVMTypeRef int_type = LLVMIntTypeInContext(gallivm->context, sizeof(int) * 8); in lp_build_print_value()
Dlp_bld_swizzle.c49 LLVMTypeRef vec_type, in lp_build_broadcast()
63 LLVMTypeRef i32_type = LLVMInt32TypeInContext(gallivm->context); in lp_build_broadcast()
64 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_broadcast()
99 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_extract_broadcast()
179 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_scalar_aos()
399 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_aos()
656 LLVMTypeRef single_type; in lp_build_transpose_aos()
657 LLVMTypeRef double_type; in lp_build_transpose_aos()
770 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_pack_aos_scalars()
806 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_unpack_broadcast_aos_scalars()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTarget.cpp85 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD) { in LLVMIntPtrType()
89 LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS) { in LLVMIntPtrTypeForAS()
93 LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD) { in LLVMIntPtrTypeInContext()
97 LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD, unsigned AS) { in LLVMIntPtrTypeForASInContext()
101 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMSizeOfTypeInBits()
105 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMStoreSizeOfType()
109 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABISizeOfType()
113 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABIAlignmentOfType()
117 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMCallFrameAlignmentOfType()
121 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMPreferredAlignmentOfType()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.c45 static LLVMTypeRef
49 LLVMTypeRef texture_type; in create_jit_texture_type()
50 LLVMTypeRef elem_types[LP_JIT_TEXTURE_NUM_FIELDS]; in create_jit_texture_type()
107 static LLVMTypeRef
111 LLVMTypeRef sampler_type; in create_jit_sampler_type()
112 LLVMTypeRef elem_types[LP_JIT_SAMPLER_NUM_FIELDS]; in create_jit_sampler_type()
143 static LLVMTypeRef
147 LLVMTypeRef image_type; in create_jit_image_type()
148 LLVMTypeRef elem_types[LP_JIT_IMAGE_NUM_FIELDS]; in create_jit_image_type()
192 LLVMTypeRef viewport_type, texture_type, sampler_type, image_type; in lp_jit_create_types()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp446 LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty, in LLVMGetInlineAsm()
477 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { in LLVMGetTypeKind()
517 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) in LLVMTypeIsSized()
522 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { in LLVMGetTypeContext()
526 void LLVMDumpType(LLVMTypeRef Ty) { in LLVMDumpType()
530 char *LLVMPrintTypeToString(LLVMTypeRef Ty) { in LLVMPrintTypeToString()
546 LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C) { in LLVMInt1TypeInContext()
547 return (LLVMTypeRef) Type::getInt1Ty(*unwrap(C)); in LLVMInt1TypeInContext()
549 LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C) { in LLVMInt8TypeInContext()
550 return (LLVMTypeRef) Type::getInt8Ty(*unwrap(C)); in LLVMInt8TypeInContext()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c28 static LLVMTypeRef symbol_type(struct symbol *sym);
30 static LLVMTypeRef func_return_type(struct symbol *sym) in func_return_type()
35 static LLVMTypeRef sym_func_type(struct symbol *sym) in sym_func_type()
38 LLVMTypeRef *arg_type = calloc(n_arg, sizeof(LLVMTypeRef)); in sym_func_type()
39 LLVMTypeRef ret_type = func_return_type(sym); in sym_func_type()
52 static LLVMTypeRef sym_array_type(struct symbol *sym) in sym_array_type()
54 LLVMTypeRef elem_type; in sym_array_type()
70 static LLVMTypeRef sym_struct_type(struct symbol *sym) in sym_struct_type()
72 LLVMTypeRef elem_types[MAX_STRUCT_MEMBERS]; in sym_struct_type()
75 LLVMTypeRef ret; in sym_struct_type()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h679 LLVMTypeRef context_ptr_type;
680 LLVMTypeRef buffer_ptr_type;
681 LLVMTypeRef vb_ptr_type;
682 LLVMTypeRef vertex_header_ptr_type;
703 LLVMTypeRef context_ptr_type;
704 LLVMTypeRef vertex_header_ptr_type;
705 LLVMTypeRef input_array_type;
728 LLVMTypeRef context_ptr_type;
729 LLVMTypeRef input_array_type;
730 LLVMTypeRef output_array_type;
[all …]
Ddraw_llvm.c114 static LLVMTypeRef
119 LLVMTypeRef dvbuffer_type; in create_jit_dvbuffer_type()
120 LLVMTypeRef elem_types[DRAW_JIT_DVBUFFER_NUM_FIELDS]; in create_jit_dvbuffer_type()
121 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in create_jit_dvbuffer_type()
144 static LLVMTypeRef
148 LLVMTypeRef texture_type; in create_jit_texture_type()
149 LLVMTypeRef elem_types[DRAW_JIT_TEXTURE_NUM_FIELDS]; in create_jit_texture_type()
150 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in create_jit_texture_type()
213 static LLVMTypeRef
217 LLVMTypeRef sampler_type; in create_jit_sampler_type()
[all …]

1234