In the TD pass, don't iterate over the scalar map to find the globals, iterate over
[oota-llvm.git] / lib / Analysis / AliasAnalysisCounter.cpp
index 285a6d3f46c366558b9deb3ddfc9c5f54839db34..6bad8cdfc52eb9897118d917877ed8ca5aaaf002 100644 (file)
@@ -1,4 +1,11 @@
 //===- AliasAnalysisCounter.cpp - Alias Analysis Query Counter ------------===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
 //
 // This file implements a pass which can be used to count how many alias queries
 // are being made and how the alias analysis implementation being used responds.
@@ -8,6 +15,7 @@
 #include "llvm/Analysis/AliasAnalysis.h"
 #include "llvm/Pass.h"
 #include <iostream>
+using namespace llvm;
 
 namespace {
   class AliasAnalysisCounter : public Pass, public AliasAnalysis {