• Home
  • Raw
  • Download

Lines Matching refs:Impl

76   PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(pImpl);  in ~PassRegistry()  local
78 for (std::vector<const PassInfo*>::iterator I = Impl->ToFree.begin(), in ~PassRegistry()
79 E = Impl->ToFree.end(); I != E; ++I) in ~PassRegistry()
82 delete Impl; in ~PassRegistry()
88 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in getPassInfo() local
89 PassRegistryImpl::MapType::const_iterator I = Impl->PassInfoMap.find(TI); in getPassInfo()
90 return I != Impl->PassInfoMap.end() ? I->second : 0; in getPassInfo()
95 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in getPassInfo() local
97 I = Impl->PassInfoStringMap.find(Arg); in getPassInfo()
98 return I != Impl->PassInfoStringMap.end() ? I->second : 0; in getPassInfo()
107 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in registerPass() local
109 Impl->PassInfoMap.insert(std::make_pair(PI.getTypeInfo(),&PI)).second; in registerPass()
112 Impl->PassInfoStringMap[PI.getPassArgument()] = &PI; in registerPass()
116 I = Impl->Listeners.begin(), E = Impl->Listeners.end(); I != E; ++I) in registerPass()
119 if (ShouldFree) Impl->ToFree.push_back(&PI); in registerPass()
124 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in unregisterPass() local
126 Impl->PassInfoMap.find(PI.getTypeInfo()); in unregisterPass()
127 assert(I != Impl->PassInfoMap.end() && "Pass registered but not in map!"); in unregisterPass()
130 Impl->PassInfoMap.erase(I); in unregisterPass()
131 Impl->PassInfoStringMap.erase(PI.getPassArgument()); in unregisterPass()
136 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in enumerateWith() local
137 for (PassRegistryImpl::MapType::const_iterator I = Impl->PassInfoMap.begin(), in enumerateWith()
138 E = Impl->PassInfoMap.end(); I != E; ++I) in enumerateWith()
169 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in registerAnalysisGroup() local
171 Impl->AnalysisGroupInfoMap[InterfaceInfo]; in registerAnalysisGroup()
184 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in registerAnalysisGroup() local
185 if (ShouldFree) Impl->ToFree.push_back(&Registeree); in registerAnalysisGroup()
190 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in addRegistrationListener() local
191 Impl->Listeners.push_back(L); in addRegistrationListener()
203 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); in removeRegistrationListener() local
205 std::find(Impl->Listeners.begin(), Impl->Listeners.end(), L); in removeRegistrationListener()
206 assert(I != Impl->Listeners.end() && in removeRegistrationListener()
208 Impl->Listeners.erase(I); in removeRegistrationListener()