Home
last modified time | relevance | path

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

1234

/external/llvm/include/llvm-c/
DCore.h85 typedef struct LLVMOpaqueType *LLVMTypeRef; typedef
640 LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name);
677 LLVMTypeRef FunctionTy);
756 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty);
765 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty);
772 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty);
779 void LLVMDumpType(LLVMTypeRef Val);
787 char *LLVMPrintTypeToString(LLVMTypeRef Val);
800 LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C);
801 LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C);
[all …]
DTarget.h222 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD);
227 LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS);
231 LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD);
236 LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD,
241 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty);
245 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
249 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
253 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
257 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
261 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty);
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.h53 LLVMTypeRef ret_type,
54 LLVMTypeRef *arg_types,
60 LLVMTypeRef ret_type,
68 LLVMTypeRef ret_type,
75 LLVMTypeRef ret_type,
92 LLVMTypeRef ret_type,
100 LLVMTypeRef ret_type,
107 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.h146 LLVMTypeRef elem_type;
149 LLVMTypeRef vec_type;
152 LLVMTypeRef int_elem_type;
155 LLVMTypeRef int_vec_type;
308 LLVMTypeRef
312 LLVMTypeRef
317 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
321 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type);
328 LLVMTypeRef
332 LLVMTypeRef
[all …]
Dlp_bld_intr.c58 LLVMTypeRef ret_type, in lp_declare_intrinsic()
59 LLVMTypeRef *arg_types, in lp_declare_intrinsic()
62 LLVMTypeRef function_type; in lp_declare_intrinsic()
82 LLVMTypeRef ret_type, in lp_build_intrinsic()
91 LLVMTypeRef arg_types[LP_MAX_FUNC_ARGS]; in lp_build_intrinsic()
111 LLVMTypeRef ret_type, in lp_build_intrinsic_unary()
121 LLVMTypeRef ret_type, in lp_build_intrinsic_binary()
170 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); in lp_build_intrinsic_binary_anylength()
226 LLVMTypeRef ret_type, in lp_build_intrinsic_map()
231 LLVMTypeRef ret_elem_type = LLVMGetElementType(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 = LLVMVectorType(elem_type, type.length); 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()
368 LLVMTypeRef elem_type; in lp_build_const_aos()
400 LLVMTypeRef elem_type = LLVMIntTypeInContext(gallivm->context, type.width); in lp_build_const_mask_aos()
445 LLVMTypeRef i8 = LLVMInt8TypeInContext(gallivm->context); in lp_build_const_string()
464 LLVMTypeRef ret_type, in lp_build_const_func_pointer()
[all …]
Dlp_bld_gather.c82 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); in lp_build_gather_elem()
83 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem()
84 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); in lp_build_gather_elem()
133 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); in lp_build_gather()
134 LLVMTypeRef dst_vec_type = LLVMVectorType(dst_elem_type, length); in lp_build_gather()
156 LLVMTypeRef vec_type = LLVMVectorType(LLVMTypeOf(values[0]), value_count); in lp_build_gather_values()
Dlp_bld_format_aos.c268 LLVMTypeRef type; in lp_build_pack_rgba_aos()
520 LLVMTypeRef i8t = LLVMInt8TypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
521 LLVMTypeRef pi8t = LLVMPointerType(i8t, 0); in lp_build_fetch_rgba_aos()
522 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
543 LLVMTypeRef ret_type; in lp_build_fetch_rgba_aos()
544 LLVMTypeRef arg_types[4]; in lp_build_fetch_rgba_aos()
545 LLVMTypeRef function_type; in lp_build_fetch_rgba_aos()
623 LLVMTypeRef f32t = LLVMFloatTypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
624 LLVMTypeRef f32x4t = LLVMVectorType(f32t, 4); in lp_build_fetch_rgba_aos()
625 LLVMTypeRef pf32t = LLVMPointerType(f32t, 0); in lp_build_fetch_rgba_aos()
[all …]
Dlp_bld_logic.c81 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, type); in lp_build_compare()
120 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); in lp_build_compare()
190 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, type); in lp_build_compare()
409 LLVMTypeRef int_vec_type = lp_build_int_vec_type(bld->gallivm, type); in lp_build_select_bitwise()
426 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); in lp_build_select_bitwise()
481 LLVMTypeRef bool_vec_type = LLVMVectorType(LLVMInt1TypeInContext(lc), type.length); in lp_build_select()
496 LLVMTypeRef arg_type; in lp_build_select()
594 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_select_aos()
621 LLVMTypeRef scalar_type; in lp_build_any_true_range()
622 LLVMTypeRef true_type; in lp_build_any_true_range()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.h53 LLVMTypeRef ret_type,
54 LLVMTypeRef *arg_types,
60 LLVMTypeRef ret_type,
68 LLVMTypeRef ret_type,
75 LLVMTypeRef ret_type,
92 LLVMTypeRef ret_type,
100 LLVMTypeRef ret_type,
107 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.h146 LLVMTypeRef elem_type;
149 LLVMTypeRef vec_type;
152 LLVMTypeRef int_elem_type;
155 LLVMTypeRef int_vec_type;
308 LLVMTypeRef
312 LLVMTypeRef
317 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
321 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type);
328 LLVMTypeRef
332 LLVMTypeRef
[all …]
Dlp_bld_intr.c58 LLVMTypeRef ret_type, in lp_declare_intrinsic()
59 LLVMTypeRef *arg_types, in lp_declare_intrinsic()
62 LLVMTypeRef function_type; in lp_declare_intrinsic()
82 LLVMTypeRef ret_type, in lp_build_intrinsic()
91 LLVMTypeRef arg_types[LP_MAX_FUNC_ARGS]; in lp_build_intrinsic()
111 LLVMTypeRef ret_type, in lp_build_intrinsic_unary()
121 LLVMTypeRef ret_type, in lp_build_intrinsic_binary()
170 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); in lp_build_intrinsic_binary_anylength()
226 LLVMTypeRef ret_type, in lp_build_intrinsic_map()
231 LLVMTypeRef ret_elem_type = LLVMGetElementType(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 = LLVMVectorType(elem_type, type.length); 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()
368 LLVMTypeRef elem_type; in lp_build_const_aos()
400 LLVMTypeRef elem_type = LLVMIntTypeInContext(gallivm->context, type.width); in lp_build_const_mask_aos()
445 LLVMTypeRef i8 = LLVMInt8TypeInContext(gallivm->context); in lp_build_const_string()
464 LLVMTypeRef ret_type, in lp_build_const_func_pointer()
[all …]
Dlp_bld_gather.c82 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); in lp_build_gather_elem()
83 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem()
84 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); in lp_build_gather_elem()
133 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); in lp_build_gather()
134 LLVMTypeRef dst_vec_type = LLVMVectorType(dst_elem_type, length); in lp_build_gather()
156 LLVMTypeRef vec_type = LLVMVectorType(LLVMTypeOf(values[0]), value_count); in lp_build_gather_values()
Dlp_bld_format_aos.c268 LLVMTypeRef type; in lp_build_pack_rgba_aos()
520 LLVMTypeRef i8t = LLVMInt8TypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
521 LLVMTypeRef pi8t = LLVMPointerType(i8t, 0); in lp_build_fetch_rgba_aos()
522 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
543 LLVMTypeRef ret_type; in lp_build_fetch_rgba_aos()
544 LLVMTypeRef arg_types[4]; in lp_build_fetch_rgba_aos()
545 LLVMTypeRef function_type; in lp_build_fetch_rgba_aos()
623 LLVMTypeRef f32t = LLVMFloatTypeInContext(gallivm->context); in lp_build_fetch_rgba_aos()
624 LLVMTypeRef f32x4t = LLVMVectorType(f32t, 4); in lp_build_fetch_rgba_aos()
625 LLVMTypeRef pf32t = LLVMPointerType(f32t, 0); in lp_build_fetch_rgba_aos()
[all …]
/external/llvm/lib/Target/
DTarget.cpp77 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD) { in LLVMIntPtrType()
81 LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS) { in LLVMIntPtrTypeForAS()
85 LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD) { in LLVMIntPtrTypeInContext()
89 LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD, unsigned AS) { in LLVMIntPtrTypeForASInContext()
93 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMSizeOfTypeInBits()
97 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMStoreSizeOfType()
101 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABISizeOfType()
105 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABIAlignmentOfType()
109 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMCallFrameAlignmentOfType()
113 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMPreferredAlignmentOfType()
[all …]
/external/llvm/lib/IR/
DCore.cpp229 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { in LLVMGetTypeKind()
267 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) in LLVMTypeIsSized()
272 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { in LLVMGetTypeContext()
276 void LLVMDumpType(LLVMTypeRef Ty) { in LLVMDumpType()
280 char *LLVMPrintTypeToString(LLVMTypeRef Ty) { in LLVMPrintTypeToString()
296 LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C) { in LLVMInt1TypeInContext()
297 return (LLVMTypeRef) Type::getInt1Ty(*unwrap(C)); in LLVMInt1TypeInContext()
299 LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C) { in LLVMInt8TypeInContext()
300 return (LLVMTypeRef) Type::getInt8Ty(*unwrap(C)); in LLVMInt8TypeInContext()
302 LLVMTypeRef LLVMInt16TypeInContext(LLVMContextRef C) { in LLVMInt16TypeInContext()
[all …]
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c216 CAMLprim value llvm_classify_type(LLVMTypeRef Ty) { in llvm_classify_type()
220 CAMLprim value llvm_type_is_sized(LLVMTypeRef Ty) { in llvm_type_is_sized()
225 CAMLprim LLVMContextRef llvm_type_context(LLVMTypeRef Ty) { in llvm_type_context()
230 CAMLprim value llvm_dump_type(LLVMTypeRef Val) { in llvm_dump_type()
236 CAMLprim value llvm_string_of_lltype(LLVMTypeRef M) { in llvm_string_of_lltype()
249 CAMLprim LLVMTypeRef llvm_i1_type (LLVMContextRef Context) { in llvm_i1_type()
254 CAMLprim LLVMTypeRef llvm_i8_type (LLVMContextRef Context) { in llvm_i8_type()
259 CAMLprim LLVMTypeRef llvm_i16_type (LLVMContextRef Context) { in llvm_i16_type()
264 CAMLprim LLVMTypeRef llvm_i32_type (LLVMContextRef Context) { in llvm_i32_type()
269 CAMLprim LLVMTypeRef llvm_i64_type (LLVMContextRef Context) { in llvm_i64_type()
[all …]
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c114 CAMLprim LLVMTypeRef llvm_datalayout_intptr_type(LLVMContextRef C, value DL) { in llvm_datalayout_intptr_type()
124 CAMLprim LLVMTypeRef llvm_datalayout_qualified_intptr_type(LLVMContextRef C, in llvm_datalayout_qualified_intptr_type()
131 CAMLprim value llvm_datalayout_size_in_bits(LLVMTypeRef Ty, value DL) { in llvm_datalayout_size_in_bits()
136 CAMLprim value llvm_datalayout_store_size(LLVMTypeRef Ty, value DL) { in llvm_datalayout_store_size()
141 CAMLprim value llvm_datalayout_abi_size(LLVMTypeRef Ty, value DL) { in llvm_datalayout_abi_size()
146 CAMLprim value llvm_datalayout_abi_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_abi_align()
151 CAMLprim value llvm_datalayout_stack_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_stack_align()
156 CAMLprim value llvm_datalayout_preferred_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_preferred_align()
167 CAMLprim value llvm_datalayout_element_at_offset(LLVMTypeRef Ty, value Offset, in llvm_datalayout_element_at_offset()
174 CAMLprim value llvm_datalayout_offset_of_element(LLVMTypeRef Ty, value Index, in llvm_datalayout_offset_of_element()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h89 LLVMTypeRef jit_context_ptr_type;
90 LLVMTypeRef jit_thread_data_ptr_type;
91 LLVMTypeRef jit_linear_context_ptr_type;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_state_fs.h89 LLVMTypeRef jit_context_ptr_type;
90 LLVMTypeRef jit_thread_data_ptr_type;
91 LLVMTypeRef jit_linear_context_ptr_type;
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c69 static LLVMTypeRef
73 LLVMTypeRef texture_type; in create_jit_texture_type()
74 LLVMTypeRef elem_types[DRAW_JIT_TEXTURE_NUM_FIELDS]; in create_jit_texture_type()
75 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in create_jit_texture_type()
152 static LLVMTypeRef
154 LLVMTypeRef texture_type, const char *struct_name) in create_jit_context_type()
157 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); in create_jit_context_type()
158 LLVMTypeRef elem_types[5]; in create_jit_context_type()
159 LLVMTypeRef context_type; in create_jit_context_type()
195 static LLVMTypeRef
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_llvm.c69 static LLVMTypeRef
73 LLVMTypeRef texture_type; in create_jit_texture_type()
74 LLVMTypeRef elem_types[DRAW_JIT_TEXTURE_NUM_FIELDS]; in create_jit_texture_type()
75 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in create_jit_texture_type()
152 static LLVMTypeRef
154 LLVMTypeRef texture_type, const char *struct_name) in create_jit_context_type()
157 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); in create_jit_context_type()
158 LLVMTypeRef elem_types[5]; in create_jit_context_type()
159 LLVMTypeRef context_type; in create_jit_context_type()
195 static LLVMTypeRef
[all …]

1234