clang
3.9.0
|
#include <CGOpenMPRuntime.h>
Protected Member Functions | |
virtual void | createOffloadEntry (llvm::Constant *ID, llvm::Constant *Addr, uint64_t Size) |
Creates offloading entry for the provided entry ID ID, address Addr and size Size. More... | |
virtual void | emitTargetOutlinedFunctionHelper (const OMPExecutableDirective &D, StringRef ParentName, llvm::Function *&OutlinedFn, llvm::Constant *&OutlinedFnID, bool IsOffloadEntry, const RegionCodeGenTy &CodeGen) |
Helper to emit outlined function for 'target' directive. More... | |
Protected Attributes | |
CodeGenModule & | CGM |
Definition at line 108 of file CGOpenMPRuntime.h.
|
protectedvirtual |
Creates offloading entry for the provided entry ID ID, address Addr and size Size.
Definition at line 2888 of file CGOpenMPRuntime.cpp.
References clang::ExternalLinkage, clang::IdentifierInfo::getName(), clang::CodeGen::getTgtOffloadEntryQTy(), clang::InternalLinkage, and clang::Name.
|
protectedvirtual |
Helper to emit outlined function for 'target' directive.
D | Directive to emit. |
ParentName | Name of the function that encloses the target region. |
OutlinedFn | Outlined function value to be defined by this call. |
OutlinedFnID | Outlined function ID value to be defined by this call. |
IsOffloadEntry | True if the outlined function is an offload entry. |
CodeGen | Lambda codegen specific to an accelerator device. An oulined function may not be an entry if, e.g. the if clause always evaluates to false. |
Definition at line 4787 of file CGOpenMPRuntime.cpp.
References clang::ExternalLinkage, clang::OMPExecutableDirective::getAssociatedStmt(), clang::OMPExecutableDirective::getLocStart(), getTargetEntryUniqueInfo(), Line, clang::CodeGen::OffloadEntriesInfoManager, and clang::CodeGen::OffloadEntriesInfoManagerTy::registerTargetRegionEntryInfo().
|
protected |
Definition at line 110 of file CGOpenMPRuntime.h.