LLVM  8.0.1
Namespaces | Typedefs | Functions | Variables
AtomicExpandUtils.h File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/Support/AtomicOrdering.h"
Include dependency graph for AtomicExpandUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 

Typedefs

using llvm::CreateCmpXchgInstFun = function_ref< void(IRBuilder<> &, Value *, Value *, Value *, AtomicOrdering, Value *&, Value *&)>
 

Functions

bool llvm::expandAtomicRMWToCmpXchg (AtomicRMWInst *AI, CreateCmpXchgInstFun CreateCmpXchg)
 Expand an atomic RMW instruction into a loop utilizing cmpxchg. More...
 

Variables

 llvm::success
 Parameters (see the expansion example below): (the builder, addr, loaded, new_val, ordering, /* OUT. More...