Searched refs:MinAlignment (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator.cpp | 85 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 D | scudo_allocator_secondary.h | 58 return RoundUpTo(sizeof(Header), MinAlignment); in getHeaderSize() 79 if (UNLIKELY(Alignment > MinAlignment)) in Allocate() 104 if (UNLIKELY(Alignment > MinAlignment)) { in Allocate()
|
| H A D | scudo_allocator.h | 58 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 D | combined.h | 299 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 D | combined_test.cpp | 37 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 D | ReorderData.cpp | 100 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 D | address-space-patfrags.td | 20 let MinAlignment = 2;
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructions.td | 417 int MinAlignment = Bytes;
|
| H A D | SIInstrInfo.td | 476 int MinAlignment = 8; 482 int MinAlignment = 16;
|
| /llvm-project-15.0.7/llvm/include/llvm/Target/ |
| H A D | TargetSelectionDAG.td | 848 int MinAlignment = ?;
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMInstrMVE.td | 7175 let MinAlignment = 2 in {
|