clang 20.0.0git
|
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. | |
The class used to assign some variables some temporarily addresses.
Definition at line 1085 of file CodeGenFunction.h.
|
explicitdefault |
|
inline |
Definition at line 1093 of file CodeGenFunction.h.
|
inline |
Applies new addresses to the list of the variables.
Definition at line 1128 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::OMPPrivateScope::Privatize().
|
inline |
Restores original addresses of the variables.
Definition at line 1135 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::OMPPrivateScope::restoreMap().
|
inline |
Sets the address of the variable LocalVD
to be TempAddr
in function CGF
.
Definition at line 1100 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CreateMemTemp(), clang::CodeGen::CGBuilderTy::CreateStore(), clang::CodeGen::Address::emitRawPointer(), clang::VarDecl::getCanonicalDecl(), clang::ValueDecl::getType(), clang::CodeGen::Address::invalid(), and clang::Type::isReferenceType().
Referenced by clang::CodeGen::CodeGenFunction::OMPPrivateScope::addPrivate().