Return the name of a SyncScope::ID registered with LLVMContext, if any.
Synopsis
Declared in <llvm/IR/LLVMContext.h>
std::optional<StringRef>
getSyncScopeName(SyncScope::ID Id) const;
Return Value
The synchronization scope name, or std::nullopt if unknown.
Parameters
Name |
Description |
Id |
The synchronization scope ID to look up. |
Created with MrDocs