mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-26 16:05:54 +00:00
Tidy up whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e2f6284bc
commit
95df619a40
@ -290,6 +290,7 @@ public:
|
||||
};
|
||||
|
||||
char FunctionPassManagerImpl::ID = 0;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// MPPassManager
|
||||
//
|
||||
@ -386,7 +387,7 @@ public:
|
||||
static char ID;
|
||||
explicit PassManagerImpl(int Depth) :
|
||||
Pass(PT_PassManager, ID), PMDataManager(Depth),
|
||||
PMTopLevelManager(TLM_Pass) { }
|
||||
PMTopLevelManager(TLM_Pass) { }
|
||||
|
||||
/// add - Add a pass to the queue of passes to run. This passes ownership of
|
||||
/// the Pass to the PassManager. When the PassManager is destroyed, the pass
|
||||
@ -695,8 +696,9 @@ void PMTopLevelManager::initializeAllAnalysisInfo() {
|
||||
(*I)->initializeAnalysisInfo();
|
||||
|
||||
// Initailize other pass managers
|
||||
for (SmallVector<PMDataManager *, 8>::iterator I = IndirectPassManagers.begin(),
|
||||
E = IndirectPassManagers.end(); I != E; ++I)
|
||||
for (SmallVector<PMDataManager *, 8>::iterator
|
||||
I = IndirectPassManagers.begin(), E = IndirectPassManagers.end();
|
||||
I != E; ++I)
|
||||
(*I)->initializeAnalysisInfo();
|
||||
|
||||
for (DenseMap<Pass *, Pass *>::iterator DMI = LastUser.begin(),
|
||||
@ -739,8 +741,8 @@ void PMDataManager::recordAvailableAnalysis(Pass *P) {
|
||||
|
||||
assert(!AvailableAnalysis.empty());
|
||||
|
||||
//This pass is the current implementation of all of the interfaces it
|
||||
//implements as well.
|
||||
// This pass is the current implementation of all of the interfaces it
|
||||
// implements as well.
|
||||
const PassInfo *PInf = PassRegistry::getPassRegistry()->getPassInfo(PI);
|
||||
if (PInf == 0) return;
|
||||
const std::vector<const PassInfo*> &II = PInf->getInterfacesImplemented();
|
||||
@ -1722,7 +1724,7 @@ void PMStack::dump() const {
|
||||
void ModulePass::assignPassManager(PMStack &PMS,
|
||||
PassManagerType PreferredType) {
|
||||
// Find Module Pass Manager
|
||||
while(!PMS.empty()) {
|
||||
while (!PMS.empty()) {
|
||||
PassManagerType TopPMType = PMS.top()->getPassManagerType();
|
||||
if (TopPMType == PreferredType)
|
||||
break; // We found desired pass manager
|
||||
|
Loading…
x
Reference in New Issue
Block a user