New PM pass that expands atomic instructions for the target.
Synopsis
Declared in <llvm/CodeGen/AtomicExpand.h>
class AtomicExpandPass
: public RequiredPassInfoMixin<AtomicExpandPass>
Description
Replaces atomic IR with __atomic_* library calls or target‐specific forms (such as LL/SC loops, cmpxchg, or type coercions) that better fit the backend.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that should not be skipped. |
Member Functions
Name |
Description |
|
Construct a pass using target information from |
Expand atomic instructions in |
Static Member Functions
Name |
Description |
Return true; required passes cannot be skipped. |
Created with MrDocs