Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.h23 static constexpr size_t ExpectedAlignment = 8; variable
27 static_assert(sizeof(void *) == ExpectedAlignment);
70 static_assert(alignof(Arena) == ExpectedAlignment);
74 static_assert(alignof(ContextNode) == ExpectedAlignment);
H A DCtxInstrProfiling.cpp97 assert(reinterpret_cast<uint64_t>(Place) % ExpectedAlignment == 0); in allocContextNode()
144 Size + sizeof(Arena), /*cache=*/nullptr, /*alignment=*/ExpectedAlignment)) in allocateNewArena()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp14197 CharUnits ExpectedAlignment = Context.getTypeAlignInChars(E->getType()); in RefersToMemberWithReducedAlignment() local
14200 if (ExpectedAlignment.isOne()) in RefersToMemberWithReducedAlignment()
14222 if (Offset % ExpectedAlignment != 0 || in RefersToMemberWithReducedAlignment()
14225 CompleteObjectAlignment < ExpectedAlignment) { in RefersToMemberWithReducedAlignment()