clang  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
clang::CodeGen::CGBlockInfo::Capture Class Reference

#include <CGBlocks.h>

Public Member Functions

bool isIndex () const
 
bool isConstant () const
 
unsigned getIndex () const
 
llvm::ValuegetConstant () const
 
EHScopeStack::stable_iterator getCleanup () const
 
void setCleanup (EHScopeStack::stable_iterator cleanup)
 

Static Public Member Functions

static Capture makeIndex (unsigned index)
 
static Capture makeConstant (llvm::Value *value)
 

Detailed Description

Definition at line 152 of file CGBlocks.h.

Member Function Documentation

EHScopeStack::stable_iterator clang::CodeGen::CGBlockInfo::Capture::getCleanup ( ) const
inline

Definition at line 164 of file CGBlocks.h.

References isIndex().

Referenced by clang::CodeGen::CodeGenFunction::EmitBlockLiteral().

llvm::Value* clang::CodeGen::CGBlockInfo::Capture::getConstant ( ) const
inline

Definition at line 160 of file CGBlocks.h.

References isConstant().

Referenced by clang::CodeGen::CodeGenFunction::GenerateBlockFunction().

unsigned clang::CodeGen::CGBlockInfo::Capture::getIndex ( ) const
inline
bool clang::CodeGen::CGBlockInfo::Capture::isConstant ( ) const
inline
bool clang::CodeGen::CGBlockInfo::Capture::isIndex ( ) const
inline

Definition at line 157 of file CGBlocks.h.

Referenced by getCleanup(), getIndex(), isConstant(), and setCleanup().

static Capture clang::CodeGen::CGBlockInfo::Capture::makeConstant ( llvm::Value value)
inlinestatic

Definition at line 179 of file CGBlocks.h.

References v.

Referenced by computeBlockInfo().

static Capture clang::CodeGen::CGBlockInfo::Capture::makeIndex ( unsigned  index)
inlinestatic

Definition at line 173 of file CGBlocks.h.

References v.

void clang::CodeGen::CGBlockInfo::Capture::setCleanup ( EHScopeStack::stable_iterator  cleanup)
inline

Definition at line 168 of file CGBlocks.h.

References isIndex().

Referenced by enterBlockScope().


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