|
LLVM 23.0.0git
|
#include "Target/AMDGPU/AMDGPUMachineModuleInfo.h"
Additional Inherited Members | |
| Public Types inherited from llvm::MachineModuleInfoImpl | |
| using | StubValueTy = PointerIntPair<MCSymbol *, 1, bool> |
| using | SymbolListTy = std::vector<std::pair<MCSymbol *, StubValueTy>> |
| using | ExprStubListTy = std::vector<std::pair<MCSymbol *, const MCExpr *>> |
| A variant of SymbolListTy where the stub is a generalized MCExpr. | |
| 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. | |
| static ExprStubListTy | getSortedExprStubs (DenseMap< MCSymbol *, const MCExpr * > &) |
| Return the entries from a DenseMap in a deterministic sorted orer. | |
Definition at line 23 of file AMDGPUMachineModuleInfo.h.
| AMDGPUMachineModuleInfo::AMDGPUMachineModuleInfo | ( | const MachineModuleInfo & | MMI | ) |
Definition at line 20 of file AMDGPUMachineModuleInfo.cpp.
References getContext(), llvm::MachineModuleInfo::getModule(), llvm::LLVMContext::getOrInsertSyncScopeID(), and llvm::MachineModuleInfoELF::MachineModuleInfoELF().
|
inline |
Definition at line 72 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
Definition at line 54 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
Definition at line 88 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
Definition at line 66 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
In AMDGPU, synchronization scopes are inclusive: a larger scope is inclusive of a smaller one (e.g.
agent includes workgroup).
Returns the merged synchronization scope of A and B: the smallest scope that is inclusive of both. Takes the larger inclusion level and, if either scope is cross-address-space, the result is also cross-address-space (since a one-AS scope cannot subsume a cross-AS scope at the same level).
Definition at line 103 of file AMDGPUMachineModuleInfo.h.
References A(), B(), llvm::enumerate(), getAgentOneAddressSpaceSSID(), getAgentSSID(), getClusterOneAddressSpaceSSID(), getClusterSSID(), getSingleThreadOneAddressSpaceSSID(), getSystemOneAddressSpaceSSID(), getWavefrontOneAddressSpaceSSID(), getWavefrontSSID(), getWorkgroupOneAddressSpaceSSID(), getWorkgroupSSID(), I, llvm::SyncScope::SingleThread, and llvm::SyncScope::System.
|
inline |
Definition at line 84 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
Definition at line 68 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
Definition at line 80 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
Definition at line 62 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
Definition at line 76 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().
|
inline |
Definition at line 58 of file AMDGPUMachineModuleInfo.h.
Referenced by getMergedSyncScopeID().