[#llvm-getAtomicSyncScopeID] = xref:llvm.adoc[llvm]::getAtomicSyncScopeID :relfileprefix: ../ :mrdocs: Return the sync scope of atomic instruction `I,` or nullopt if not atomic. == Synopsis Declared in `<llvm/IR/Instructions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<SyncScope::ID> getAtomicSyncScopeID(xref:llvm/Instruction.adoc[Instruction] const* I); ---- == Return Value The sync scope of atomic instruction `I,` or nullopt if not atomic. == Parameters [cols="1,4"] |=== | Name| Description | *I* | The instruction to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#