LLVM API Documentation
#include "llvm/Transforms/Utils/SSAUpdater.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/TinyPtrVector.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/SSAUpdaterImpl.h"
Go to the source code of this file.
Classes | |
class | llvm::SSAUpdaterTraits< SSAUpdater > |
class | llvm::SSAUpdaterTraits< SSAUpdater >::PHI_iterator |
Namespaces | |
namespace | llvm |
List of target independent CodeGen pass IDs. | |
Defines | |
#define | DEBUG_TYPE "ssaupdater" |
Typedefs | |
typedef DenseMap< BasicBlock *, Value * > | AvailableValsTy |
Functions | |
static AvailableValsTy & | getAvailableVals (void *AV) |
static bool | IsEquivalentPHI (PHINode *PHI, SmallDenseMap< BasicBlock *, Value *, 8 > &ValueMapping) |
#define DEBUG_TYPE "ssaupdater" |
Definition at line 30 of file SSAUpdater.cpp.
typedef DenseMap<BasicBlock*, Value*> AvailableValsTy |
Definition at line 32 of file SSAUpdater.cpp.
static AvailableValsTy& getAvailableVals | ( | void * | AV | ) | [static] |
Definition at line 33 of file SSAUpdater.cpp.
Referenced by llvm::SSAUpdater::AddAvailableValue(), llvm::SSAUpdater::HasValueForBlock(), and llvm::SSAUpdater::Initialize().
static bool IsEquivalentPHI | ( | PHINode * | PHI, |
SmallDenseMap< BasicBlock *, Value *, 8 > & | ValueMapping | ||
) | [static] |
Definition at line 64 of file SSAUpdater.cpp.
References llvm::PHINode::getIncomingBlock(), llvm::PHINode::getIncomingValue(), llvm::PHINode::getNumIncomingValues(), and llvm::DenseMapBase< SmallDenseMap< KeyT, ValueT, InlineBuckets, KeyInfoT >, KeyT, ValueT, KeyInfoT >::size().
Referenced by llvm::SSAUpdater::GetValueInMiddleOfBlock().