mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 16:31:13 +00:00
Remove InstForest from analysis namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2401 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f772f8ef38
commit
fbaed2e070
@ -134,11 +134,11 @@ Pass *createPrintModulePass(const string &Message) {
|
|||||||
return new PrintModulePass(&std::cout);
|
return new PrintModulePass(&std::cout);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct InstForest : public FunctionPass {
|
struct InstForestHelper : public FunctionPass {
|
||||||
const char *getPassName() const { return "InstForest Printer"; }
|
const char *getPassName() const { return "InstForest Printer"; }
|
||||||
|
|
||||||
void doit(Function *F) {
|
void doit(Function *F) {
|
||||||
std::cout << analysis::InstForest<char>(F);
|
std::cout << InstForest<char>(F);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||||
@ -271,7 +271,7 @@ struct {
|
|||||||
{ print , createPrintFunctionPass },
|
{ print , createPrintFunctionPass },
|
||||||
{ intervals , New<FunctionPass, IntervalPartition> },
|
{ intervals , New<FunctionPass, IntervalPartition> },
|
||||||
{ loops , New<FunctionPass, LoopInfo> },
|
{ loops , New<FunctionPass, LoopInfo> },
|
||||||
{ instforest , Create<PrinterPass<InstForest> > },
|
{ instforest , Create<PrinterPass<InstForestHelper> > },
|
||||||
{ indvars , Create<PrinterPass<IndVars> > },
|
{ indvars , Create<PrinterPass<IndVars> > },
|
||||||
{ exprs , Create<PrinterPass<Exprs> > },
|
{ exprs , Create<PrinterPass<Exprs> > },
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user