clang  6.0.0svn
Classes | Public Types | Public Member Functions | List of all members
clang::CodeGen::OffloadEntriesInfoManagerTy Class Reference

Entity that registers the offloading constants that were emitted so far. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.h"

Classes

class  OffloadEntryInfo
 Base class of the entries info. More...
 
class  OffloadEntryInfoTargetRegion
 Target region entries related. More...
 

Public Types

typedef llvm::function_ref< void(unsigned, unsigned, StringRef, unsigned, OffloadEntryInfoTargetRegion &)> OffloadTargetRegionEntryInfoActTy
 brief Applies action Action on all registered entries. More...
 

Public Member Functions

bool empty () const
 Return true if a there are no entries defined. More...
 
unsigned size () const
 Return number of entries defined so far. More...
 
 OffloadEntriesInfoManagerTy (CodeGenModule &CGM)
 
void initializeTargetRegionEntryInfo (unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum, unsigned Order)
 Initialize target region entry. More...
 
void registerTargetRegionEntryInfo (unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum, llvm::Constant *Addr, llvm::Constant *ID, int32_t Flags)
 Register target region entry. More...
 
bool hasTargetRegionEntryInfo (unsigned DeviceID, unsigned FileID, StringRef ParentName, unsigned LineNum) const
 Return true if a target region entry with the provided information exists. More...
 
void actOnTargetRegionEntriesInfo (const OffloadTargetRegionEntryInfoActTy &Action)
 

Detailed Description

Entity that registers the offloading constants that were emitted so far.

Definition at line 370 of file CGOpenMPRuntime.h.

Member Typedef Documentation

◆ OffloadTargetRegionEntryInfoActTy

typedef llvm::function_ref<void(unsigned, unsigned, StringRef, unsigned, OffloadEntryInfoTargetRegion &)> clang::CodeGen::OffloadEntriesInfoManagerTy::OffloadTargetRegionEntryInfoActTy

brief Applies action Action on all registered entries.

Definition at line 470 of file CGOpenMPRuntime.h.

Constructor & Destructor Documentation

◆ OffloadEntriesInfoManagerTy()

clang::CodeGen::OffloadEntriesInfoManagerTy::OffloadEntriesInfoManagerTy ( CodeGenModule CGM)
inline

Definition at line 416 of file CGOpenMPRuntime.h.

Member Function Documentation

◆ actOnTargetRegionEntriesInfo()

void clang::CodeGen::OffloadEntriesInfoManagerTy::actOnTargetRegionEntriesInfo ( const OffloadTargetRegionEntryInfoActTy Action)

◆ empty()

bool clang::CodeGen::OffloadEntriesInfoManagerTy::empty ( ) const

◆ hasTargetRegionEntryInfo()

bool clang::CodeGen::OffloadEntriesInfoManagerTy::hasTargetRegionEntryInfo ( unsigned  DeviceID,
unsigned  FileID,
StringRef  ParentName,
unsigned  LineNum 
) const

Return true if a target region entry with the provided information exists.

◆ initializeTargetRegionEntryInfo()

void clang::CodeGen::OffloadEntriesInfoManagerTy::initializeTargetRegionEntryInfo ( unsigned  DeviceID,
unsigned  FileID,
StringRef  ParentName,
unsigned  LineNum,
unsigned  Order 
)

Initialize target region entry.

◆ registerTargetRegionEntryInfo()

void clang::CodeGen::OffloadEntriesInfoManagerTy::registerTargetRegionEntryInfo ( unsigned  DeviceID,
unsigned  FileID,
StringRef  ParentName,
unsigned  LineNum,
llvm::Constant *  Addr,
llvm::Constant *  ID,
int32_t  Flags 
)

Register target region entry.

Referenced by clang::CodeGen::CGOpenMPRuntime::emitTargetOutlinedFunctionHelper().

◆ size()

unsigned clang::CodeGen::OffloadEntriesInfoManagerTy::size ( ) const
inline

Return number of entries defined so far.

Definition at line 415 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::createOffloadEntriesAndInfoMetadata().


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