LLVM API Documentation
#include <MachinePostDominators.h>
PostDominatorTree Class - Concrete subclass of DominatorTree that is used to compute the post-dominator tree.
Definition at line 27 of file MachinePostDominators.h.
Referenced by createMachinePostDominatorTreePass().
Definition at line 42 of file MachinePostDominators.cpp.
Definition at line 32 of file MachinePostDominators.cpp.
References MachinePostDominatorTree().
bool llvm::MachinePostDominatorTree::dominates | ( | const MachineDomTreeNode * | A, |
const MachineDomTreeNode * | B | ||
) | const [inline] |
Definition at line 56 of file MachinePostDominators.h.
References llvm::DominatorTreeBase< NodeT >::dominates().
bool llvm::MachinePostDominatorTree::dominates | ( | const MachineBasicBlock * | A, |
const MachineBasicBlock * | B | ||
) | const [inline] |
Definition at line 61 of file MachinePostDominators.h.
References llvm::DominatorTreeBase< NodeT >::dominates().
MachineBasicBlock* llvm::MachinePostDominatorTree::findNearestCommonDominator | ( | MachineBasicBlock * | A, |
MachineBasicBlock * | B | ||
) | [inline] |
Definition at line 75 of file MachinePostDominators.h.
References llvm::DominatorTreeBase< NodeT >::findNearestCommonDominator().
void MachinePostDominatorTree::getAnalysisUsage | ( | AnalysisUsage & | AU | ) | const [override, 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 47 of file MachinePostDominators.cpp.
References llvm::AnalysisUsage::setPreservesAll().
MachineDomTreeNode* llvm::MachinePostDominatorTree::getNode | ( | MachineBasicBlock * | BB | ) | const [inline] |
Definition at line 52 of file MachinePostDominators.h.
References llvm::DominatorTreeBase< NodeT >::getNode().
MachineDomTreeNode* llvm::MachinePostDominatorTree::getRootNode | ( | ) | const [inline] |
Definition at line 44 of file MachinePostDominators.h.
References llvm::DominatorTreeBase< NodeT >::getRootNode().
const std::vector<MachineBasicBlock *>& llvm::MachinePostDominatorTree::getRoots | ( | ) | const [inline] |
Definition at line 40 of file MachinePostDominators.h.
References llvm::DominatorBase< NodeT >::getRoots().
MachineDomTreeNode* llvm::MachinePostDominatorTree::operator[] | ( | MachineBasicBlock * | BB | ) | const [inline] |
Definition at line 48 of file MachinePostDominators.h.
References llvm::DominatorTreeBase< NodeT >::getNode().
void MachinePostDominatorTree::print | ( | llvm::raw_ostream & | O, |
const Module * | M = nullptr |
||
) | const [override, virtual] |
print - Print out the internal state of the pass. This is called by Analyze to print out the contents of an analysis. Otherwise it is not necessary to implement this method. Beware that the module pointer MAY be null. This automatically forwards to a virtual function that does not provide the Module* in case the analysis doesn't need it it can just be ignored.
Reimplemented from llvm::Pass.
Definition at line 53 of file MachinePostDominators.cpp.
References llvm::DominatorTreeBase< NodeT >::print().
bool llvm::MachinePostDominatorTree::properlyDominates | ( | const MachineDomTreeNode * | A, |
const MachineDomTreeNode * | B | ||
) | const [inline] |
Definition at line 65 of file MachinePostDominators.h.
References llvm::DominatorTreeBase< NodeT >::properlyDominates().
bool llvm::MachinePostDominatorTree::properlyDominates | ( | const MachineBasicBlock * | A, |
const MachineBasicBlock * | B | ||
) | const [inline] |
Definition at line 70 of file MachinePostDominators.h.
References llvm::DominatorTreeBase< NodeT >::properlyDominates().
bool MachinePostDominatorTree::runOnMachineFunction | ( | MachineFunction & | MF | ) | [override, virtual] |
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis.
Implements llvm::MachineFunctionPass.
Definition at line 37 of file MachinePostDominators.cpp.
References llvm::DominatorTreeBase< NodeT >::recalculate().
char MachinePostDominatorTree::ID = 0 [static] |
Definition at line 32 of file MachinePostDominators.h.