Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm-c/
DCore.h85 typedef struct LLVMOpaqueType *LLVMTypeRef; typedef
646 LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name);
683 LLVMTypeRef FunctionTy);
762 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty);
771 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty);
778 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty);
785 void LLVMDumpType(LLVMTypeRef Val);
793 char *LLVMPrintTypeToString(LLVMTypeRef Val);
806 LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C);
807 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 …]
DExecutionEngine.h54 LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty,
60 LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N);
69 double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal);
/external/llvm/lib/Target/
DTarget.cpp74 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD) { in LLVMIntPtrType()
78 LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS) { in LLVMIntPtrTypeForAS()
82 LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD) { in LLVMIntPtrTypeInContext()
86 LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD, unsigned AS) { in LLVMIntPtrTypeForASInContext()
90 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMSizeOfTypeInBits()
94 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMStoreSizeOfType()
98 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABISizeOfType()
102 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABIAlignmentOfType()
106 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMCallFrameAlignmentOfType()
110 unsigned LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMPreferredAlignmentOfType()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
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_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.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()
Dlp_bld_swizzle.c48 LLVMTypeRef vec_type, in lp_build_broadcast()
61 LLVMTypeRef i32_type = LLVMInt32TypeInContext(gallivm->context); in lp_build_broadcast()
67 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_broadcast()
108 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_extract_broadcast()
184 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_scalar_aos()
293 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_aos()
521 LLVMTypeRef single_type; in lp_build_transpose_aos()
522 LLVMTypeRef double_type; in lp_build_transpose_aos()
568 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_pack_aos_scalars()
604 LLVMTypeRef i32t = LLVMInt32TypeInContext(gallivm->context); in lp_build_unpack_broadcast_aos_scalars()
Dlp_bld_flow.h72 LLVMTypeRef reg_type;
192 LLVMTypeRef type,
197 LLVMTypeRef type,
Dlp_bld_const.h139 LLVMTypeRef int_type; in lp_build_const_int_pointer()
160 LLVMTypeRef ret_type,
161 LLVMTypeRef *arg_types,
Dlp_bld_assert.c66 LLVMTypeRef arg_types[2]; in lp_build_assert()
67 LLVMTypeRef ret_type; in lp_build_assert()
Dlp_bld_printf.c51 LLVMTypeRef printf_type; in lp_build_print_args()
60 LLVMTypeRef type = LLVMTypeOf(args[i]); in lp_build_print_args()
84 LLVMTypeRef type_ref; in lp_build_print_value()
/external/llvm/lib/IR/
DCore.cpp231 LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { in LLVMGetTypeKind()
269 LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) in LLVMTypeIsSized()
274 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { in LLVMGetTypeContext()
278 void LLVMDumpType(LLVMTypeRef Ty) { in LLVMDumpType()
282 char *LLVMPrintTypeToString(LLVMTypeRef Ty) { in LLVMPrintTypeToString()
298 LLVMTypeRef LLVMInt1TypeInContext(LLVMContextRef C) { in LLVMInt1TypeInContext()
299 return (LLVMTypeRef) Type::getInt1Ty(*unwrap(C)); in LLVMInt1TypeInContext()
301 LLVMTypeRef LLVMInt8TypeInContext(LLVMContextRef C) { in LLVMInt8TypeInContext()
302 return (LLVMTypeRef) Type::getInt8Ty(*unwrap(C)); in LLVMInt8TypeInContext()
304 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()
251 CAMLprim LLVMTypeRef llvm_i1_type (LLVMContextRef Context) { in llvm_i1_type()
256 CAMLprim LLVMTypeRef llvm_i8_type (LLVMContextRef Context) { in llvm_i8_type()
261 CAMLprim LLVMTypeRef llvm_i16_type (LLVMContextRef Context) { in llvm_i16_type()
266 CAMLprim LLVMTypeRef llvm_i32_type (LLVMContextRef Context) { in llvm_i32_type()
271 CAMLprim LLVMTypeRef llvm_i64_type (LLVMContextRef Context) { in llvm_i64_type()
[all …]
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c85 CAMLprim LLVMTypeRef llvm_datalayout_intptr_type(LLVMContextRef C, value DL) { in llvm_datalayout_intptr_type()
95 CAMLprim LLVMTypeRef llvm_datalayout_qualified_intptr_type(LLVMContextRef C, in llvm_datalayout_qualified_intptr_type()
102 CAMLprim value llvm_datalayout_size_in_bits(LLVMTypeRef Ty, value DL) { in llvm_datalayout_size_in_bits()
107 CAMLprim value llvm_datalayout_store_size(LLVMTypeRef Ty, value DL) { in llvm_datalayout_store_size()
112 CAMLprim value llvm_datalayout_abi_size(LLVMTypeRef Ty, value DL) { in llvm_datalayout_abi_size()
117 CAMLprim value llvm_datalayout_abi_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_abi_align()
122 CAMLprim value llvm_datalayout_stack_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_stack_align()
127 CAMLprim value llvm_datalayout_preferred_align(LLVMTypeRef Ty, value DL) { in llvm_datalayout_preferred_align()
138 CAMLprim value llvm_datalayout_element_at_offset(LLVMTypeRef Ty, value Offset, in llvm_datalayout_element_at_offset()
145 CAMLprim value llvm_datalayout_offset_of_element(LLVMTypeRef Ty, value Index, in llvm_datalayout_offset_of_element()
/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 …]
Ddraw_llvm.h221 LLVMTypeRef context_ptr_type;
222 LLVMTypeRef buffer_ptr_type;
223 LLVMTypeRef vb_ptr_type;
224 LLVMTypeRef vertex_header_ptr_type;
/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;
Dlp_jit.c48 LLVMTypeRef texture_type; in lp_jit_create_types()
52 LLVMTypeRef elem_types[LP_JIT_TEXTURE_NUM_FIELDS]; in lp_jit_create_types()
122 LLVMTypeRef elem_types[LP_JIT_CTX_COUNT]; in lp_jit_create_types()
123 LLVMTypeRef context_type; in lp_jit_create_types()
/external/llvm/tools/llvm-c-test/
Dcalc.c120 LLVMTypeRef I64ty = LLVMInt64Type(); in handle_line()
121 LLVMTypeRef I64Ptrty = LLVMPointerType(I64ty, 0); in handle_line()
122 LLVMTypeRef Fty = LLVMFunctionType(I64ty, &I64Ptrty, 1, 0); in handle_line()

123