Searched refs:LLVMTypeOf (Results 1 – 21 of 21) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_struct.c | 53 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 …]
|
D | lp_bld_flow.c | 226 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()
|
D | lp_bld_gather.c | 52 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()
|
D | lp_bld_assert.c | 88 assert(LLVMTypeOf(args[0]) == arg_types[0]); in lp_build_assert() 89 assert(LLVMTypeOf(args[1]) == arg_types[1]); in lp_build_assert()
|
D | lp_bld_printf.c | 56 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()
|
D | lp_bld_swizzle.c | 55 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()
|
D | lp_bld_intr.c | 98 arg_types[i] = LLVMTypeOf(args[i]); in lp_build_intrinsic()
|
D | lp_bld_type.c | 153 vec_type = LLVMTypeOf(val); in lp_check_value()
|
D | lp_bld_tgsi.c | 94 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in lp_build_action_set_dst_type()
|
D | lp_bld_format_aos.c | 172 assert (LLVMTypeOf(packed) == LLVMInt32TypeInContext(gallivm->context)); in lp_build_unpack_arith_rgba_aos()
|
D | lp_bld_tgsi_action.c | 70 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()
|
D | lp_bld_tgsi_soa.c | 132 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/ |
D | lp_bld_blend_logicop.c | 52 type = LLVMTypeOf(src); in lp_build_logicop()
|
D | lp_bld_depth.c | 859 LLVMPointerType(LLVMTypeOf(zs_value), 0), ""); in lp_build_depth_write()
|
D | lp_bld_interp.c | 532 LLVMTypeOf(a), ""); in coeffs_init()
|
/external/llvm/tools/llvm-c-test/ |
D | module.c | 125 LLVMTypeRef T = LLVMTypeOf(g); in module_list_globals()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 470 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/ |
D | radeon_setup_tgsi_llvm.c | 79 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/ |
D | Core.h | 1164 LLVMTypeRef LLVMTypeOf(LLVMValueRef Val);
|
/external/llvm/lib/IR/ |
D | Core.cpp | 536 LLVMTypeRef LLVMTypeOf(LLVMValueRef Val) { in LLVMTypeOf() function
|
/external/llvm/bindings/go/llvm/ |
D | ir.go | 634 func (v Value) Type() (t Type) { t.C = C.LLVMTypeOf(v.C); return }
|