ΒΆinline uint64_t alignTo(uint64_t Value,
                        uint64_t Align,
                        uint64_t Skew)

Description

If non-zero \p Skew is specified, the return value will be a minimal integer that is greater than or equal to \p Size and equal to \p A * N + \p Skew for some integer N. If \p Skew is larger than \p A, its value is adjusted to '\p Skew mod \p A'. \p Align must be non-zero. Examples:

Declared at: llvm/include/llvm/Support/MathExtras.h:768

Parameters

uint64_t Value
uint64_t Align
uint64_t Skew