Move Delinearization pass into an anonymous namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2013-11-13 15:35:17 +00:00
parent 43a0f3959e
commit 1a362619f8

View File

@ -34,6 +34,8 @@
using namespace llvm;
namespace {
class Delinearization : public FunctionPass {
Delinearization(const Delinearization &); // do not implement
protected:
@ -52,6 +54,8 @@ public:
virtual void print(raw_ostream &O, const Module *M = 0) const;
};
} // end anonymous namespace
void Delinearization::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequired<LoopInfo>();