Home
last modified time | relevance | path

Searched refs:addr_to_offset (Results 1 - 3 of 3) sorted by relevance

/third_party/musl/porting/linux/user/ldso/
H A Dcfi.c122 static inline uintptr_t addr_to_offset(uintptr_t addr, int bits) in addr_to_offset() function
202 uintptr_t offset = addr_to_offset(addr, shadow_granularity); in cfi_slowpath_common()
418 char* shadow_begin = cfi_shadow_start + addr_to_offset(begin, LIBRARY_ALIGNMENT_BITS); in fill_shadow_value_to_shadow()
419 char* shadow_end = (char*)(((uint16_t*)(cfi_shadow_start + addr_to_offset(end - 1, LIBRARY_ALIGNMENT_BITS))) + 1); in fill_shadow_value_to_shadow()
/third_party/musl/ldso/linux/
H A Dcfi.c129 static inline uintptr_t addr_to_offset(uintptr_t addr, int bits) in addr_to_offset() function
210 uintptr_t offset = addr_to_offset(addr, shadow_granularity); in cfi_slowpath_common()
478 char* shadow_begin = cfi_shadow_start + addr_to_offset(begin, LIBRARY_ALIGNMENT_BITS); in fill_shadow_value_to_shadow()
479 char* shadow_end = (char*)(((uint16_t*)(cfi_shadow_start + addr_to_offset(end - 1, LIBRARY_ALIGNMENT_BITS))) + 1); in fill_shadow_value_to_shadow()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_io.c1093 addr_to_offset(nir_builder *b, nir_ssa_def *addr, in addr_to_offset() function
1488 load->src[0] = nir_src_for_ssa(addr_to_offset(b, addr, addr_format)); in build_explicit_io_load()
1491 load->src[1] = nir_src_for_ssa(addr_to_offset(b, addr, addr_format)); in build_explicit_io_load()
1709 store->src[1] = nir_src_for_ssa(addr_to_offset(b, addr, addr_format)); in build_explicit_io_store()
1712 store->src[2] = nir_src_for_ssa(addr_to_offset(b, addr, addr_format)); in build_explicit_io_store()
1818 atomic->src[src++] = nir_src_for_ssa(addr_to_offset(b, addr, addr_format)); in build_explicit_io_atomic()
1821 atomic->src[src++] = nir_src_for_ssa(addr_to_offset(b, addr, addr_format)); in build_explicit_io_atomic()
2168 nir_ssa_def *offset = addr_to_offset(b, addr, addr_format); in lower_explicit_io_array_length()

Completed in 6 milliseconds