projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Debug Info: define a DIRef template.
[oota-llvm.git]
/
include
/
llvm
/
PassManager.h
diff --git
a/include/llvm/PassManager.h
b/include/llvm/PassManager.h
index 1d5e800b4daaba525062e25a5a53b9daf8d5bd28..b6a8186a4e809b2049b01bfcdf143cd9778bfb65 100644
(file)
--- a/
include/llvm/PassManager.h
+++ b/
include/llvm/PassManager.h
@@
-18,6
+18,7
@@
#define LLVM_PASSMANAGER_H
#include "llvm/Pass.h"
#define LLVM_PASSMANAGER_H
#include "llvm/Pass.h"
+#include "llvm/Support/CBindingWrapping.h"
namespace llvm {
namespace llvm {
@@
-58,14
+59,6
@@
public:
/// whether any of the passes modifies the module, and if so, return true.
bool run(Module &M);
/// whether any of the passes modifies the module, and if so, return true.
bool run(Module &M);
- /// doInitialization - Run all of the initializers for the module passes.
- ///
- bool doInitialization();
-
- /// doFinalization - Run all of the finalizers for the module passes.
- ///
- bool doFinalization();
-
private:
/// PassManagerImpl_New is the actual class. PassManager is just the
/// wraper to publish simple pass manager interface
private:
/// PassManagerImpl_New is the actual class. PassManager is just the
/// wraper to publish simple pass manager interface
@@
-106,6
+99,9
@@
private:
Module *M;
};
Module *M;
};
+// Create wrappers for C Binding types (see CBindingWrapping.h).
+DEFINE_STDCXX_CONVERSION_FUNCTIONS(PassManagerBase, LLVMPassManagerRef)
+
} // End llvm namespace
#endif
} // End llvm namespace
#endif