mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Cosmetic markers to divide code in separate chunks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32316 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f32b4dd13e
commit
06e86561a5
@ -367,6 +367,7 @@ private:
|
||||
|
||||
} // End of llvm namespace
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// PMDataManager implementation
|
||||
|
||||
/// Return true IFF pass P's required analysis set does not required new
|
||||
@ -470,7 +471,8 @@ void PMDataManager::initializeAnalysisImpl(Pass *P) {
|
||||
}
|
||||
}
|
||||
|
||||
/// BasicBlockPassManager implementation
|
||||
//===----------------------------------------------------------------------===//
|
||||
// BasicBlockPassManager_New implementation
|
||||
|
||||
/// Add pass P into PassVector and return true. If this pass is not
|
||||
/// manageable by this manager then return false.
|
||||
@ -519,7 +521,9 @@ Pass * BasicBlockPassManager_New::getAnalysisPassFromManager(AnalysisID AID) {
|
||||
return getAnalysisPass(AID);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// FunctionPassManager_New implementation
|
||||
|
||||
/// Create new Function pass manager
|
||||
FunctionPassManager_New::FunctionPassManager_New() {
|
||||
FPM = new FunctionPassManagerImpl_New();
|
||||
@ -567,10 +571,9 @@ bool FunctionPassManager_New::doFinalization() {
|
||||
return FPM->doFinalization(*MP->getModule());
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// FunctionPassManagerImpl_New implementation
|
||||
|
||||
// FunctionPassManager
|
||||
|
||||
/// Add pass P into the pass manager queue. If P is a BasicBlockPass then
|
||||
/// either use it into active basic block pass manager or create new basic
|
||||
/// block pass manager to handle pass P.
|
||||
@ -693,7 +696,7 @@ inline bool FunctionPassManagerImpl_New::doFinalization(Module &M) {
|
||||
return Changed;
|
||||
}
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// ModulePassManager implementation
|
||||
|
||||
/// Add P into pass vector if it is manageble. If P is a FunctionPass
|
||||
@ -770,6 +773,9 @@ Pass *ModulePassManager_New::getAnalysisPassFromManager(AnalysisID AID) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// PassManagerImpl implementation
|
||||
|
||||
/// Return true IFF AnalysisID AID is currently available.
|
||||
Pass *PassManagerImpl_New::getAnalysisPassFromManager(AnalysisID AID) {
|
||||
|
||||
@ -854,6 +860,9 @@ bool PassManagerImpl_New::run(Module &M) {
|
||||
return Changed;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// PassManager implementation
|
||||
|
||||
/// Create new pass manager
|
||||
PassManager_New::PassManager_New() {
|
||||
PM = new PassManagerImpl_New();
|
||||
|
Loading…
Reference in New Issue
Block a user