LLVM API Documentation

UnreachableBlockElim.cpp File Reference

#include "llvm/CodeGen/Passes.h"
#include "llvm/Constant.h"
#include "llvm/Instructions.h"
#include "llvm/Function.h"
#include "llvm/Pass.h"
#include "llvm/Type.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/SmallPtrSet.h"

Include dependency graph for UnreachableBlockElim.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createUnreachableBlockEliminationPass ()

Variables

static RegisterPass
< UnreachableBlockElim > 
X ("unreachableblockelim","Remove unreachable blocks from the CFG")
static RegisterPass
< UnreachableMachineBlockElim > 
Y ("unreachable-mbb-elimination","Remove unreachable machine basic blocks")


Variable Documentation

char ID [static]

Definition at line 43 of file UnreachableBlockElim.cpp.

Definition at line 91 of file UnreachableBlockElim.cpp.

RegisterPass<UnreachableBlockElim> X("unreachableblockelim","Remove unreachable blocks from the CFG") [static]

RegisterPass<UnreachableMachineBlockElim> Y("unreachable-mbb-elimination","Remove unreachable machine basic blocks") [static]




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.