Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_mapping.h19 #define SHADOW_SCALE kDefaultShadowScale macro
23 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE)
37 ((((mem) & SHADOW_MASK) >> SHADOW_SCALE) + (SHADOW_OFFSET))
65 ((((mem) & HISTOGRAM_SHADOW_MASK) >> SHADOW_SCALE) + (SHADOW_OFFSET))
67 #define SHADOW_ENTRY_SIZE (MEM_GRANULARITY >> SHADOW_SCALE)
90 inline uptr MemToShadowSize(uptr size) { return size >> SHADOW_SCALE; } in MemToShadowSize()
H A Dmemprof_rtl.cpp125 kHighMemEnd |= (GetMmapGranularity() << SHADOW_SCALE) - 1; in InitializeHighMemEnd()
153 Printf("SHADOW_SCALE: %d\n", (int)SHADOW_SCALE); in PrintAddressSpaceLayout()
156 CHECK(SHADOW_SCALE >= 3 && SHADOW_SCALE <= 7); in PrintAddressSpaceLayout()
H A Dmemprof_linux.cpp60 return MapDynamicShadow(shadow_size_bytes, SHADOW_SCALE, in FindDynamicShadowStart()