LLVM 19.0.0git
Namespaces | Functions
LowerAtomic.h File Reference
#include "llvm/IR/Instructions.h"

Go to the source code of this file.


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.


bool llvm::lowerAtomicCmpXchgInst (AtomicCmpXchgInst *CXI)
 Convert the given Cmpxchg into primitive load and compare.
bool llvm::lowerAtomicRMWInst (AtomicRMWInst *RMWI)
 Convert the given RMWI into primitive load and stores, assuming that doing so is legal.
Valuellvm::buildAtomicRMWValue (AtomicRMWInst::BinOp Op, IRBuilderBase &Builder, Value *Loaded, Value *Val)
 Emit IR to implement the given atomicrmw operation on values in registers, returning the new value.