Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_struct.c86 LLVMValueRef element_ptr; in lp_build_array_get_ptr() local
91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); in lp_build_array_get_ptr()
93 lp_build_name(element_ptr, "&%s[%s]", in lp_build_array_get_ptr()
96 return element_ptr; in lp_build_array_get_ptr()
105 LLVMValueRef element_ptr; in lp_build_array_get() local
109 element_ptr = lp_build_array_get_ptr(gallivm, ptr, index); in lp_build_array_get()
110 res = LLVMBuildLoad(gallivm->builder, element_ptr, ""); in lp_build_array_get()
124 LLVMValueRef element_ptr; in lp_build_array_set() local
127 element_ptr = lp_build_array_get_ptr(gallivm, ptr, index); in lp_build_array_set()
128 LLVMBuildStore(gallivm->builder, value, element_ptr); in lp_build_array_set()
[all …]