Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp85 return IsAligned(reinterpret_cast<uptr>(Ptr), MinAlignment); in isAligned()
312 if (UNLIKELY(Alignment < MinAlignment)) in allocate()
313 Alignment = MinAlignment; in allocate()
325 const uptr NeededSize = RoundUpTo(Size ? Size : 1, MinAlignment) + in allocate()
327 const uptr AlignedSize = (Alignment > MinAlignment) ? in allocate()
348 if (PrimaryT::CanAllocate(AlignedSize, MinAlignment)) { in allocate()
501 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
535 void *NewPtr = allocate(NewSize, MinAlignment, FromMalloc); in reallocate()
571 return allocate(NMemB * Size, MinAlignment, FromMalloc, true); in calloc()
616 1 << MostSignificantSetBitIndex(SizeClassMap::kMaxSize - MinAlignment); in performSanityChecks()
[all …]
H A Dscudo_allocator_secondary.h58 return RoundUpTo(sizeof(Header), MinAlignment); in getHeaderSize()
79 if (UNLIKELY(Alignment > MinAlignment)) in Allocate()
104 if (UNLIKELY(Alignment > MinAlignment)) { in Allocate()
H A Dscudo_allocator.h58 const uptr MinAlignment = 1 << MinAlignmentLog; variable
69 return RoundUpTo(sizeof(PackedHeader), MinAlignment); in getHeaderSize()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dcombined.h299 uptr Alignment = MinAlignment,
309 if (Alignment < MinAlignment)
310 Alignment = MinAlignment;
337 roundUpTo(Size, MinAlignment) +
338 ((Alignment > MinAlignment) ? Alignment : Chunk::getHeaderSize());
514 UNUSED uptr Alignment = MinAlignment) {
540 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
851 if (!Ptr || !isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)) in isOwned()
965 static const uptr MinAlignment = 1UL << MinAlignmentLog; variable
970 static_assert(MinAlignment >= sizeof(Chunk::PackedHeader),
[all …]
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dcombined_test.cpp37 const scudo::uptr MinAlignment = 1UL << SCUDO_MIN_ALIGNMENT_LOG; in isPrimaryAllocation() local
38 if (Alignment < MinAlignment) in isPrimaryAllocation()
39 Alignment = MinAlignment; in isPrimaryAllocation()
41 scudo::roundUpTo(Size, MinAlignment) + in isPrimaryAllocation()
42 ((Alignment > MinAlignment) ? Alignment : scudo::Chunk::getHeaderSize()); in isPrimaryAllocation()
49 const scudo::uptr MinAlignment = 1UL << SCUDO_MIN_ALIGNMENT_LOG; in checkMemoryTaggingMaybe() local
50 Size = scudo::roundUpTo(Size, MinAlignment); in checkMemoryTaggingMaybe()
60 : Alignment == MinAlignment) { in checkMemoryTaggingMaybe()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DReorderData.cpp100 static constexpr uint16_t MinAlignment = 16; variable
367 uint16_t Alignment = std::max(BD->getAlignment(), MinAlignment); in setSectionOrder()
/llvm-project-15.0.7/llvm/test/TableGen/
H A Daddress-space-patfrags.td20 let MinAlignment = 2;
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructions.td417 int MinAlignment = Bytes;
H A DSIInstrInfo.td476 int MinAlignment = 8;
482 int MinAlignment = 16;
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td848 int MinAlignment = ?;
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMInstrMVE.td7175 let MinAlignment = 2 in {