Home
last modified time | relevance | path

Searched refs:MinAlignment (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp79 return IsAligned(reinterpret_cast<uptr>(Ptr), MinAlignment); in isAligned()
300 if (UNLIKELY(Alignment < MinAlignment)) in allocate()
301 Alignment = MinAlignment; in allocate()
303 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) + in allocate()
305 const uptr AlignedSize = (Alignment > MinAlignment) ? in allocate()
326 if (PrimaryT::CanAllocate(AlignedSize, MinAlignment)) { in allocate()
493 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
523 return allocate(NMemB * Size, MinAlignment, FromMalloc, true); in calloc()
568 1 << MostSignificantSetBitIndex(SizeClassMap::kMaxSize - MinAlignment); in performSanityChecks()
657 return SetErrnoOnNull(Instance.allocate(Size, MinAlignment, FromMalloc)); in scudoRealloc()
H A Dscudo_allocator_secondary.h59 return RoundUpTo(sizeof(Header), MinAlignment); in getHeaderSize()
80 if (UNLIKELY(Alignment > MinAlignment)) in Allocate()
105 if (UNLIKELY(Alignment > MinAlignment)) { in Allocate()
H A Dscudo_allocator.h59 const uptr MinAlignment = 1 << MinAlignmentLog; variable
70 return RoundUpTo(sizeof(PackedHeader), MinAlignment); in getHeaderSize()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3038 unsigned MinAlignment; in mergeConditionalStoreToAddress() local
3040 std::tie(MinAlignment, MaxAlignment) = std::minmax(PAlignment, QAlignment); in mergeConditionalStoreToAddress()
3045 if (MinAlignment != 0) { in mergeConditionalStoreToAddress()
3047 SI->setAlignment(MinAlignment); in mergeConditionalStoreToAddress()