Home
last modified time | relevance | path

Searched refs:LLVMTypeOf (Results 1 – 21 of 21) sorted by relevance

/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_flow.c226 state->counter_var = lp_build_alloca(gallivm, LLVMTypeOf(start), "loop_counter"); in lp_build_loop_begin()
251 step = LLVMConstInt(LLVMTypeOf(end), 1, 0); in lp_build_loop_end_cond()
298 assert(LLVMTypeOf(start) == LLVMTypeOf(end)); in lp_build_for_loop_begin()
299 assert(LLVMTypeOf(start) == LLVMTypeOf(step)); in lp_build_for_loop_begin()
303 state->counter_var = lp_build_alloca(gallivm, LLVMTypeOf(start), "loop_counter"); in lp_build_for_loop_begin()
Dlp_bld_gather.c52 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_ptr()
88 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem()
156 LLVMTypeRef vec_type = LLVMVectorType(LLVMTypeOf(values[0]), value_count); in lp_build_gather_values()
Dlp_bld_assert.c88 assert(LLVMTypeOf(args[0]) == arg_types[0]); in lp_build_assert()
89 assert(LLVMTypeOf(args[1]) == arg_types[1]); in lp_build_assert()
Dlp_bld_printf.c56 assert(LLVMTypeOf(args[0]) == LLVMPointerType(LLVMInt8TypeInContext(context), 0)); in lp_build_print_args()
60 LLVMTypeRef type = LLVMTypeOf(args[i]); in lp_build_print_args()
91 type_ref = LLVMTypeOf(value); in lp_build_print_value()
Dlp_bld_swizzle.c55 assert(vec_type == LLVMTypeOf(scalar)); in lp_build_broadcast()
63 assert(LLVMGetElementType(vec_type) == LLVMTypeOf(scalar)); in lp_build_broadcast()
92 assert(lp_check_elem_type(bld->type, LLVMTypeOf(scalar))); in lp_build_broadcast_scalar()
115 assert(LLVMTypeOf(index) == i32t); in lp_build_extract_broadcast()
Dlp_bld_intr.c98 arg_types[i] = LLVMTypeOf(args[i]); in lp_build_intrinsic()
Dlp_bld_type.c153 vec_type = LLVMTypeOf(val); in lp_check_value()
Dlp_bld_tgsi.c94 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in lp_build_action_set_dst_type()
Dlp_bld_format_aos.c172 assert (LLVMTypeOf(packed) == LLVMInt32TypeInContext(gallivm->context)); in lp_build_unpack_arith_rgba_aos()
Dlp_bld_tgsi_action.c70 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in scalar_unary_fetch_args()
84 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in scalar_binary_fetch_args()
Dlp_bld_tgsi_soa.c132 assert(LLVMTypeOf(val) == mask->int_vec_type); in lp_exec_mask_cond_push()
1097 assert(LLVMTypeOf(value) == bld_base->base.int_vec_type); in emit_store_chan()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_logicop.c52 type = LLVMTypeOf(src); in lp_build_logicop()
Dlp_bld_depth.c859 LLVMPointerType(LLVMTypeOf(zs_value), 0), ""); in lp_build_depth_write()
Dlp_bld_interp.c532 LLVMTypeOf(a), ""); in coeffs_init()
/external/llvm/tools/llvm-c-test/
Dmodule.c125 LLVMTypeRef T = LLVMTypeOf(g); in module_list_globals()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c470 return LLVMTypeOf(Val); in llvm_type_of()
726 LLVMGetIntTypeWidth(LLVMTypeOf(Const)) <= 64) { in llvm_int64_of_const()
1044 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS()
1057 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global()
1081 LLVMValueRef GlobalVar = LLVMAddGlobal(M, LLVMTypeOf(Initializer), in llvm_define_global()
1093 LLVMTypeOf(Initializer), in llvm_define_qualified_global()
1183 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty) in DEFINE_ITERATORS()
2193 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_setup_tgsi_llvm.c79 LLVMGetUndef(LLVMTypeOf(value)), in emit_swizzle()
285 LLVMTypeKind k = LLVMGetTypeKind(LLVMTypeOf(dst[0])); in emit_store()
971 arg_types[i] = LLVMTypeOf(args[i]); in build_intrinsic()
/external/llvm/include/llvm-c/
DCore.h1164 LLVMTypeRef LLVMTypeOf(LLVMValueRef Val);
/external/llvm/lib/IR/
DCore.cpp536 LLVMTypeRef LLVMTypeOf(LLVMValueRef Val) { in LLVMTypeOf() function
/external/llvm/bindings/go/llvm/
Dir.go634 func (v Value) Type() (t Type) { t.C = C.LLVMTypeOf(v.C); return }