[llvm-commits] CVS: llvm/tools/analyze/AnalysisWrappers.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jul 18 16:43:44 PDT 2004
Changes in directory llvm/tools/analyze:
AnalysisWrappers.cpp updated: 1.13 -> 1.14
---
Log message:
Remove this printer
---
Diffs of the changes: (+0 -19)
Index: llvm/tools/analyze/AnalysisWrappers.cpp
diff -u llvm/tools/analyze/AnalysisWrappers.cpp:1.13 llvm/tools/analyze/AnalysisWrappers.cpp:1.14
--- llvm/tools/analyze/AnalysisWrappers.cpp:1.13 Sat Jul 17 19:44:14 2004
+++ llvm/tools/analyze/AnalysisWrappers.cpp Sun Jul 18 18:43:34 2004
@@ -19,30 +19,11 @@
#include "llvm/Module.h"
#include "llvm/Pass.h"
-#include "llvm/Analysis/InstForest.h"
#include "llvm/Support/CallSite.h"
#include <iostream>
-
using namespace llvm;
namespace {
- struct InstForestHelper : public FunctionPass {
- Function *F;
- virtual bool runOnFunction(Function &Func) { F = &Func; return false; }
-
- void print(std::ostream &OS) const {
- std::cout << InstForest<char>(F);
- }
-
- virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.setPreservesAll();
- }
- };
-
- RegisterAnalysis<InstForestHelper> P1("instforest", "InstForest Printer");
-}
-
-namespace {
/// ExternalFunctionsPassedConstants - This pass prints out call sites to
/// external functions that are called with constant arguments. This can be
/// useful when looking for standard library functions we should constant fold
More information about the llvm-commits
mailing list