clang  7.0.0svn
Public Member Functions | List of all members
clang::CodeGen::CodeGenFunction::OMPMapVars Class Reference

The class used to assign some variables some temporarily addresses. More...

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

Public Member Functions

 OMPMapVars ()=default
 
 ~OMPMapVars ()
 
bool setVarAddr (CodeGenFunction &CGF, const VarDecl *LocalVD, Address TempAddr)
 Sets the address of the variable LocalVD to be TempAddr in function CGF. More...
 
bool apply (CodeGenFunction &CGF)
 Applies new addresses to the list of the variables. More...
 
void restore (CodeGenFunction &CGF)
 Restores original addresses of the variables. More...
 

Detailed Description

The class used to assign some variables some temporarily addresses.

Definition at line 704 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ OMPMapVars()

clang::CodeGen::CodeGenFunction::OMPMapVars::OMPMapVars ( )
explicitdefault

◆ ~OMPMapVars()

clang::CodeGen::CodeGenFunction::OMPMapVars::~OMPMapVars ( )
inline

Definition at line 712 of file CodeGenFunction.h.

Member Function Documentation

◆ apply()

bool clang::CodeGen::CodeGenFunction::OMPMapVars::apply ( CodeGenFunction CGF)
inline

Applies new addresses to the list of the variables.

Returns
true if at least one variable is using new address, false otherwise.

Definition at line 747 of file CodeGenFunction.h.

Referenced by clang::CodeGen::CodeGenFunction::OMPPrivateScope::Privatize().

◆ restore()

void clang::CodeGen::CodeGenFunction::OMPMapVars::restore ( CodeGenFunction CGF)
inline

Restores original addresses of the variables.

Definition at line 754 of file CodeGenFunction.h.

Referenced by clang::CodeGen::CodeGenFunction::OMPPrivateScope::ForceCleanup().

◆ setVarAddr()

bool clang::CodeGen::CodeGenFunction::OMPMapVars::setVarAddr ( CodeGenFunction CGF,
const VarDecl LocalVD,
Address  TempAddr 
)
inline

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