Lines Matching refs:PMS
1847 void ModulePass::assignPassManager(PMStack &PMS, in assignPassManager() argument
1850 while (!PMS.empty()) { in assignPassManager()
1851 PassManagerType TopPMType = PMS.top()->getPassManagerType(); in assignPassManager()
1855 PMS.pop(); // Pop children pass managers in assignPassManager()
1859 assert(!PMS.empty() && "Unable to find appropriate Pass Manager"); in assignPassManager()
1860 PMS.top()->add(this); in assignPassManager()
1865 void FunctionPass::assignPassManager(PMStack &PMS, in assignPassManager() argument
1869 while (!PMS.empty()) { in assignPassManager()
1870 if (PMS.top()->getPassManagerType() > PMT_FunctionPassManager) in assignPassManager()
1871 PMS.pop(); in assignPassManager()
1878 if (PMS.top()->getPassManagerType() == PMT_FunctionPassManager) { in assignPassManager()
1879 FPP = (FPPassManager *)PMS.top(); in assignPassManager()
1881 assert(!PMS.empty() && "Unable to create Function Pass Manager"); in assignPassManager()
1882 PMDataManager *PMD = PMS.top(); in assignPassManager()
1886 FPP->populateInheritedAnalysis(PMS); in assignPassManager()
1894 FPP->assignPassManager(PMS, PMD->getPassManagerType()); in assignPassManager()
1897 PMS.push(FPP); in assignPassManager()
1906 void BasicBlockPass::assignPassManager(PMStack &PMS, in assignPassManager() argument
1912 if (!PMS.empty() && in assignPassManager()
1913 PMS.top()->getPassManagerType() == PMT_BasicBlockPassManager) { in assignPassManager()
1914 BBP = (BBPassManager *)PMS.top(); in assignPassManager()
1918 assert(!PMS.empty() && "Unable to create BasicBlock Pass Manager"); in assignPassManager()
1919 PMDataManager *PMD = PMS.top(); in assignPassManager()
1931 BBP->assignPassManager(PMS, PreferredType); in assignPassManager()
1934 PMS.push(BBP); in assignPassManager()