clang
6.0.0
|
An aggregate value slot. More...
#include "/work/www-prereleases/6.0.0/rc3/llvm.src/tools/clang/lib/CodeGen/CGValue.h"
Public Types | |
enum | IsAliased_t { IsNotAliased, IsAliased } |
enum | IsDestructed_t { IsNotDestructed, IsDestructed } |
enum | IsZeroed_t { IsNotZeroed, IsZeroed } |
enum | NeedsGCBarriers_t { DoesNotNeedGCBarriers, NeedsGCBarriers } |
Public Member Functions | |
IsDestructed_t | isExternallyDestructed () const |
void | setExternallyDestructed (bool destructed=true) |
Qualifiers | getQualifiers () const |
bool | isVolatile () const |
void | setVolatile (bool flag) |
Qualifiers::ObjCLifetime | getObjCLifetime () const |
NeedsGCBarriers_t | requiresGCollection () const |
llvm::Value * | getPointer () const |
Address | getAddress () const |
bool | isIgnored () const |
CharUnits | getAlignment () const |
IsAliased_t | isPotentiallyAliased () const |
RValue | asRValue () const |
void | setZeroed (bool V=true) |
IsZeroed_t | isZeroed () const |
Static Public Member Functions | |
static AggValueSlot | ignored () |
ignored - Returns an aggregate value slot indicating that the aggregate value is being ignored. More... | |
static AggValueSlot | forAddr (Address addr, Qualifiers quals, IsDestructed_t isDestructed, NeedsGCBarriers_t needsGC, IsAliased_t isAliased, IsZeroed_t isZeroed=IsNotZeroed) |
forAddr - Make a slot for an aggregate value. More... | |
static AggValueSlot | forLValue (const LValue &LV, IsDestructed_t isDestructed, NeedsGCBarriers_t needsGC, IsAliased_t isAliased, IsZeroed_t isZeroed=IsNotZeroed) |
|
inline |
Definition at line 571 of file CGValue.h.
Referenced by isBlockVarRef().
|
inlinestatic |
forAddr - Make a slot for an aggregate value.
quals | - The qualifiers that dictate how the slot should be initialied. Only 'volatile' and the Objective-C lifetime qualifiers matter. |
isDestructed | - true if something else is responsible for calling destructors on this object |
needsGC | - true if the slot is potentially located somewhere that ObjC GC calls should be emitted for |
Definition at line 495 of file CGValue.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), clang::CharUnits::getQuantity(), and clang::CodeGen::Address::isValid().
Referenced by createPlaceholderSlot(), EmitBaseInitializer(), clang::CodeGen::CodeGenFunction::EmitDelegatingCXXConstructorCall(), clang::CodeGen::CodeGenFunction::GenerateObjCAtomicGetterCopyHelperFunction(), InitCatchParam(), and StoreAnyExprIntoOneUnit().
|
inlinestatic |
Definition at line 517 of file CGValue.h.
References clang::CodeGen::LValue::getAddress(), and clang::CodeGen::LValue::getQuals().
Referenced by clang::CodeGen::CodeGenFunction::EmitAggExprToLValue(), clang::CodeGen::CodeGenFunction::EmitAtomicInit(), EmitDeclInit(), clang::CodeGen::CodeGenFunction::EmitExprAsInit(), clang::CodeGen::CodeGenFunction::EmitInitializerForField(), clang::CodeGen::CodeGenFunction::GenerateObjCCtorDtorMethod(), and isBlockVarRef().
|
inline |
Definition at line 555 of file CGValue.h.
Referenced by CheckAggExprForMemSetUse(), clang::CodeGen::CodeGenFunction::EmitAggExpr(), clang::CodeGen::CodeGenFunction::EmitAtomicLoad(), and isBlockVarRef().
|
inline |
|
inline |
Definition at line 543 of file CGValue.h.
References clang::Qualifiers::getObjCLifetime().
|
inline |
|
inline |
|
inlinestatic |
ignored - Returns an aggregate value slot indicating that the aggregate value is being ignored.
Definition at line 480 of file CGValue.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitAtomicLoad(), EmitAtomicUpdateValue(), and emitSimdlenSafelenClause().
|
inline |
Definition at line 526 of file CGValue.h.
Referenced by isBlockVarRef().
|
inline |
Definition at line 559 of file CGValue.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitAggExpr(), and clang::CodeGen::CodeGenFunction::EmitAtomicLoad().
|
inline |
Definition at line 567 of file CGValue.h.
Referenced by isTrivialFiller().
|
inline |
Definition at line 535 of file CGValue.h.
References clang::Qualifiers::hasVolatile().
Referenced by CheckAggExprForMemSetUse(), and isBlockVarRef().
|
inline |
Definition at line 580 of file CGValue.h.
Referenced by CheckAggExprForMemSetUse(), isSimpleZero(), and isTrivialFiller().
|
inline |
Definition at line 529 of file CGValue.h.
Referenced by isBlockVarRef().
|
inline |
Definition at line 539 of file CGValue.h.
References clang::Qualifiers::setVolatile().
Referenced by isBlockVarRef().
Definition at line 579 of file CGValue.h.
Referenced by CheckAggExprForMemSetUse().