|
Align | llvm::assumeAligned (uint64_t Value) |
| Treats the value 0 as a 1, so Align is always at least 1. More...
|
|
bool | llvm::isAligned (Align Lhs, uint64_t SizeInBytes) |
| Checks that SizeInBytes is a multiple of the alignment. More...
|
|
bool | llvm::isAddrAligned (Align Lhs, const void *Addr) |
| Checks that Addr is a multiple of the alignment. More...
|
|
uint64_t | llvm::alignTo (uint64_t Size, Align A) |
| Returns a multiple of A needed to store Size bytes. More...
|
|
uint64_t | llvm::alignTo (uint64_t Size, Align A, uint64_t Skew) |
| If non-zero Skew is specified, the return value will be a minimal integer that is greater than or equal to Size and equal to A * N + Skew for some integer N. More...
|
|
uintptr_t | llvm::alignAddr (const void *Addr, Align Alignment) |
| Aligns Addr to Alignment bytes, rounding up. More...
|
|
uint64_t | llvm::offsetToAlignment (uint64_t Value, Align Alignment) |
| Returns the offset to the next integer (mod 2**64) that is greater than or equal to Value and is a multiple of Align . More...
|
|
uint64_t | llvm::offsetToAlignedAddr (const void *Addr, Align Alignment) |
| Returns the necessary adjustment for aligning Addr to Alignment bytes, rounding up. More...
|
|
unsigned | llvm::Log2 (Align A) |
| Returns the log2 of the alignment. More...
|
|
Align | llvm::commonAlignment (Align A, Align B) |
| Returns the alignment that satisfies both alignments. More...
|
|
Align | llvm::commonAlignment (Align A, uint64_t Offset) |
| Returns the alignment that satisfies both alignments. More...
|
|
unsigned | llvm::encode (MaybeAlign A) |
| Returns a representation of the alignment that encodes undefined as 0. More...
|
|
MaybeAlign | llvm::decodeMaybeAlign (unsigned Value) |
| Dual operation of the encode function above. More...
|
|
unsigned | llvm::encode (Align A) |
| Returns a representation of the alignment, the encoded value is positive by definition. More...
|
|
bool | llvm::operator== (Align Lhs, uint64_t Rhs) |
| Comparisons between Align and scalars. Rhs must be positive. More...
|
|
bool | llvm::operator!= (Align Lhs, uint64_t Rhs) |
|
bool | llvm::operator<= (Align Lhs, uint64_t Rhs) |
|
bool | llvm::operator>= (Align Lhs, uint64_t Rhs) |
|
bool | llvm::operator< (Align Lhs, uint64_t Rhs) |
|
bool | llvm::operator> (Align Lhs, uint64_t Rhs) |
|
bool | llvm::operator== (MaybeAlign Lhs, uint64_t Rhs) |
| Comparisons between MaybeAlign and scalars. More...
|
|
bool | llvm::operator!= (MaybeAlign Lhs, uint64_t Rhs) |
|
bool | llvm::operator== (Align Lhs, Align Rhs) |
| Comparisons operators between Align. More...
|
|
bool | llvm::operator!= (Align Lhs, Align Rhs) |
|
bool | llvm::operator<= (Align Lhs, Align Rhs) |
|
bool | llvm::operator>= (Align Lhs, Align Rhs) |
|
bool | llvm::operator< (Align Lhs, Align Rhs) |
|
bool | llvm::operator> (Align Lhs, Align Rhs) |
|
bool | llvm::operator<= (Align Lhs, MaybeAlign Rhs)=delete |
|
bool | llvm::operator>= (Align Lhs, MaybeAlign Rhs)=delete |
|
bool | llvm::operator< (Align Lhs, MaybeAlign Rhs)=delete |
|
bool | llvm::operator> (Align Lhs, MaybeAlign Rhs)=delete |
|
bool | llvm::operator<= (MaybeAlign Lhs, Align Rhs)=delete |
|
bool | llvm::operator>= (MaybeAlign Lhs, Align Rhs)=delete |
|
bool | llvm::operator< (MaybeAlign Lhs, Align Rhs)=delete |
|
bool | llvm::operator> (MaybeAlign Lhs, Align Rhs)=delete |
|
bool | llvm::operator<= (MaybeAlign Lhs, MaybeAlign Rhs)=delete |
|
bool | llvm::operator>= (MaybeAlign Lhs, MaybeAlign Rhs)=delete |
|
bool | llvm::operator< (MaybeAlign Lhs, MaybeAlign Rhs)=delete |
|
bool | llvm::operator> (MaybeAlign Lhs, MaybeAlign Rhs)=delete |
|
std::string | llvm::DebugStr (const Align &A) |
|
std::string | llvm::DebugStr (const MaybeAlign &MA) |
|