LLVM API Documentation

LiveValues.cpp File Reference

#include "llvm/Analysis/LiveValues.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/LoopInfo.h"

Include dependency graph for LiveValues.cpp:

Go to the source code of this file.

Functions

FunctionPass * llvm::createLiveValuesPass ()
static const BasicBlock * getImmediateDominator (const BasicBlock *BB, const DominatorTree *DT)

Variables

static RegisterPass< LiveValues > X ("live-values","Value Liveness Analysis", false, true)


Function Documentation

static const BasicBlock* getImmediateDominator ( const BasicBlock *  BB,
const DominatorTree *  DT 
) [static]

getImmediateDominator - A handy utility for the specific DominatorTree query that we need here.

Definition at line 89 of file LiveValues.cpp.

References llvm::DomTreeNodeBase< NodeT >::getBlock(), llvm::DomTreeNodeBase< NodeT >::getIDom(), llvm::DominatorTree::getNode(), and Node.


Variable Documentation

RegisterPass<LiveValues> X("live-values","Value Liveness Analysis", false, true) [static]