mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Add methods for implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6acfe92b32
commit
21fc51daa5
@ -216,6 +216,16 @@ struct CompleteBUDataStructures : public BUDataStructures {
|
|||||||
// globals graph has been implemented in the BU pass)
|
// globals graph has been implemented in the BU pass)
|
||||||
AU.addRequired<TDDataStructures>();
|
AU.addRequired<TDDataStructures>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// print - Print out the analysis results...
|
||||||
|
void print(std::ostream &O, const Module *M) const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
unsigned calculateSCCGraphs(DSGraph &FG, std::vector<DSGraph*> &Stack,
|
||||||
|
unsigned &NextID,
|
||||||
|
hash_map<DSGraph*, unsigned> &ValMap);
|
||||||
|
DSGraph &getOrCreateGraph(Function &F);
|
||||||
|
void processGraph(DSGraph &G);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -216,6 +216,16 @@ struct CompleteBUDataStructures : public BUDataStructures {
|
|||||||
// globals graph has been implemented in the BU pass)
|
// globals graph has been implemented in the BU pass)
|
||||||
AU.addRequired<TDDataStructures>();
|
AU.addRequired<TDDataStructures>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// print - Print out the analysis results...
|
||||||
|
void print(std::ostream &O, const Module *M) const;
|
||||||
|
|
||||||
|
private:
|
||||||
|
unsigned calculateSCCGraphs(DSGraph &FG, std::vector<DSGraph*> &Stack,
|
||||||
|
unsigned &NextID,
|
||||||
|
hash_map<DSGraph*, unsigned> &ValMap);
|
||||||
|
DSGraph &getOrCreateGraph(Function &F);
|
||||||
|
void processGraph(DSGraph &G);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user