Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_mapping.h23 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE) macro
128 return (a & (SHADOW_GRANULARITY - 1)) == 0; in AddrIsAlignedByGranularity()
H A Dmemprof_rtl.cpp154 Printf("SHADOW_GRANULARITY: %d\n", (int)SHADOW_GRANULARITY); in PrintAddressSpaceLayout()
195 SetLowLevelAllocateMinAlignment(SHADOW_GRANULARITY); in MemprofInitInternal()
H A Dmemprof_allocator.cpp247 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY)); in ClearShadow()
256 shadow_end = MEM_TO_SHADOW(addr + size - SHADOW_GRANULARITY) + 1; in ClearShadow()
482 RoundDownTo(size, SHADOW_GRANULARITY); in Allocate()