Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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.cpp55 while (next_bp != bp && IsAligned(next_bp, sizeof(uhwptr)) && i++ < 8) { in UnwindFast()
65 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.cpp198 if (IsAligned(mapped_addr, alignment)) in MmapAlignedOrDieOnFatalError()
208 (mapped_addr == 0 || !IsAligned(mapped_addr, alignment)); in MmapAlignedOrDieOnFatalError()
396 CHECK(IsAligned(shadow_start, alignment)); in MapDynamicShadow()
H A Dsanitizer_posix.cpp95 if (!IsAligned(res, alignment)) { in MmapAlignedOrDieOnFatalError()
H A Dsanitizer_allocator_primary32.h306 CHECK(IsAligned(res, kRegionSize)); in AllocateRegion()
/llvm-project-15.0.7/clang/lib/Format/
H A DContinuationIndenter.h205 NestedBlockIndent(Indent), IsAligned(false), in ParenState()
271 bool IsAligned : 1; member
368 if (IsAligned != Other.IsAligned)
369 return IsAligned;
H A DWhitespaceManager.h118 bool IsAligned, bool ContinuesPPDirective, bool IsInsideToken);
134 bool IsAligned; member
345 bool IsAligned);
H A DWhitespaceManager.cpp35 StringRef CurrentLinePrefix, bool IsAligned, in Change() argument
41 CurrentLinePrefix(CurrentLinePrefix), IsAligned(IsAligned), in Change()
51 bool IsAligned, bool InPPDirective) { in replaceWhitespace() argument
57 IsAligned, InPPDirective && !Tok.IsFirst, in replaceWhitespace()
1402 C.IsAligned); in generateChanges()
1455 bool IsAligned) { in appendIndentText() argument
1496 IsAligned ? IndentLevel * Style.IndentWidth : Spaces; in appendIndentText()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp159 CHECK(IsAligned(p, kShadowAlignment)); in TagMemoryAligned()
160 CHECK(IsAligned(size, kShadowAlignment)); in TagMemoryAligned()
H A Dhwasan_linux.cpp415 CHECK(IsAligned(p, kShadowAlignment)); in TagMemoryAligned()
416 CHECK(IsAligned(size, kShadowAlignment)); in TagMemoryAligned()
H A Dhwasan_thread_list.h180 CHECK(IsAligned(free_space_, align)); in AllocThread()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator_secondary.h91 DCHECK(IsAligned(ReservedBeg, PageSize)); in Allocate()
105 if (!IsAligned(UserBeg, Alignment)) { in Allocate()
H A Dscudo_allocator.cpp85 return IsAligned(reinterpret_cast<uptr>(Ptr), MinAlignment); in isAligned()
374 if (UNLIKELY(!IsAligned(UserPtr, Alignment))) { in allocate()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DX86FoldTablesEmitter.cpp109 bool IsAligned = false; member in __anone539286b0111::X86FoldTablesEmitter::X86FoldTableEntry
130 if (IsAligned) in print()
435 Result.IsAligned = true; in addEntryWithFlags()
442 Result.IsAligned = true; in addEntryWithFlags()
/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_shadow_test.cpp102 CHECK(IsAligned(reinterpret_cast<uptr>(data), kShadowSize)); in TEST()
104 CHECK(IsAligned(reinterpret_cast<uptr>(s0), kShadowSize)); in TEST()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp77 CHECK(IsAligned(end, ASAN_SHADOW_GRANULARITY)); in AsanPoisonOrUnpoisonIntraObjectRedzone()
78 if (!IsAligned(ptr, ASAN_SHADOW_GRANULARITY)) { in AsanPoisonOrUnpoisonIntraObjectRedzone()
358 IsAligned(beg, granularity))) { in __sanitizer_annotate_contiguous_container()
H A Dasan_allocator.cpp509 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
551 if (!IsAligned(user_beg, alignment)) in Allocate()
1038 CHECK(IsAligned((uptr)ptr, alignment)); in asan_posix_memalign()
/llvm-project-15.0.7/libc/benchmarks/
H A DLibcMemoryBenchmarkTest.cpp26 TEST(AlignedBuffer, IsAligned) { in TEST() argument
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp367 CHECK(IsAligned(needed_size, min_alignment)); in Allocate()
400 if (!IsAligned(user_beg, alignment)) in Allocate()
680 CHECK(IsAligned((uptr)ptr, alignment)); in memprof_posix_memalign()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp264 CHECK(IsAligned((uptr)ptr, alignment)); in dfsan_posix_memalign()
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp167 CHECK(IsAligned((uptr)ptr, alignment)); in lsan_posix_memalign()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp349 CHECK(IsAligned((uptr)ptr, alignment)); in msan_posix_memalign()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_mman.cpp298 CHECK(IsAligned((uptr)ptr, align)); in user_posix_memalign()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cpp320 CHECK(IsAligned((uptr)ptr, align)); in user_posix_memalign()

12