15 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUMACHINEMODULEINFO_H 16 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUMACHINEMODULEINFO_H 102 return SystemOneAddressSpaceSSID;
106 return AgentOneAddressSpaceSSID;
110 return WorkgroupOneAddressSpaceSSID;
114 return WavefrontOneAddressSpaceSSID;
118 return SingleThreadOneAddressSpaceSSID;
130 const auto &AIO = getSyncScopeInclusionOrdering(A);
131 const auto &BIO = getSyncScopeInclusionOrdering(B);
135 bool IsAOneAddressSpace = isOneAddressSpace(A);
136 bool IsBOneAddressSpace = isOneAddressSpace(B);
138 return AIO.getValue() >= BIO.getValue() &&
139 (IsAOneAddressSpace == IsBOneAddressSpace || !IsAOneAddressSpace);
145 #endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUMACHINEMODULEINFO_H SyncScope::ID getSingleThreadOneAddressSpaceSSID() const
Optional< bool > isSyncScopeInclusion(SyncScope::ID A, SyncScope::ID B) const
In AMDGPU target synchronization scopes are inclusive, meaning a larger synchronization scope is incl...
This class represents lattice values for constants.
Synchronized with respect to signal handlers executing in the same thread.
SyncScope::ID getWavefrontSSID() const
SyncScope::ID getWavefrontOneAddressSpaceSSID() const
SyncScope::ID getWorkgroupSSID() const
SyncScope::ID getAgentSSID() const
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
Synchronized with respect to all concurrently executing threads.
SyncScope::ID getWorkgroupOneAddressSpaceSSID() const
MachineModuleInfoELF - This is a MachineModuleInfoImpl implementation for ELF targets.
AMDGPUMachineModuleInfo(const MachineModuleInfo &MMI)
SyncScope::ID getAgentOneAddressSpaceSSID() const
SyncScope::ID getSystemOneAddressSpaceSSID() const
This class contains meta information specific to a module.