Home
last modified time | relevance | path

Searched refs:LLVMGetElementType (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_struct.c54 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMStructTypeKind); in lp_build_struct_get_ptr()
72 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMStructTypeKind); in lp_build_struct_get()
88 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMArrayTypeKind); in lp_build_array_get_ptr()
108 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMArrayTypeKind); in lp_build_array_get()
126 assert(LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(ptr))) == LLVMArrayTypeKind); in lp_build_array_set()
Dlp_bld_type.c138 elem_type = LLVMGetElementType(vec_type); in lp_check_vec_type()
264 LLVMTypeRef elem = LLVMGetElementType(t); in lp_sizeof_llvm_type()
271 LLVMTypeRef elem = LLVMGetElementType(t); in lp_sizeof_llvm_type()
333 LLVMTypeRef te = LLVMGetElementType(t); in lp_dump_llvmtype()
345 LLVMTypeRef te = LLVMGetElementType(t); in lp_dump_llvmtype()
355 LLVMTypeRef te = LLVMGetElementType(t); in lp_dump_llvmtype()
Dlp_bld_intr.c72 type = LLVMGetElementType(type); in lp_format_intrinsic()
394 LLVMTypeRef ret_elem_type = LLVMGetElementType(ret_type); in lp_build_intrinsic_map()
Dlp_bld_printf.c96 type_ref = LLVMGetElementType(type_ref); in lp_build_print_value()
Dlp_bld_ir_common.c212 assert(LLVMGetElementType(LLVMTypeOf(dst_ptr)) == LLVMTypeOf(val) || in lp_exec_mask_store()
213 LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(dst_ptr))) == LLVMArrayTypeKind); in lp_exec_mask_store()
Dlp_bld_logic.c364 LLVMTypeRef mask_type = LLVMGetElementType(LLVMTypeOf(mask)); in lp_build_select()
Dlp_bld_swizzle.c65 assert(LLVMGetElementType(vec_type) == LLVMTypeOf(scalar)); in lp_build_broadcast()
Dlp_bld_tgsi_soa.c468 if (LLVMGetTypeKind(LLVMGetElementType(LLVMTypeOf(var_of_array))) == LLVMArrayTypeKind) { in get_file_ptr()
/external/llvm/tools/llvm-c-test/
Decho.cpp131 Clone(LLVMGetElementType(Src)), in Clone()
136 Clone(LLVMGetElementType(Src)), in Clone()
141 Clone(LLVMGetElementType(Src)), in Clone()
279 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
290 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
776 LLVMAddGlobal(M, LLVMGetElementType(TypeCloner(M).Clone(Cur)), Name); in declare_symbols()
809 auto Ty = LLVMGetElementType(TypeCloner(M).Clone(Cur)); in declare_symbols()
/external/llvm-project/llvm/tools/llvm-c-test/
Decho.cpp134 Clone(LLVMGetElementType(Src)), in Clone()
139 Clone(LLVMGetElementType(Src)), in Clone()
144 Clone(LLVMGetElementType(Src)), in Clone()
148 return LLVMScalableVectorType(Clone(LLVMGetElementType(Src)), in Clone()
306 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
317 return LLVMConstArray(LLVMGetElementType(Ty), Elts.data(), EltCount); in clone_constant_impl()
976 LLVMAddGlobal(M, LLVMGetElementType(TypeCloner(M).Clone(Cur)), Name); in declare_symbols()
1008 auto Ty = LLVMGetElementType(TypeCloner(M).Clone(Cur)); in declare_symbols()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c489 function_type = LLVMGetElementType(LLVMTypeOf(parts[0])); in si_build_wrapper_function()
515 type = LLVMGetElementType(type); in si_build_wrapper_function()
544 last_func_type = LLVMGetElementType(LLVMTypeOf(parts[num_parts - 1])); in si_build_wrapper_function()
Dsi_compute_prim_discard.c382 assert(num_vs_params == LLVMCountParamTypes(LLVMGetElementType(LLVMTypeOf(vs)))); in si_build_prim_discard_compute_shader()
/external/mesa3d/src/amd/llvm/
Dac_llvm_util.c341 LLVMTypeRef type = LLVMGetElementType(LLVMTypeOf(inst)); in ac_count_scratch_private_memory()
Dac_llvm_build.c157 type = LLVMGetElementType(type); in ac_get_elem_bits()
195 return LLVMGetVectorSize(type) * ac_get_type_size(LLVMGetElementType(type)); in ac_get_type_size()
197 return LLVMGetArrayLength(type) * ac_get_type_size(LLVMGetElementType(type)); in ac_get_type_size()
223 LLVMTypeRef elem_type = LLVMGetElementType(t); in ac_to_integer_type()
274 LLVMTypeRef elem_type = LLVMGetElementType(t); in ac_to_float_type()
338 elem_type = LLVMGetElementType(type); in ac_build_type_name_for_intr()
589 elemtype = LLVMGetElementType(LLVMTypeOf(value)); in ac_build_expand()
2526 LLVMValueRef scalar = LLVMConstInt(LLVMGetElementType(type), value, 0); in ac_const_uint_vec()
Dac_nir_to_llvm.c180 LLVMTypeRef elem_type = LLVMGetElementType(result_type); in emit_intrin_1f_param_scalar()
1920 LLVMTypeRef def_elem_type = num_components > 1 ? LLVMGetElementType(def_type) : def_type; in visit_load_buffer()
3180 component_type = LLVMGetElementType(dest_type); in visit_load()
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1209 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS()
1222 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global()
1348 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty) in DEFINE_ITERATORS()
Dllvm.ml485 external element_type : lltype -> lltype = "LLVMGetElementType"
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1100 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS()
1113 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global()
1239 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty) in DEFINE_ITERATORS()
Dllvm.ml406 external element_type : lltype -> lltype = "LLVMGetElementType"
/external/llvm/include/llvm-c/
DCore.h1085 LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty);
/external/llvm-project/llvm/include/llvm-c/
DCore.h1385 LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h1373 LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty);
/external/llvm/lib/IR/
DCore.cpp580 LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty) { in LLVMGetElementType() function
/external/llvm/bindings/go/llvm/
Dir.go617 func (t Type) ElementType() (rt Type) { rt.C = C.LLVMGetElementType(t.C); return }
/external/llvm-project/llvm/bindings/go/llvm/
Dir.go688 func (t Type) ElementType() (rt Type) { rt.C = C.LLVMGetElementType(t.C); return }

12