|
clang
5.0.0
|
A "future" for a completed constant initializer, which can be passed around independently of any sub-builders (but not the original parent). More...
#include "clang/CodeGen/ConstantInitFuture.h"
Public Types | |
| enum | { NumLowBitsAvailable } |
Public Member Functions | |
| ConstantInitFuture () | |
| ConstantInitFuture (llvm::Constant *initializer) | |
| A future can be explicitly created from a fixed initializer. More... | |
| operator bool () const | |
| Is this future non-null? More... | |
| llvm::Type * | getType () const |
| Return the type of the initializer. More... | |
| void | abandon () |
| Abandon this initializer. More... | |
| void | installInGlobal (llvm::GlobalVariable *global) |
| Install the initializer into a global variable. More... | |
| void * | getOpaqueValue () const |
Static Public Member Functions | |
| static ConstantInitFuture | getFromOpaqueValue (void *value) |
Friends | |
| class | ConstantInitBuilderBase |
A "future" for a completed constant initializer, which can be passed around independently of any sub-builders (but not the original parent).
Definition at line 49 of file ConstantInitFuture.h.
| anonymous enum |
| Enumerator | |
|---|---|
| NumLowBitsAvailable | |
Definition at line 84 of file ConstantInitFuture.h.
|
inline |
Definition at line 58 of file ConstantInitFuture.h.
|
inlineexplicit |
A future can be explicitly created from a fixed initializer.
Definition at line 61 of file ConstantInitFuture.h.
| void ConstantInitFuture::abandon | ( | ) |
Abandon this initializer.
Definition at line 31 of file ConstantInitBuilder.cpp.
|
inlinestatic |
Definition at line 79 of file ConstantInitFuture.h.
|
inline |
Definition at line 78 of file ConstantInitFuture.h.
Referenced by llvm::PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitFuture >::getAsVoidPointer().
| llvm::Type * ConstantInitFuture::getType | ( | ) | const |
Return the type of the initializer.
Definition at line 22 of file ConstantInitBuilder.cpp.
References Buffer.
| void ConstantInitFuture::installInGlobal | ( | llvm::GlobalVariable * | global | ) |
Install the initializer into a global variable.
This cannot be called multiple times.
Definition at line 39 of file ConstantInitBuilder.cpp.
|
inlineexplicit |
|
friend |
Definition at line 54 of file ConstantInitFuture.h.
1.8.6