mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 01:38:26 +00:00
Add a few comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee49b5385b
commit
8b96b9fce0
@ -146,6 +146,8 @@ void StrongPHIElimination::computeDFS(MachineFunction& MF) {
|
||||
}
|
||||
}
|
||||
|
||||
/// PreorderSorter - a helper class that is used to sort registers
|
||||
/// according to the preorder number of their defining blocks
|
||||
class PreorderSorter {
|
||||
private:
|
||||
DenseMap<MachineBasicBlock*, unsigned>& preorder;
|
||||
@ -172,6 +174,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
/// computeDomForest - compute the subforest of the DomTree corresponding
|
||||
/// to the defining blocks of the registers in question
|
||||
std::vector<StrongPHIElimination::DomForestNode*>
|
||||
StrongPHIElimination::computeDomForest(std::set<unsigned>& regs) {
|
||||
LiveVariables& LV = getAnalysis<LiveVariables>();
|
||||
@ -215,6 +219,7 @@ StrongPHIElimination::computeDomForest(std::set<unsigned>& regs) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// processPHI - Eliminate the given PHI node
|
||||
void StrongPHIElimination::processPHI(MachineInstr* P) {
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user