LLVM 20.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]

Public Member Functions

 OffloadEntryInfoDeviceGlobalVar ()
 
 OffloadEntryInfoDeviceGlobalVar (unsigned Order, OMPTargetGlobalVarEntryKind Flags)
 
 OffloadEntryInfoDeviceGlobalVar (unsigned Order, Constant *Addr, int64_t VarSize, OMPTargetGlobalVarEntryKind Flags, GlobalValue::LinkageTypes Linkage, const std::string &VarName)
 
int64_t getVarSize () const
 
StringRef getVarName () 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 388 of file OMPIRBuilder.h.

Constructor & Destructor Documentation

◆ OffloadEntryInfoDeviceGlobalVar() [1/3]

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

Definition at line 395 of file OMPIRBuilder.h.

◆ OffloadEntryInfoDeviceGlobalVar() [2/3]

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

Definition at line 397 of file OMPIRBuilder.h.

◆ OffloadEntryInfoDeviceGlobalVar() [3/3]

llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::OffloadEntryInfoDeviceGlobalVar ( unsigned  Order,
Constant Addr,
int64_t  VarSize,
OMPTargetGlobalVarEntryKind  Flags,
GlobalValue::LinkageTypes  Linkage,
const std::string &  VarName 
)
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 413 of file OMPIRBuilder.h.

◆ getVarName()

StringRef llvm::OffloadEntriesInfoManager::OffloadEntryInfoDeviceGlobalVar::getVarName ( ) const
inline

Definition at line 411 of file OMPIRBuilder.h.

◆ getVarSize()

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

Definition at line 410 of file OMPIRBuilder.h.

◆ setLinkage()

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

Definition at line 414 of file OMPIRBuilder.h.

◆ setVarSize()

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

Definition at line 412 of file OMPIRBuilder.h.

References Size.


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