Skip to main content

llvm_get_sync_scope_id

Function llvm_get_sync_scope_id 

Source
pub fn llvm_get_sync_scope_id(ctx: &LLVMContext, name: &str) -> u32
Expand description

Resolve a synchronization-scope id by name within ctx. The empty string is the system scope (id 1); "singlethread" is the single-thread scope (id 0).