reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
115 inline iterator begin() { return FunctionMap.begin(); } 116 inline iterator end() { return FunctionMap.end(); } 117 inline const_iterator begin() const { return FunctionMap.begin(); } 118 inline const_iterator end() const { return FunctionMap.end(); } 122 const_iterator I = FunctionMap.find(F); 123 assert(I != FunctionMap.end() && "Function not in callgraph!"); 129 const_iterator I = FunctionMap.find(F); 130 assert(I != FunctionMap.end() && "Function not in callgraph!");lib/Analysis/CallGraph.cpp
39 : M(Arg.M), FunctionMap(std::move(Arg.FunctionMap)), 42 Arg.FunctionMap.clear(); 54 for (auto &I : FunctionMap) 93 Nodes.reserve(FunctionMap.size()); 124 FunctionMap.erase(F); // Remove the call graph node from the map 135 assert(FunctionMap.count(From) && "No CallGraphNode for function!"); 136 assert(!FunctionMap.count(To) && 138 FunctionMapTy::iterator I = FunctionMap.find(From); 140 FunctionMap[To] = std::move(I->second); 141 FunctionMap.erase(I); 148 auto &CGN = FunctionMap[F];