mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Revert "[PM] Add pass run listeners to the pass manager."
Revert the current implementation and C API. New implementation and C APIs are in the works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
namespace llvm {
|
||||
|
||||
class TargetMachine;
|
||||
class LLVMContext;
|
||||
//===---------------------------------------------------------------------------
|
||||
/// PassInfo class - An instance of this class exists for every pass known by
|
||||
/// the system, and can be obtained from a live Pass by calling its
|
||||
@@ -356,21 +355,6 @@ struct PassRegistrationListener {
|
||||
virtual void passEnumerate(const PassInfo *) {}
|
||||
};
|
||||
|
||||
//===---------------------------------------------------------------------------
|
||||
/// PassRunListener class - This class is meant to be derived from by
|
||||
/// clients that are interested in which and when passes are run at runtime.
|
||||
struct PassRunListener {
|
||||
/// PassRunListener ctor - Add the current object to the list of
|
||||
/// PassRunListeners...
|
||||
PassRunListener(LLVMContext *);
|
||||
|
||||
virtual ~PassRunListener();
|
||||
|
||||
/// Callback function - This functions is invoked whenever a pass has run.
|
||||
virtual void passRun(LLVMContext *, Pass *, Module *, Function *,
|
||||
BasicBlock *) {}
|
||||
};
|
||||
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
Reference in New Issue
Block a user