clang
10.0.0git
|
The class used to assign some variables some temporarily addresses. More...
#include "/work/www-prereleases/10.0.0/rc2/docsbuild/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... | |
The class used to assign some variables some temporarily addresses.
Definition at line 824 of file CodeGenFunction.h.
|
explicitdefault |
|
inline |
Definition at line 832 of file CodeGenFunction.h.
|
inline |
Applies new addresses to the list of the variables.
Definition at line 867 of file CodeGenFunction.h.
Referenced by emitPreCond(), and clang::CodeGen::CodeGenFunction::OMPPrivateScope::Privatize().
|
inline |
Restores original addresses of the variables.
Definition at line 874 of file CodeGenFunction.h.
Referenced by emitPreCond(), and clang::CodeGen::CodeGenFunction::OMPPrivateScope::ForceCleanup().
|
inline |
Sets the address of the variable LocalVD
to be TempAddr
in function CGF
.
Definition at line 839 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CreateMemTemp(), clang::CodeGen::CGBuilderTy::CreateStore(), clang::VarDecl::getCanonicalDecl(), clang::CodeGen::Address::getPointer(), clang::ValueDecl::getType(), and clang::Type::isReferenceType().
Referenced by clang::CodeGen::CodeGenFunction::OMPPrivateScope::addPrivate(), and emitPreCond().