LLVM
8.0.1
|
RoundUpToPowerOfTwo - This is a helper template that rounds N up to the next power of two (which means N itself if N is already a power of two). More...
#include "llvm/ADT/SmallPtrSet.h"
Public Types | |
enum | { Val = RoundUpToPowerOfTwoH<N, (N&(N-1)) == 0>::Val } |
RoundUpToPowerOfTwo - This is a helper template that rounds N up to the next power of two (which means N itself if N is already a power of two).
Definition at line 316 of file SmallPtrSet.h.
anonymous enum |
Enumerator | |
---|---|
Val |
Definition at line 335 of file SmallPtrSet.h.