clang 19.0.0git
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 "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/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.
 
bool apply (CodeGenFunction &CGF)
 Applies new addresses to the list of the variables.
 
void restore (CodeGenFunction &CGF)
 Restores original addresses of the variables.
 

Detailed Description

The class used to assign some variables some temporarily addresses.

Definition at line 1019 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ OMPMapVars()

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

◆ ~OMPMapVars()

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

Definition at line 1027 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 1062 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 1069 of file CodeGenFunction.h.

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

◆ 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: