clang 24.0.0git
clang::CodeGen::CodeGenFunction::OMPMapVars Class Reference

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

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenFunction.h"

Public Member Functions

 OMPMapVars ()=default
 ~OMPMapVars ()
bool setVarAddr (CodeGenFunction &CGF, const ValueDecl *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 1158 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ OMPMapVars()

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

◆ ~OMPMapVars()

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

Definition at line 1166 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 1205 of file CodeGenFunction.h.

Referenced by emitPreCond().

◆ restore()

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

Restores original addresses of the variables.

Definition at line 1212 of file CodeGenFunction.h.

Referenced by emitPreCond().

◆ setVarAddr()

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

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