LLVM 17.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar Class Referencefinal

Device global variable entries info. More...

#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"

Inheritance diagram for llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar:
Inheritance graph
[legend]
Collaboration diagram for llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar:
Collaboration graph
[legend]

Public Member Functions

 OffloadEntryInfoDeviceGlobalVar ()
 
 OffloadEntryInfoDeviceGlobalVar (unsigned Order, OMPTargetGlobalVarEntryKind Flags)
 
 OffloadEntryInfoDeviceGlobalVar (unsigned Order, Constant *Addr, int64_t VarSize, OMPTargetGlobalVarEntryKind Flags, GlobalValue::LinkageTypes Linkage)
 
int64_t getVarSize () const
 
void setVarSize (int64_t Size)
 
GlobalValue::LinkageTypes getLinkage () const
 
void setLinkage (GlobalValue::LinkageTypes LT)
 
- Public Member Functions inherited from llvm::OffloadEntriesInfoManager::OffloadEntryInfo
bool isValid () const
 
unsigned getOrder () const
 
OffloadingEntryInfoKinds getKind () const
 
uint32_t getFlags () const
 
void setFlags (uint32_t NewFlags)
 
ConstantgetAddress () const
 
void setAddress (Constant *V)
 

Static Public Member Functions

static bool classof (const OffloadEntryInfo *Info)
 
- Static Public Member Functions inherited from llvm::OffloadEntriesInfoManager::OffloadEntryInfo
static bool classof (const OffloadEntryInfo *Info)
 

Additional Inherited Members

- Public Types inherited from llvm::OffloadEntriesInfoManager::OffloadEntryInfo
enum  OffloadingEntryInfoKinds : unsigned { OffloadingEntryInfoTargetRegion = 0 , OffloadingEntryInfoDeviceGlobalVar = 1 , OffloadingEntryInfoInvalid = ~0u }
 Kind of a given entry. More...
 
- Protected Member Functions inherited from llvm::OffloadEntriesInfoManager::OffloadEntryInfo
 OffloadEntryInfo ()=delete
 
 OffloadEntryInfo (OffloadingEntryInfoKinds Kind)
 
 OffloadEntryInfo (OffloadingEntryInfoKinds Kind, unsigned Order, uint32_t Flags)
 
 ~OffloadEntryInfo ()=default
 

Detailed Description

Device global variable entries info.

Definition at line 2069 of file OMPIRBuilder.h.

Constructor & Destructor Documentation

◆ OffloadEntryInfoDeviceGlobalVar() [1/3]

llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::OffloadEntryInfoDeviceGlobalVar ( )
inline

Definition at line 2075 of file OMPIRBuilder.h.

◆ OffloadEntryInfoDeviceGlobalVar() [2/3]

llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::OffloadEntryInfoDeviceGlobalVar ( unsigned  Order,
OMPTargetGlobalVarEntryKind  Flags 
)
inlineexplicit

Definition at line 2077 of file OMPIRBuilder.h.

◆ OffloadEntryInfoDeviceGlobalVar() [3/3]

llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::OffloadEntryInfoDeviceGlobalVar ( unsigned  Order,
Constant Addr,
int64_t  VarSize,
OMPTargetGlobalVarEntryKind  Flags,
GlobalValue::LinkageTypes  Linkage 
)
inlineexplicit

Member Function Documentation

◆ classof()

static bool llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::classof ( const OffloadEntryInfo Info)
inlinestatic

◆ getLinkage()

GlobalValue::LinkageTypes llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::getLinkage ( ) const
inline

Definition at line 2091 of file OMPIRBuilder.h.

◆ getVarSize()

int64_t llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::getVarSize ( ) const
inline

Definition at line 2089 of file OMPIRBuilder.h.

◆ setLinkage()

void llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::setLinkage ( GlobalValue::LinkageTypes  LT)
inline

Definition at line 2092 of file OMPIRBuilder.h.

◆ setVarSize()

void llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::setVarSize ( int64_t  Size)
inline

Definition at line 2090 of file OMPIRBuilder.h.

References Size.


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