Lines Matching refs:PMS
1816 void ModulePass::assignPassManager(PMStack &PMS, in assignPassManager() argument
1819 while (!PMS.empty()) { in assignPassManager()
1820 PassManagerType TopPMType = PMS.top()->getPassManagerType(); in assignPassManager()
1824 PMS.pop(); // Pop children pass managers in assignPassManager()
1828 assert(!PMS.empty() && "Unable to find appropriate Pass Manager"); in assignPassManager()
1829 PMS.top()->add(this); in assignPassManager()
1834 void FunctionPass::assignPassManager(PMStack &PMS, in assignPassManager() argument
1838 while (!PMS.empty()) { in assignPassManager()
1839 if (PMS.top()->getPassManagerType() > PMT_FunctionPassManager) in assignPassManager()
1840 PMS.pop(); in assignPassManager()
1847 if (PMS.top()->getPassManagerType() == PMT_FunctionPassManager) { in assignPassManager()
1848 FPP = (FPPassManager *)PMS.top(); in assignPassManager()
1850 assert(!PMS.empty() && "Unable to create Function Pass Manager"); in assignPassManager()
1851 PMDataManager *PMD = PMS.top(); in assignPassManager()
1855 FPP->populateInheritedAnalysis(PMS); in assignPassManager()
1863 FPP->assignPassManager(PMS, PMD->getPassManagerType()); in assignPassManager()
1866 PMS.push(FPP); in assignPassManager()
1875 void BasicBlockPass::assignPassManager(PMStack &PMS, in assignPassManager() argument
1881 if (!PMS.empty() && in assignPassManager()
1882 PMS.top()->getPassManagerType() == PMT_BasicBlockPassManager) { in assignPassManager()
1883 BBP = (BBPassManager *)PMS.top(); in assignPassManager()
1887 assert(!PMS.empty() && "Unable to create BasicBlock Pass Manager"); in assignPassManager()
1888 PMDataManager *PMD = PMS.top(); in assignPassManager()
1900 BBP->assignPassManager(PMS, PreferredType); in assignPassManager()
1903 PMS.push(BBP); in assignPassManager()