diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-30 22:30:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-30 22:30:51 +0000 |
commit | c447b4b7911cff3b1dc2dc35f7b8a78195f7c961 (patch) | |
tree | 78817cf11ccceb957df4b4177a3e6113b4d105bc | |
parent | 3e813b38f18447210e4e9e99ceb044bbe8ee917c (diff) |
Merged into ValueNumbering.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3545 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/BasicValueNumbering.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/include/llvm/Analysis/BasicValueNumbering.h b/include/llvm/Analysis/BasicValueNumbering.h deleted file mode 100644 index 66c7d94c1a..0000000000 --- a/include/llvm/Analysis/BasicValueNumbering.h +++ /dev/null @@ -1,37 +0,0 @@ -//===- llvm/Analysis/BasicValueNumbering.h - Value #'ing Impl ---*- C++ -*-===// -// -// This file defines the default implementation of the Value Numbering -// interface, which uses the SSA value graph to find lexically identical -// expressions. This does not require any computation ahead of time, so it is a -// very fast default implementation. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_ANALYSIS_BASIC_VALUE_NUMBERING_H -#define LLVM_ANALYSIS_BASIC_VALUE_NUMBERING_H - -#include "llvm/Analysis/ValueNumbering.h" -#include "llvm/Pass.h" - -struct BasicValueNumbering : public FunctionPass, public ValueNumbering { - - /// Pass Implementation stuff. This isn't much of a pass. - /// - bool runOnFunction(Function &) { return false; } - - /// getAnalysisUsage - Does not modify anything. - /// - virtual void getAnalysisUsage(AnalysisUsage &AU) const { - AU.setPreservesAll(); - } - - /// getEqualNumberNodes - Return nodes with the same value number as the - /// specified Value. This fills in the argument vector with any equal values. - /// - /// This is where our implementation is. - /// - virtual void getEqualNumberNodes(Value *V1, - std::vector<Value*> &RetVals) const; -}; - -#endif |