LLVM API Documentation
#include <LazyLiveness.h>
Public Member Functions | |
| LazyLiveness () | |
| void | getAnalysisUsage (AnalysisUsage &AU) const |
| bool | runOnMachineFunction (MachineFunction &mf) |
| bool | vregLiveIntoMBB (unsigned vreg, MachineBasicBlock *MBB) |
Static Public Attributes | |
| static char | ID = 0 |
Definition at line 29 of file LazyLiveness.h.
| llvm::LazyLiveness::LazyLiveness | ( | ) | [inline] |
Definition at line 32 of file LazyLiveness.h.
| void llvm::LazyLiveness::getAnalysisUsage | ( | AnalysisUsage & | AU | ) | const [inline, virtual] |
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
For MachineFunctionPasses, calling AU.preservesCFG() indicates that the pass does not modify the MachineBasicBlock CFG.
Reimplemented from llvm::MachineFunctionPass.
Definition at line 34 of file LazyLiveness.h.
References llvm::AnalysisUsage::addRequired(), llvm::MachineFunctionPass::getAnalysisUsage(), and llvm::AnalysisUsage::setPreservesAll().
| bool LazyLiveness::runOnMachineFunction | ( | MachineFunction & | MF | ) | [virtual] |
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
Implements llvm::MachineFunctionPass.
Definition at line 59 of file LazyLiveness.cpp.
References llvm::SparseBitVector< ElementSize >::begin(), llvm::MachineFunction::begin(), llvm::SparseBitVector< ElementSize >::clear(), DE, llvm::df_begin(), llvm::df_end(), llvm::SparseBitVector< ElementSize >::end(), llvm::MachineFunction::getRegInfo(), llvm::MachineDominatorTree::getRootNode(), llvm::po_begin(), llvm::po_end(), SE, llvm::SparseBitVector< ElementSize >::set(), llvm::MachineFunction::size(), and llvm::SparseBitVector< ElementSize >::test().
| bool LazyLiveness::vregLiveIntoMBB | ( | unsigned | vreg, | |
| MachineBasicBlock * | MBB | |||
| ) |
Definition at line 130 of file LazyLiveness.cpp.
References DE, llvm::MachineRegisterInfo::def_begin(), llvm::df_begin(), llvm::df_end(), llvm::MachineRegisterInfo::use_begin(), and llvm::MachineRegisterInfo::use_end().
char LazyLiveness::ID = 0 [static] |
Definition at line 31 of file LazyLiveness.h.