LLVM  8.0.1
Public Member Functions | List of all members
llvm::AMDGPUMachineModuleInfo Class Referencefinal

#include "Target/AMDGPU/AMDGPUMachineModuleInfo.h"

Inheritance diagram for llvm::AMDGPUMachineModuleInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::AMDGPUMachineModuleInfo:
Collaboration graph
[legend]

Public Member Functions

 AMDGPUMachineModuleInfo (const MachineModuleInfo &MMI)
 
SyncScope::ID getAgentSSID () const
 
SyncScope::ID getWorkgroupSSID () const
 
SyncScope::ID getWavefrontSSID () const
 
Optional< boolisSyncScopeInclusion (SyncScope::ID A, SyncScope::ID B) const
 In AMDGPU target synchronization scopes are inclusive, meaning a larger synchronization scope is inclusive of a smaller synchronization scope. More...
 
- Public Member Functions inherited from llvm::MachineModuleInfoELF
 MachineModuleInfoELF (const MachineModuleInfo &)
 
StubValueTygetGVStubEntry (MCSymbol *Sym)
 
SymbolListTy GetGVStubList ()
 Accessor methods to return the set of stubs in sorted order. More...
 
- Public Member Functions inherited from llvm::MachineModuleInfoImpl
virtual ~MachineModuleInfoImpl ()
 

Additional Inherited Members

- Public Types inherited from llvm::MachineModuleInfoImpl
using StubValueTy = PointerIntPair< MCSymbol *, 1, bool >
 
using SymbolListTy = std::vector< std::pair< MCSymbol *, StubValueTy > >
 
- Static Protected Member Functions inherited from llvm::MachineModuleInfoImpl
static SymbolListTy getSortedStubs (DenseMap< MCSymbol *, StubValueTy > &)
 Return the entries from a DenseMap in a deterministic sorted orer. More...
 

Detailed Description

Definition at line 27 of file AMDGPUMachineModuleInfo.h.

Constructor & Destructor Documentation

◆ AMDGPUMachineModuleInfo()

llvm::AMDGPUMachineModuleInfo::AMDGPUMachineModuleInfo ( const MachineModuleInfo MMI)

Member Function Documentation

◆ getAgentSSID()

SyncScope::ID llvm::AMDGPUMachineModuleInfo::getAgentSSID ( ) const
inline
Returns
Agent synchronization scope ID.

Definition at line 65 of file AMDGPUMachineModuleInfo.h.

◆ getWavefrontSSID()

SyncScope::ID llvm::AMDGPUMachineModuleInfo::getWavefrontSSID ( ) const
inline
Returns
Wavefront synchronization scope ID.

Definition at line 73 of file AMDGPUMachineModuleInfo.h.

◆ getWorkgroupSSID()

SyncScope::ID llvm::AMDGPUMachineModuleInfo::getWorkgroupSSID ( ) const
inline
Returns
Workgroup synchronization scope ID.

Definition at line 69 of file AMDGPUMachineModuleInfo.h.

◆ isSyncScopeInclusion()

Optional<bool> llvm::AMDGPUMachineModuleInfo::isSyncScopeInclusion ( SyncScope::ID  A,
SyncScope::ID  B 
) const
inline

In AMDGPU target synchronization scopes are inclusive, meaning a larger synchronization scope is inclusive of a smaller synchronization scope.

Returns
True if synchronization scope A is larger than or equal to synchronization scope B, false if synchronization scope A is smaller than synchronization scope B, or "None" if either synchronization scope A or B is not supported by the AMDGPU target.

Definition at line 85 of file AMDGPUMachineModuleInfo.h.

References llvm::None.


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