aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPedro Artigas <partigas@apple.com>2012-12-05 17:12:22 +0000
committerPedro Artigas <partigas@apple.com>2012-12-05 17:12:22 +0000
commitd1abec365aa89a8497d9b615ccb4b21c72da9447 (patch)
tree5cd1325ae59c51774105c3c912264d945035ab1e /include
parent1e3b656be52e94c523d5fdb5a586a62ec59c3c51 (diff)
downloadexternal_llvm-d1abec365aa89a8497d9b615ccb4b21c72da9447.zip
external_llvm-d1abec365aa89a8497d9b615ccb4b21c72da9447.tar.gz
external_llvm-d1abec365aa89a8497d9b615ccb4b21c72da9447.tar.bz2
- Added calls to doInitialization/doFinalization to immutable passes
- fixed ordering of calls to doFinalization to be the reverse of the pass run order due to potential dependencies - fixed machine module info to operate in the doInitialization/doFinalization model, also fixes some FIXMEs reviewed by Evan Cheng <evan.cheng@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineModuleInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h
index 2d8c26d..cf9e8b6 100644
--- a/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/include/llvm/CodeGen/MachineModuleInfo.h
@@ -180,6 +180,10 @@ public:
const MCObjectFileInfo *MOFI);
~MachineModuleInfo();
+ // Initialization and Finalization
+ virtual bool doInitialization(Module &);
+ virtual bool doFinalization(Module &);
+
/// EndFunction - Discard function meta information.
///
void EndFunction();