llvm::setAtomicSyncScopeID

Set the sync scope of atomic instruction I.

Synopsis

Declared in <llvm/IR/Instructions.h>

void
setAtomicSyncScopeID(
    Instruction* I,
    SyncScope::ID SSID);

Parameters

NameDescription
IAn atomic instruction.
SSIDThe synchronization scope to set.