|
LLVM 22.0.0git
|
#include "llvm/ADT/STLExtras.h"#include "llvm/IR/IRBuilder.h"#include "llvm/Support/AtomicOrdering.h"Go to the source code of this file.
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
Typedefs | |
| using | llvm::CreateCmpXchgInstFun |
| Parameters (see the expansion example below): (the builder, addr, loaded, new_val, ordering, /* OUT / success, / OUT */ new_loaded, MetadataSrc) | |
Functions | |
| bool | llvm::expandAtomicRMWToCmpXchg (AtomicRMWInst *AI, CreateCmpXchgInstFun CreateCmpXchg) |
| Expand an atomic RMW instruction into a loop utilizing cmpxchg. | |