LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
llvm::RoundUpToPowerOfTwo< N > Struct Template Reference

#include <SmallPtrSet.h>

Public Types

enum  { Val = RoundUpToPowerOfTwoH<N, (N&(N-1)) == 0>::Val }
 

Detailed Description

template<unsigned N>
struct llvm::RoundUpToPowerOfTwo< N >

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 208 of file SmallPtrSet.h.

Member Enumeration Documentation

template<unsigned N>
anonymous enum
Enumerator
Val 

Definition at line 227 of file SmallPtrSet.h.


The documentation for this struct was generated from the following file: