#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenFunction.h"
|
static Address | getAddrOfThreadPrivate (CodeGenFunction &CGF, const VarDecl *VD, Address VDAddr, SourceLocation Loc) |
| Returns address of the threadprivate variable for the current thread.
|
|
static Address | getAddressOfLocalVariable (CodeGenFunction &CGF, const VarDecl *VD) |
| Gets the OpenMP-specific address of the local variable /p VD.
|
|
static std::string | getNameWithSeparators (ArrayRef< StringRef > Parts, StringRef FirstSeparator=".", StringRef Separator=".") |
| Get the platform-specific name separator.
|
|
static void | FinalizeOMPRegion (CodeGenFunction &CGF, InsertPointTy IP) |
| Emit the Finalization for an OMP region.
|
|
static void | EmitOMPInlinedRegionBody (CodeGenFunction &CGF, const Stmt *RegionBodyStmt, InsertPointTy AllocaIP, InsertPointTy CodeGenIP, Twine RegionName) |
| Emit the body of an OMP region.
|
|
static void | EmitCaptureStmt (CodeGenFunction &CGF, InsertPointTy CodeGenIP, llvm::BasicBlock &FiniBB, llvm::Function *Fn, ArrayRef< llvm::Value * > Args) |
|
static void | EmitOMPOutlinedRegionBody (CodeGenFunction &CGF, const Stmt *RegionBodyStmt, InsertPointTy AllocaIP, InsertPointTy CodeGenIP, Twine RegionName) |
| Emit the body of an OMP region that will be outlined in OpenMPIRBuilder::finalize().
|
|
Definition at line 1880 of file CodeGenFunction.h.
◆ InsertPointTy
◆ OMPBuilderCBHelpers() [1/2]
clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPBuilderCBHelpers |
( |
| ) |
|
|
delete |
◆ OMPBuilderCBHelpers() [2/2]
clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::OMPBuilderCBHelpers |
( |
const OMPBuilderCBHelpers & |
| ) |
|
|
delete |
◆ EmitCaptureStmt()
static void clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::EmitCaptureStmt |
( |
CodeGenFunction & |
CGF, |
|
|
InsertPointTy |
CodeGenIP, |
|
|
llvm::BasicBlock & |
FiniBB, |
|
|
llvm::Function * |
Fn, |
|
|
ArrayRef< llvm::Value * > |
Args |
|
) |
| |
|
inlinestatic |
◆ EmitOMPInlinedRegionBody()
◆ EmitOMPOutlinedRegionBody()
◆ FinalizeOMPRegion()
◆ getAddressOfLocalVariable()
Gets the OpenMP-specific address of the local variable /p VD.
Definition at line 1669 of file CGStmtOpenMP.cpp.
References clang::CharUnits::alignTo(), clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CodeGenFunction::ConvertTypeForMem(), clang::CodeGen::CGBuilderTy::CreatePointerBitCastOrAddrSpaceCast(), clang::CodeGen::CodeGenFunction::EHStack, clang::CodeGen::CodeGenFunction::EmitScalarExpr(), clang::CharUnits::fromQuantity(), clang::Decl::getAttr(), clang::VarDecl::getCanonicalDecl(), clang::CodeGen::CodeGenModule::getContext(), clang::ASTContext::getDeclAlign(), clang::NamedDecl::getName(), getNameWithSeparators(), clang::CodeGen::CGOpenMPRuntime::getOMPBuilder(), clang::CodeGen::CodeGenModule::getOpenMPRuntime(), clang::ASTContext::getPointerType(), clang::CodeGen::CodeGenModule::getSize(), clang::ValueDecl::getType(), clang::CodeGen::CodeGenFunction::getTypeSize(), clang::ASTContext::getTypeSizeInChars(), clang::CodeGen::Address::invalid(), isAllocatableDecl(), clang::Type::isVariablyModifiedType(), clang::CodeGen::NormalAndEHCleanup, and clang::CodeGen::CodeGenTypeCache::VoidPtrTy.
◆ getAddrOfThreadPrivate()
Returns address of the threadprivate variable for the current thread.
This Also create any necessary OMP runtime calls.
- Parameters
-
VD | VarDecl for Threadprivate variable. |
VDAddr | Address of the Vardecl |
Loc | The location where the barrier directive was encountered |
Definition at line 1719 of file CGStmtOpenMP.cpp.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::Data, clang::CodeGen::Address::emitRawPointer(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::CodeGenModule::getContext(), clang::CodeGen::Address::getElementType(), clang::CodeGen::CodeGenModule::getLangOpts(), clang::CodeGen::CodeGenModule::getMangledName(), clang::CodeGen::CGOpenMPRuntime::getOMPBuilder(), clang::CodeGen::CodeGenModule::getOpenMPRuntime(), clang::CodeGen::CodeGenModule::getSize(), clang::ASTContext::getTargetInfo(), clang::CodeGen::CodeGenModule::GetTargetTypeStoreSize(), clang::CodeGen::CodeGenTypeCache::Int8PtrTy, clang::CodeGen::CodeGenTypeCache::Int8Ty, and clang::TargetInfo::isTLSSupported().
Referenced by EmitThreadPrivateVarDeclLValue().
◆ getNameWithSeparators()
std::string CodeGenFunction::OMPBuilderCBHelpers::getNameWithSeparators |
( |
ArrayRef< StringRef > |
Parts, |
|
|
StringRef |
FirstSeparator = "." , |
|
|
StringRef |
Separator = "." |
|
) |
| |
|
static |
Get the platform-specific name separator.
- Parameters
-
Parts | different parts of the final name that needs separation |
FirstSeparator | First separator used between the initial two parts of the name. |
Separator | separator used between all of the rest consecutinve parts of the name |
Definition at line 1742 of file CGStmtOpenMP.cpp.
Referenced by getAddressOfLocalVariable().
◆ operator=()
The documentation for this struct was generated from the following files: