#include "llvm/Pass.h"
#include "llvm/Function.h"
#include "llvm/Support/InstVisitor.h"
-#include "Support/Statistic.h"
+#include "llvm/ADT/Statistic.h"
+
+namespace llvm {
namespace {
Statistic<> TotalInsts ("instcount", "Number of instructions (of all types)");
visit(F);
return false;
}
+
+} // End llvm namespace