Parses a target syncscope string into its abstract scope.
Synopsis
Description
This is the inverse of getAtomicScopeIRString. Returns the scope and whether it is the single address space variant.
Return Value
The abstract scope and whether it is the single‐address‐space variant, or std::nullopt if Name is unrecognized for T.
Parameters
Name |
Description |
T |
Target triple that selects the syncscope spelling. |
Name |
LLVM IR syncscope string to parse. |
Created with MrDocs