/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_arit_overflow.c | 74 debug_assert(LLVMTypeOf(a) == LLVMTypeOf(b)); in build_binary_int_overflow() 75 type_ref = LLVMTypeOf(a); in build_binary_int_overflow()
|
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_gather.c | 58 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_ptr() 96 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem() 177 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_vec() 301 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_avx2() 324 assert(LLVMTypeOf(offsets) == i32_vec_type); in lp_build_gather_avx2() 591 LLVMTypeRef vec_type = LLVMVectorType(LLVMTypeOf(values[0]), value_count); in lp_build_gather_values()
|
D | lp_bld_printf.c | 57 assert(LLVMTypeOf(args[0]) == LLVMPointerType(LLVMInt8TypeInContext(context), 0)); in lp_build_print_args() 61 LLVMTypeRef type = LLVMTypeOf(args[i]); in lp_build_print_args() 92 type_ref = LLVMTypeOf(value); in lp_build_print_value()
|
D | lp_bld_swizzle.c | 55 assert(vec_type == LLVMTypeOf(scalar)); in lp_build_broadcast() 65 assert(LLVMGetElementType(vec_type) == LLVMTypeOf(scalar)); in lp_build_broadcast() 82 assert(lp_check_elem_type(bld->type, LLVMTypeOf(scalar))); in lp_build_broadcast_scalar() 105 assert(LLVMTypeOf(index) == i32t); in lp_build_extract_broadcast() 350 …return LLVMBuildShuffleVector(builder, src, LLVMGetUndef(LLVMTypeOf(src)), LLVMConstVector(shuffle… in lp_build_swizzle_aos_n()
|
D | lp_bld_format_float.c | 242 LLVMTypeRef src_type = LLVMTypeOf(*src); in lp_build_float_to_r11g11b10() 408 LLVMTypeRef src_type = LLVMTypeOf(src); in lp_build_r11g11b10_to_float() 465 LLVMTypeRef src_type = LLVMTypeOf(src); in lp_build_rgb9e5_to_float()
|
D | lp_bld_sample_soa.c | 3583 arg_types[num_param++] = LLVMTypeOf(params->context_ptr); in lp_build_sample_soa_func() 3585 arg_types[num_param++] = LLVMTypeOf(params->thread_data_ptr); in lp_build_sample_soa_func() 3588 arg_types[num_param++] = LLVMTypeOf(coords[0]); in lp_build_sample_soa_func() 3589 assert(LLVMTypeOf(coords[0]) == LLVMTypeOf(coords[i])); in lp_build_sample_soa_func() 3592 arg_types[num_param++] = LLVMTypeOf(coords[layer]); in lp_build_sample_soa_func() 3593 assert(LLVMTypeOf(coords[0]) == LLVMTypeOf(coords[layer])); in lp_build_sample_soa_func() 3596 arg_types[num_param++] = LLVMTypeOf(coords[0]); in lp_build_sample_soa_func() 3600 arg_types[num_param++] = LLVMTypeOf(offsets[0]); in lp_build_sample_soa_func() 3601 assert(LLVMTypeOf(offsets[0]) == LLVMTypeOf(offsets[i])); in lp_build_sample_soa_func() 3606 arg_types[num_param++] = LLVMTypeOf(params->lod); in lp_build_sample_soa_func() [all …]
|
D | lp_bld_type.c | 153 vec_type = LLVMTypeOf(val); in lp_check_value()
|
D | lp_bld_intr.c | 241 arg_types[i] = LLVMTypeOf(args[i]); in lp_build_intrinsic()
|
D | lp_bld_conv.c | 95 LLVMTypeRef src_type = LLVMTypeOf(src); in lp_build_half_to_float() 140 LLVMTypeRef f32_vec_type = LLVMTypeOf(src); in lp_build_float_to_half()
|
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_tgsi_soa.c | 280 assert(LLVMTypeOf(val) == mask->int_vec_type); in lp_exec_mask_cond_push() 739 assert(LLVMGetTypeKind(LLVMTypeOf(dst_ptr)) == LLVMPointerTypeKind); in lp_exec_mask_store() 740 assert(LLVMGetElementType(LLVMTypeOf(dst_ptr)) == LLVMTypeOf(val)); in lp_exec_mask_store() 1722 LLVMGetUndef(LLVMTypeOf(value)), in emit_store_64bit_chan() 1727 LLVMGetUndef(LLVMTypeOf(value)), in emit_store_64bit_chan() 1865 assert(LLVMTypeOf(value) == int_bld->vec_type); in emit_store_chan()
|
/external/mesa3d/src/amd/common/ |
D | ac_llvm_build.c | 127 LLVMTypeRef type = LLVMTypeOf(value); in ac_get_llvm_num_components() 139 if (LLVMGetTypeKind(LLVMTypeOf(value)) != LLVMVectorTypeKind) { in ac_llvm_extract_elem() 199 LLVMTypeRef type = LLVMTypeOf(v); in ac_to_integer() 229 LLVMTypeRef type = LLVMTypeOf(v); in ac_to_float() 252 param_types[i] = LLVMTypeOf(params[i]); in ac_build_intrinsic() 348 LLVMTypeRef vgpr_type = LLVMTypeOf(vgpr); in ac_build_optimization_barrier() 379 if (LLVMTypeOf(args[0]) != ctx->i32) in ac_build_ballot() 435 vec = LLVMGetUndef( LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_varying_gather_values() 467 vec = LLVMGetUndef( LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_gather_values_extended() 538 LLVMTypeRef f32 = LLVMTypeOf(coords[0]); in build_cube_select() [all …]
|
D | ac_nir_to_llvm.c | 1235 LLVMTypeRef type = LLVMTypeOf(value); in get_alu_src() 1792 LLVMTypeOf(src[0]), ""), in visit_alu() 1798 LLVMTypeOf(src[0]), ""), in visit_alu() 1804 LLVMTypeOf(src[0]), ""), in visit_alu() 1984 if (get_elem_bits(&ctx->ac, LLVMTypeOf(src[0])) < get_elem_bits(&ctx->ac, def_type)) in visit_alu() 1992 if (get_elem_bits(&ctx->ac, LLVMTypeOf(src[0])) < get_elem_bits(&ctx->ac, def_type)) in visit_alu() 2143 int addr_space = LLVMGetPointerAddressSpace(LLVMTypeOf(ptr)); in cast_ptr() 2459 LLVMTypeRef type = LLVMTypeOf(src); in extract_vector_range() 2492 int elem_size_mult = get_elem_bits(&ctx->ac, LLVMTypeOf(src_data)) / 32; in visit_store_ssbo() 3307 if (get_elem_bits(&ctx->ac, LLVMTypeOf(src)) == 64) { in visit_store_var() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend_logicop.c | 52 type = LLVMTypeOf(src); in lp_build_logicop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/ |
D | module.c | 123 LLVMTypeRef T = LLVMTypeOf(g); in llvm_module_list_globals()
|
/external/llvm/tools/llvm-c-test/ |
D | module.c | 124 LLVMTypeRef T = LLVMTypeOf(g); in llvm_module_list_globals()
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 406 return LLVMTypeOf(Val); in llvm_type_of() 620 LLVMGetIntTypeWidth(LLVMTypeOf(Const)) <= 64) { in llvm_int64_of_const() 863 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS() 876 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global() 899 LLVMValueRef GlobalVar = LLVMAddGlobal(M, LLVMTypeOf(Initializer), in llvm_define_global() 911 LLVMTypeOf(Initializer), in llvm_define_qualified_global() 977 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty) in DEFINE_ITERATORS() 1873 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_mem.c | 438 addr_space = LLVMGetPointerAddressSpace(LLVMTypeOf(ptr)); in get_memory_ptr() 577 LLVMTypeOf(emit_data->args[0]), /* coords */ in load_emit() 578 LLVMTypeOf(emit_data->args[1]), /* rsrc */ in load_emit() 788 LLVMTypeOf(emit_data->args[0]), /* vdata */ in store_emit() 789 LLVMTypeOf(emit_data->args[1]), /* coords */ in store_emit() 790 LLVMTypeOf(emit_data->args[2]), /* rsrc */ in store_emit() 953 ac_build_type_name_for_intr(LLVMTypeOf(coords), coords_type, sizeof(coords_type)); in atomic_emit()
|
D | si_shader_tgsi_setup.c | 236 LLVMGetUndef(LLVMTypeOf(value)), in emit_swizzle() 626 if (LLVMGetTypeKind(LLVMTypeOf(cval)) == LLVMVectorTypeKind) { in fetch_system_value() 829 LLVMTypeKind k = LLVMGetTypeKind(LLVMTypeOf(dst[0])); in si_llvm_emit_store()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 515 return LLVMTypeOf(Val); in llvm_type_of() 782 LLVMGetIntTypeWidth(LLVMTypeOf(Const)) <= 64) { in llvm_int64_of_const() 1100 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS() 1113 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global() 1137 LLVMValueRef GlobalVar = LLVMAddGlobal(M, LLVMTypeOf(Initializer), in llvm_define_global() 1149 LLVMTypeOf(Initializer), in llvm_define_qualified_global() 1239 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty) in DEFINE_ITERATORS() 2249 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 598 return LLVMTypeOf(Val); in llvm_type_of() 865 LLVMGetIntTypeWidth(LLVMTypeOf(Const)) <= 64) { in llvm_int64_of_const() 1183 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS() 1196 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global() 1220 LLVMValueRef GlobalVar = LLVMAddGlobal(M, LLVMTypeOf(Initializer), in llvm_define_global() 1232 LLVMTypeOf(Initializer), in llvm_define_qualified_global() 1322 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty) in DEFINE_ITERATORS() 2328 PhiNode = LLVMBuildPhi(Builder_val(B), LLVMTypeOf(FirstValue), in llvm_build_phi()
|
/external/skqp/src/sksl/ |
D | SkSLJIT.cpp | 347 LLVMTypeRef type = LLVMPointerType(LLVMTypeOf(ifTrue), 0); in getLValue() 485 LLVMValueRef result = LLVMGetUndef(LLVMVectorType(LLVMTypeOf(*value), columns)); in vectorize() 1352 LLVMTypeRef stageFuncType = LLVMTypeOf(newFunc); in compileStageFunctionLoop() 1680 LLVMTypeRef stageFuncType = LLVMTypeOf(newFunc); in compileStageFunctionVector()
|