#include ">

LLVM: lib/Transforms/Utils/SSAUpdater.cpp File Reference (original) (raw)

#include "[llvm/Transforms/Utils/SSAUpdater.h](SSAUpdater%5F8h%5Fsource.html)"
#include "[llvm/ADT/DenseMap.h](DenseMap%5F8h%5Fsource.html)"
#include "[llvm/ADT/STLExtras.h](STLExtras%5F8h%5Fsource.html)"
#include "[llvm/ADT/SmallVector.h](SmallVector%5F8h%5Fsource.html)"
#include "[llvm/ADT/TinyPtrVector.h](TinyPtrVector%5F8h%5Fsource.html)"
#include "[llvm/Analysis/InstructionSimplify.h](InstructionSimplify%5F8h%5Fsource.html)"
#include "[llvm/IR/BasicBlock.h](IR%5F2BasicBlock%5F8h%5Fsource.html)"
#include "[llvm/IR/CFG.h](IR%5F2CFG%5F8h%5Fsource.html)"
#include "[llvm/IR/Constants.h](Constants%5F8h%5Fsource.html)"
#include "[llvm/IR/DebugInfo.h](llvm%5F2IR%5F2DebugInfo%5F8h%5Fsource.html)"
#include "[llvm/IR/DebugLoc.h](DebugLoc%5F8h%5Fsource.html)"
#include "[llvm/IR/Instruction.h](IR%5F2Instruction%5F8h%5Fsource.html)"
#include "[llvm/IR/Instructions.h](Instructions%5F8h%5Fsource.html)"
#include "[llvm/IR/Use.h](IR%5F2Use%5F8h%5Fsource.html)"
#include "[llvm/IR/Value.h](IR%5F2Value%5F8h%5Fsource.html)"
#include "[llvm/Support/Casting.h](Casting%5F8h%5Fsource.html)"
#include "[llvm/Support/Debug.h](Debug%5F8h%5Fsource.html)"
#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"
#include "[llvm/Transforms/Utils/SSAUpdaterImpl.h](SSAUpdaterImpl%5F8h%5Fsource.html)"
#include <cassert>
#include <utility>

Go to the source code of this file.

Classes
class llvm::SSAUpdaterTraits< SSAUpdater >
class llvm::SSAUpdaterTraits< SSAUpdater >::PHI_iterator
Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Macros
#define DEBUG_TYPE "ssaupdater"
Typedefs
using AvailableValsTy = DenseMap< BasicBlock *, Value * >
Functions
static AvailableValsTy & getAvailableVals (void *AV)
static bool IsEquivalentPHI (PHINode *PHI, SmallDenseMap< BasicBlock *, Value *, 8 > &ValueMapping)

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "ssaupdater"

Definition at line 37 of file SSAUpdater.cpp.

Typedef Documentation

AvailableValsTy

using AvailableValsTy = DenseMap<BasicBlock *, Value *>

Definition at line 39 of file SSAUpdater.cpp.

Function Documentation

getAvailableVals()

static AvailableValsTy & getAvailableVals ( void * AV) static

Definition at line 41 of file SSAUpdater.cpp.

IsEquivalentPHI()

static bool IsEquivalentPHI ( PHINode * PHI, SmallDenseMap< BasicBlock *, Value *, 8 > & ValueMapping ) static

Definition at line 76 of file SSAUpdater.cpp.

References PHI, and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::size().

Referenced by llvm::SSAUpdater::GetValueInMiddleOfBlock().