clang  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo Class Reference

API for captured statement code generation. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h"

Public Member Functions

 CGCapturedStmtInfo (CapturedRegionKind K=CR_Default)
 
 CGCapturedStmtInfo (const CapturedStmt &S, CapturedRegionKind K=CR_Default)
 
virtual ~CGCapturedStmtInfo ()
 
CapturedRegionKind getKind () const
 
virtual void setContextValue (llvm::Value *V)
 
virtual llvm::ValuegetContextValue () const
 
virtual const FieldDecllookup (const VarDecl *VD) const
 Lookup the captured field decl for a variable. More...
 
bool isCXXThisExprCaptured () const
 
virtual FieldDeclgetThisFieldDecl () const
 
virtual void EmitBody (CodeGenFunction &CGF, const Stmt *S)
 Emit the captured statement body. More...
 
virtual StringRef getHelperName () const
 Get the name of the capture helper. More...
 

Static Public Member Functions

static bool classof (const CGCapturedStmtInfo *)
 

Detailed Description

API for captured statement code generation.

Definition at line 258 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ CGCapturedStmtInfo() [1/2]

clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::CGCapturedStmtInfo ( CapturedRegionKind  K = CR_Default)
inlineexplicit

Definition at line 260 of file CodeGenFunction.h.

◆ CGCapturedStmtInfo() [2/2]

clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::CGCapturedStmtInfo ( const CapturedStmt S,
CapturedRegionKind  K = CR_Default 
)
inlineexplicit

◆ ~CGCapturedStmtInfo()

CodeGenFunction::CGCapturedStmtInfo::~CGCapturedStmtInfo ( )
virtual

Definition at line 2186 of file CodeGenFunction.cpp.

Member Function Documentation

◆ classof()

static bool clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::classof ( const CGCapturedStmtInfo )
inlinestatic

Definition at line 296 of file CodeGenFunction.h.

◆ EmitBody()

virtual void clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::EmitBody ( CodeGenFunction CGF,
const Stmt S 
)
inlinevirtual

◆ getContextValue()

virtual llvm::Value* clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::getContextValue ( ) const
inlinevirtual

Definition at line 286 of file CodeGenFunction.h.

◆ getHelperName()

virtual StringRef clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::getHelperName ( ) const
inlinevirtual

Get the name of the capture helper.

Definition at line 307 of file CodeGenFunction.h.

◆ getKind()

CapturedRegionKind clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::getKind ( ) const
inline

Definition at line 282 of file CodeGenFunction.h.

◆ getThisFieldDecl()

virtual FieldDecl* clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::getThisFieldDecl ( ) const
inlinevirtual

Definition at line 294 of file CodeGenFunction.h.

◆ isCXXThisExprCaptured()

bool clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::isCXXThisExprCaptured ( ) const
inline

Definition at line 293 of file CodeGenFunction.h.

◆ lookup()

virtual const FieldDecl* clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::lookup ( const VarDecl VD) const
inlinevirtual

Lookup the captured field decl for a variable.

Definition at line 289 of file CodeGenFunction.h.

References clang::VarDecl::getCanonicalDecl().

Referenced by clang::CodeGen::CodeGenFunction::EmitOMPFirstprivateClause(), and emitPrivatesInit().

◆ setContextValue()

virtual void clang::CodeGen::CodeGenFunction::CGCapturedStmtInfo::setContextValue ( llvm::Value V)
inlinevirtual

Definition at line 284 of file CodeGenFunction.h.


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