New PM pass that expands atomic instructions for the target.
Declared in <llvm/CodeGen/AtomicExpand.h>
class AtomicExpandPass
: public RequiredPassInfoMixin<AtomicExpandPass>
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.
| Name | Description |
|---|---|
RequiredPassInfoMixin<AtomicExpandPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
AtomicExpandPass [constructor] | Construct a pass using target information from TM. |
run | Expand atomic instructions in F for the configured target. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |