Home
last modified time | relevance | path

Searched refs:IsAligned (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_secondary.h101 CHECK(IsAligned(map_beg, page_size_)); in Allocate()
107 CHECK(IsAligned(res, alignment)); in Allocate()
108 CHECK(IsAligned(res, page_size_)); in Allocate()
175 if (!IsAligned(reinterpret_cast<uptr>(p), page_size_)) { in GetMetaData()
177 CHECK(IsAligned(reinterpret_cast<uptr>(p), page_size_)); in GetMetaData()
297 CHECK(IsAligned(p, page_size_)); in GetHeader()
305 CHECK(IsAligned((uptr)h, page_size_)); in GetUser()
H A Dsanitizer_stacktrace_sparc.cpp49 while (next_bp != bp && IsAligned(next_bp, sizeof(uhwptr)) && i++ < 8) { in UnwindFast()
59 while (IsValidFrame(bp, stack_top, bottom) && IsAligned(bp, sizeof(uhwptr)) && in UnwindFast()
H A Dsanitizer_stacktrace.cpp111 IsAligned((uptr)frame, sizeof(*frame)) && in UnwindFast()
119 !IsAligned((uptr)caller_frame, sizeof(uhwptr))) in UnwindFast()
H A Dsanitizer_win.cpp212 if (IsAligned(mapped_addr, alignment)) in MmapAlignedOrDieOnFatalError()
222 (mapped_addr == 0 || !IsAligned(mapped_addr, alignment)); in MmapAlignedOrDieOnFatalError()
414 CHECK(IsAligned(shadow_start, alignment)); in MapDynamicShadow()
H A Dsanitizer_allocator_primary32.h306 CHECK(IsAligned(res, kRegionSize)); in AllocateRegion()
H A Dsanitizer_posix.cpp97 if (!IsAligned(res, alignment)) { in MmapAlignedOrDieOnFatalError()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.h201 NestedBlockIndent(Indent), IsAligned(false), in ParenState()
268 bool IsAligned : 1; member
367 if (IsAligned != Other.IsAligned)
368 return IsAligned;
H A DWhitespaceManager.h53 unsigned StartOfTokenColumn, bool IsAligned = false,
113 bool IsAligned, bool ContinuesPPDirective, bool IsInsideToken);
129 bool IsAligned; member
358 bool IsAligned);
H A DWhitespaceManager.cpp40 StringRef CurrentLinePrefix, bool IsAligned, in Change() argument
46 CurrentLinePrefix(CurrentLinePrefix), IsAligned(IsAligned), in Change()
56 bool IsAligned, bool InPPDirective) { in replaceWhitespace() argument
62 IsAligned, InPPDirective && !Tok.IsFirst, in replaceWhitespace()
1682 C.IsAligned); in generateChanges()
1738 bool IsAligned) { in appendIndentText() argument
1779 IsAligned ? IndentLevel * Style.IndentWidth : Spaces; in appendIndentText()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp168 CHECK(IsAligned(p, kShadowAlignment)); in TagMemoryAligned()
169 CHECK(IsAligned(size, kShadowAlignment)); in TagMemoryAligned()
H A Dhwasan_interceptors.cpp201 DCHECK(IsAligned(beg, GetPageSize())); in mmap_interceptor()
220 if (length && IsAligned(beg, GetPageSize())) { in munmap_interceptor()
H A Dhwasan_linux.cpp507 CHECK(IsAligned(p, kShadowAlignment)); in TagMemoryAligned()
508 CHECK(IsAligned(size, kShadowAlignment)); in TagMemoryAligned()
H A Dhwasan_thread_list.h201 CHECK(IsAligned(free_space_, align)); in AllocThread()
H A Dhwasan_checks.h130 DCHECK(IsAligned(ptr, kShadowAlignment)); in ShortTagSize()
/freebsd/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack_util.h36 inline constexpr bool IsAligned(size_t a, size_t alignment) { in IsAligned() function
H A Dsafestack_platform.h155 SFS_CHECK(IsAligned(offset, 4096)); in Mmap()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp50 bool IsAligned = Ptr->getPointerAlignment(DL) >= Alignment; in isDereferenceableAndAlignedPointerViaAssumption() local
60 IsAligned |= AlignRK && AlignRK.ArgValue >= Alignment.value(); in isDereferenceableAndAlignedPointerViaAssumption()
61 if (IsAligned && DerefRK && CheckSize(DerefRK)) in isDereferenceableAndAlignedPointerViaAssumption()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp435 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
468 if (!IsAligned(user_beg, alignment)) in Allocate()
745 CHECK(IsAligned((uptr)ptr, alignment)); in memprof_posix_memalign()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors.cpp158 DCHECK(IsAligned(beg, GetPageSize()));
172 if (length && IsAligned(beg, GetPageSize())) { in munmap_interceptor()
H A Dasan_allocator.cpp571 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
604 if (!IsAligned(user_beg, alignment)) in Allocate()
1105 CHECK(IsAligned((uptr)ptr, alignment)); in asan_posix_memalign()
H A Dasan_poisoning.cpp125 CHECK(IsAligned(end, ASAN_SHADOW_GRANULARITY)); in AsanPoisonOrUnpoisonIntraObjectRedzone()
126 if (!IsAligned(ptr, ASAN_SHADOW_GRANULARITY)) { in AsanPoisonOrUnpoisonIntraObjectRedzone()
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp296 CHECK(IsAligned((uptr)ptr, alignment)); in dfsan_posix_memalign()
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_allocator.cpp300 DCHECK(IsAligned((uptr)ptr, alignment)); in nsan_posix_memalign()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp190 CHECK(IsAligned((uptr)ptr, alignment)); in lsan_posix_memalign()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp413 CHECK(IsAligned((uptr)ptr, alignment)); in msan_posix_memalign()

12