ΒΆinline Optional<SyncScope::ID>
getAtomicSyncScopeID(const llvm::Instruction* I)
inline Optional<SyncScope::ID>
getAtomicSyncScopeID(const llvm::Instruction* I)
Description
A helper function that returns an atomic operation's sync scope; returns None if it is not an atomic operation.
Declared at: llvm/include/llvm/IR/Instructions.h:5383
Parameters
- const llvm::Instruction* I