clang API Documentation
#include <CodeGenFunction.h>
Public Member Functions | |
ConstantEmission () | |
LLVM_EXPLICIT | operator bool () const |
bool | isReference () const |
LValue | getReferenceLValue (CodeGenFunction &CGF, Expr *refExpr) const |
llvm::Constant * | getValue () const |
Static Public Member Functions | |
static ConstantEmission | forReference (llvm::Constant *C) |
static ConstantEmission | forValue (llvm::Constant *C) |
Definition at line 2201 of file CodeGenFunction.h.
clang::CodeGen::CodeGenFunction::ConstantEmission::ConstantEmission | ( | ) | [inline] |
Definition at line 2206 of file CodeGenFunction.h.
Referenced by forReference(), and forValue().
static ConstantEmission clang::CodeGen::CodeGenFunction::ConstantEmission::forReference | ( | llvm::Constant * | C | ) | [inline, static] |
Definition at line 2207 of file CodeGenFunction.h.
References ConstantEmission().
Referenced by clang::CodeGen::CodeGenFunction::tryEmitAsConstant().
static ConstantEmission clang::CodeGen::CodeGenFunction::ConstantEmission::forValue | ( | llvm::Constant * | C | ) | [inline, static] |
Definition at line 2210 of file CodeGenFunction.h.
References ConstantEmission().
Referenced by clang::CodeGen::CodeGenFunction::tryEmitAsConstant().
LValue clang::CodeGen::CodeGenFunction::ConstantEmission::getReferenceLValue | ( | CodeGenFunction & | CGF, |
Expr * | refExpr | ||
) | const [inline] |
Definition at line 2219 of file CodeGenFunction.h.
References clang::Expr::getType(), isReference(), and clang::CodeGen::CodeGenFunction::MakeNaturalAlignAddrLValue().
llvm::Constant* clang::CodeGen::CodeGenFunction::ConstantEmission::getValue | ( | ) | const [inline] |
Definition at line 2225 of file CodeGenFunction.h.
References isReference().
bool clang::CodeGen::CodeGenFunction::ConstantEmission::isReference | ( | ) | const [inline] |
Definition at line 2218 of file CodeGenFunction.h.
Referenced by getReferenceLValue(), and getValue().
LLVM_EXPLICIT clang::CodeGen::CodeGenFunction::ConstantEmission::operator bool | ( | ) | const [inline] |
Definition at line 2214 of file CodeGenFunction.h.