s/addPassToManager/add/g

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2007-01-12 20:07:16 +00:00
parent 178a352079
commit e24e0e1244
2 changed files with 5 additions and 5 deletions

View File

@ -198,7 +198,7 @@ public:
/// Add pass P into the PassVector. Update
/// AvailableAnalysis appropriately if ProcessAnalysis is true.
void addPassToManager(Pass *P, bool ProcessAnalysis = true);
void add(Pass *P, bool ProcessAnalysis = true);
/// Initialize available analysis information.
void initializeAnalysisInfo() {

View File

@ -558,7 +558,7 @@ void PMDataManager::removeDeadPasses(Pass *P, std::string &Msg) {
/// Add pass P into the PassVector. Update
/// AvailableAnalysis appropriately if ProcessAnalysis is true.
void PMDataManager::addPassToManager(Pass *P,
void PMDataManager::add(Pass *P,
bool ProcessAnalysis) {
// This manager is going to manage pass P. Set up analysis resolver
@ -1207,7 +1207,7 @@ void ModulePass::assignPassManager(PMStack &PMS) {
MPPassManager *MPP = dynamic_cast<MPPassManager *>(PMS.top());
assert(MPP && "Unable to find Module Pass Manager");
MPP->addPassToManager(this);
MPP->add(this);
}
/// Find appropriate Function Pass Manager or Call Graph Pass Manager
@ -1245,7 +1245,7 @@ void FunctionPass::assignPassManager(PMStack &PMS) {
}
// Assign FPP as the manager of this pass.
FPP->addPassToManager(this);
FPP->add(this);
}
/// Find appropriate Basic Pass Manager or Call Graph Pass Manager
@ -1285,7 +1285,7 @@ void BasicBlockPass::assignPassManager(PMStack &PMS) {
}
// Assign BBP as the manager of this pass.
BBP->addPassToManager(this);
BBP->add(this);
}