[#llvm-alignToPowerOf2-0b8] = xref:llvm.adoc[llvm]::alignToPowerOf2 :relfileprefix: ../ :mrdocs: Fallback when arguments aren't integral. == Synopsis Declared in `<llvm/Support/MathExtras.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr uint64_t alignToPowerOf2( uint64_t Value, uint64_t Align); ---- == Return Value Value rounded up to the next multiple of Align. == Parameters [cols="1,4"] |=== | Name| Description | *Value* | Value to align upward. | *Align* | Power‐of‐two alignment; must be non‐zero. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#