LLVM  6.0.0svn
Functions
UnreachableBlockElim.cpp File Reference
#include "llvm/CodeGen/UnreachableBlockElim.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Type.h"
#include "llvm/Pass.h"
#include "llvm/Target/TargetInstrInfo.h"
Include dependency graph for UnreachableBlockElim.cpp:

Go to the source code of this file.

Functions

static bool eliminateUnreachableBlock (Function &F)
 
 INITIALIZE_PASS (UnreachableBlockElimLegacyPass, "unreachableblockelim", "Remove unreachable blocks from the CFG", false, false) FunctionPass *llvm
 

Function Documentation

◆ eliminateUnreachableBlock()

static bool eliminateUnreachableBlock ( Function F)
static

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( UnreachableBlockElimLegacyPass  ,
"unreachableblockelim"  ,
"Remove unreachable blocks from the CFG ,
false  ,
false   
)

Definition at line 93 of file UnreachableBlockElim.cpp.

Referenced by llvm::UnreachableBlockElimPass::run().