Lines Matching refs:PMS

1827 void ModulePass::assignPassManager(PMStack &PMS,  in assignPassManager()  argument
1830 while (!PMS.empty()) { in assignPassManager()
1831 PassManagerType TopPMType = PMS.top()->getPassManagerType(); in assignPassManager()
1835 PMS.pop(); // Pop children pass managers in assignPassManager()
1839 assert(!PMS.empty() && "Unable to find appropriate Pass Manager"); in assignPassManager()
1840 PMS.top()->add(this); in assignPassManager()
1845 void FunctionPass::assignPassManager(PMStack &PMS, in assignPassManager() argument
1849 while (!PMS.empty()) { in assignPassManager()
1850 if (PMS.top()->getPassManagerType() > PMT_FunctionPassManager) in assignPassManager()
1851 PMS.pop(); in assignPassManager()
1858 if (PMS.top()->getPassManagerType() == PMT_FunctionPassManager) { in assignPassManager()
1859 FPP = (FPPassManager *)PMS.top(); in assignPassManager()
1861 assert(!PMS.empty() && "Unable to create Function Pass Manager"); in assignPassManager()
1862 PMDataManager *PMD = PMS.top(); in assignPassManager()
1866 FPP->populateInheritedAnalysis(PMS); in assignPassManager()
1874 FPP->assignPassManager(PMS, PMD->getPassManagerType()); in assignPassManager()
1877 PMS.push(FPP); in assignPassManager()
1886 void BasicBlockPass::assignPassManager(PMStack &PMS, in assignPassManager() argument
1892 if (!PMS.empty() && in assignPassManager()
1893 PMS.top()->getPassManagerType() == PMT_BasicBlockPassManager) { in assignPassManager()
1894 BBP = (BBPassManager *)PMS.top(); in assignPassManager()
1898 assert(!PMS.empty() && "Unable to create BasicBlock Pass Manager"); in assignPassManager()
1899 PMDataManager *PMD = PMS.top(); in assignPassManager()
1911 BBP->assignPassManager(PMS, PreferredType); in assignPassManager()
1914 PMS.push(BBP); in assignPassManager()