2003-09-30 18:37:50 +00:00
|
|
|
//===- llvm/PassManager.h - Container for Passes ----------------*- C++ -*-===//
|
2005-04-21 20:19:05 +00:00
|
|
|
//
|
2003-10-20 20:19:47 +00:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 19:59:42 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2005-04-21 20:19:05 +00:00
|
|
|
//
|
2003-10-20 20:19:47 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
2002-04-28 20:46:05 +00:00
|
|
|
//
|
2013-11-09 12:26:54 +00:00
|
|
|
// This is a legacy redirect header for the old PassManager. It is intended to
|
|
|
|
// be used by clients that have not been converted to be aware of the new pass
|
|
|
|
// management infrastructure being built for LLVM, which is every client
|
|
|
|
// initially. Eventually this header (and the legacy management layer) will go
|
|
|
|
// away, but we want to minimize changes to out-of-tree users of LLVM in the
|
|
|
|
// interim.
|
|
|
|
//
|
|
|
|
// Note that this header *must not* be included into the same file as the new
|
|
|
|
// pass management infrastructure is included. Things will break spectacularly.
|
|
|
|
// If you are starting that conversion, you should switch to explicitly
|
|
|
|
// including LegacyPassManager.h and using the legacy namespace.
|
2002-04-28 20:46:05 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_PASSMANAGER_H
|
|
|
|
#define LLVM_PASSMANAGER_H
|
|
|
|
|
2013-11-09 12:26:54 +00:00
|
|
|
#include "llvm/IR/LegacyPassManager.h"
|
2009-11-01 16:42:53 +00:00
|
|
|
|
2003-11-11 22:41:34 +00:00
|
|
|
namespace llvm {
|
|
|
|
|
2013-11-09 12:26:54 +00:00
|
|
|
// Pull these into the llvm namespace so that existing code that expects it
|
|
|
|
// there can find it.
|
|
|
|
using legacy::PassManagerBase;
|
|
|
|
using legacy::PassManager;
|
|
|
|
using legacy::FunctionPassManager;
|
2013-05-01 20:59:00 +00:00
|
|
|
|
2013-11-09 12:26:54 +00:00
|
|
|
}
|
2003-11-11 22:41:34 +00:00
|
|
|
|
2002-04-28 20:46:05 +00:00
|
|
|
#endif
|