BasicAA doesn't need a public header
authorChris Lattner <sabre@nondot.org>
Wed, 26 Feb 2003 19:41:46 +0000 (19:41 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 26 Feb 2003 19:41:46 +0000 (19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5639 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/BasicAliasAnalysis.h [deleted file]

diff --git a/include/llvm/Analysis/BasicAliasAnalysis.h b/include/llvm/Analysis/BasicAliasAnalysis.h
deleted file mode 100644 (file)
index 5b6637a..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-//===- llvm/Analysis/BasicAliasAnalysis.h - Alias Analysis Impl -*- C++ -*-===//
-//
-// This file defines the default implementation of the Alias Analysis interface
-// that simply implements a few identities (two different globals cannot alias,
-// etc), but otherwise does no analysis.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H
-#define LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H
-
-#include "llvm/Analysis/AliasAnalysis.h"
-#include "llvm/Pass.h"
-
-class GetElementPtrInst;
-
-struct BasicAliasAnalysis : public ImmutablePass, public AliasAnalysis {
-
-  virtual void getAnalysisUsage(AnalysisUsage &AU) const {
-    AliasAnalysis::getAnalysisUsage(AU);
-  }
-
-  virtual void initializePass();
-
-  // alias - This is the only method here that does anything interesting...
-  //
-  AliasResult alias(const Value *V1, unsigned V1Size,
-                    const Value *V2, unsigned V2Size);
-private:
-  // CheckGEPInstructions - Check two GEP instructions of compatible types and
-  // equal number of arguments.  This checks to see if the index expressions
-  // preclude the pointers from aliasing...
-  AliasResult CheckGEPInstructions(GetElementPtrInst *GEP1, unsigned G1Size,
-                                   GetElementPtrInst *GEP2, unsigned G2Size);
-};
-
-#endif