Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/mesa/src/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()
/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()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_logicop.c52 type = LLVMTypeOf(src); in lp_build_logicop()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_logicop.c52 type = LLVMTypeOf(src); in lp_build_logicop()
/external/llvm/tools/llvm-c-test/
Dmodule.c101 LLVMTypeRef T = LLVMTypeOf(g); in module_list_globals()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c468 return LLVMTypeOf(Val); in llvm_type_of()
712 LLVMGetIntTypeWidth(LLVMTypeOf(Const)) <= 64) { in llvm_int64_of_const()
961 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS()
974 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global()
998 LLVMValueRef GlobalVar = LLVMAddGlobal(M, LLVMTypeOf(Initializer), in llvm_define_global()
1010 LLVMTypeOf(Initializer), in llvm_define_qualified_global()
1100 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty) in DEFINE_ITERATORS()
2056 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
/external/chromium_org/third_party/mesa/src/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/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()

12