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

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGBlocks.h"

Public Member Functions

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

Static Public Member Functions

static Capture makeIndex (unsigned index, CharUnits offset, QualType FieldType)
static Capture makeConstant (llvm::Value *value)

Detailed Description

Definition at line 160 of file CGBlocks.h.

Member Function Documentation

◆ fieldType()

QualType clang::CodeGen::CGBlockInfo::Capture::fieldType ( ) const

◆ getCleanup()

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

Definition at line 182 of file CGBlocks.h.

References isIndex().

◆ getConstant()

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

Definition at line 191 of file CGBlocks.h.

References isConstant().

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

◆ getIndex()

unsigned clang::CodeGen::CGBlockInfo::Capture::getIndex ( ) const

◆ getOffset()

CharUnits clang::CodeGen::CGBlockInfo::Capture::getOffset ( ) const

Definition at line 178 of file CGBlocks.h.

References clang::CharUnits::fromQuantity(), isIndex(), and Offset.

◆ isConstant()

bool clang::CodeGen::CGBlockInfo::Capture::isConstant ( ) const

◆ isIndex()

bool clang::CodeGen::CGBlockInfo::Capture::isIndex ( ) const

Definition at line 171 of file CGBlocks.h.

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

◆ makeConstant()

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

Definition at line 209 of file CGBlocks.h.

References v.

Referenced by computeBlockInfo().

◆ makeIndex()

static Capture clang::CodeGen::CGBlockInfo::Capture::makeIndex ( unsigned  index,
CharUnits  offset,
QualType  FieldType 

Definition at line 200 of file CGBlocks.h.

References clang::CharUnits::getQuantity(), and v.

◆ setCleanup()

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

Definition at line 186 of file CGBlocks.h.

References clang::format::cleanup(), and isIndex().

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