clang  3.9.0
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 <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)
 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 241 of file CGOpenMPRuntime.h.

Member Typedef Documentation

brief Applies action Action on all registered entries.

Definition at line 333 of file CGOpenMPRuntime.h.

Constructor & Destructor Documentation

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

Definition at line 280 of file CGOpenMPRuntime.h.

Member Function Documentation

void clang::CodeGen::OffloadEntriesInfoManagerTy::actOnTargetRegionEntriesInfo ( const OffloadTargetRegionEntryInfoActTy Action)
bool clang::CodeGen::OffloadEntriesInfoManagerTy::empty ( ) const
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.

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

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

Initialize target region entry.

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

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

Register target region entry.

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

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

Return number of entries defined so far.

Definition at line 279 of file CGOpenMPRuntime.h.

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


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