LLVM
8.0.1
|
#include "llvm/CodeGen/UnreachableBlockElim.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< UnreachableBlockElimPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Definition at line 30 of file UnreachableBlockElim.h.
PreservedAnalyses UnreachableBlockElimPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 100 of file UnreachableBlockElim.cpp.
References llvm::AnalysisUsage::addPreserved(), llvm::PreservedAnalyses::all(), assert(), llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), llvm::BuildMI(), llvm::MachineRegisterInfo::constrainRegClass(), llvm::SmallPtrSetImpl< NodeRef >::count(), llvm::depth_first_ext(), E, eliminateUnreachableBlock(), llvm::MachineBasicBlock::end(), llvm::MachineFunction::end(), F(), llvm::MCInstrInfo::get(), llvm::MachineFunctionPass::getAnalysisUsage(), llvm::MachineBasicBlock::getFirstNonPHI(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineOperand::getReg(), llvm::MachineRegisterInfo::getRegClass(), llvm::MachineFunction::getRegInfo(), llvm::getRegState(), llvm::MachineOperand::getSubReg(), llvm::MachineFunction::getSubtarget(), I, INITIALIZE_PASS(), llvm::MachineOperand::isUndef(), MRI, llvm::MachineBasicBlock::pred_begin(), llvm::MachineBasicBlock::pred_end(), llvm::PreservedAnalyses::preserve(), llvm::MachineBasicBlock::removeSuccessor(), llvm::MachineFunction::RenumberBlocks(), llvm::MachineRegisterInfo::replaceRegWith(), llvm::MachineBasicBlock::succ_begin(), llvm::MachineBasicBlock::succ_end(), TII, and llvm::UnreachableMachineBlockElimID.