Searched refs:FunctionMap (Results 1 – 7 of 7) sorted by relevance
182 if (FunctionMap.empty()) return; in destroy()187 for (FunctionMapTy::iterator I = FunctionMap.begin(), E = FunctionMap.end(); in destroy()192 for (FunctionMapTy::iterator I = FunctionMap.begin(), E = FunctionMap.end(); in destroy()195 FunctionMap.clear(); in destroy()223 FunctionMap.erase(F); // Remove the call graph node from the map in removeFunctionFromModule()235 assert(FunctionMap.count(From) && "No CallGraphNode for function!"); in spliceFunction()236 assert(!FunctionMap.count(To) && in spliceFunction()238 FunctionMapTy::iterator I = FunctionMap.find(From); in spliceFunction()240 FunctionMap[To] = I->second; in spliceFunction()241 FunctionMap.erase(I); in spliceFunction()[all …]
77 FunctionMapTy FunctionMap; // Map from a function to its node variable91 inline iterator begin() { return FunctionMap.begin(); } in begin()92 inline iterator end() { return FunctionMap.end(); } in end()93 inline const_iterator begin() const { return FunctionMap.begin(); } in begin()94 inline const_iterator end() const { return FunctionMap.end(); } in end()99 const_iterator I = FunctionMap.find(F);100 assert(I != FunctionMap.end() && "Function not in callgraph!");104 const_iterator I = FunctionMap.find(F);105 assert(I != FunctionMap.end() && "Function not in callgraph!");
109 if (!FunctionMap.empty()) { in ~CallGraph()110 for (FunctionMapTy::iterator I = FunctionMap.begin(), E = FunctionMap.end(); in ~CallGraph()113 FunctionMap.clear(); in ~CallGraph()155 FunctionMapTy::const_iterator I = FunctionMap.find(F); in getNode()156 if (I == FunctionMap.end()) return 0; in getNode()161 CallGraphNode *&Node = FunctionMap[F]; in getOrInsertNode()
40 FunctionMapTy FunctionMap; variable71 iterator begin() { return FunctionMap.begin(); } in begin()72 iterator end() { return FunctionMap.end(); } in end()73 const_iterator begin() const { return FunctionMap.begin(); } in begin()74 const_iterator end() const { return FunctionMap.end(); } in end()77 unsigned size() const { return FunctionMap.size(); } in size()
32 typedef HashMap<AtomicString, ConstructorFunction> FunctionMap;34 static FunctionMap* g_constructors = 0;69 g_constructors = new FunctionMap;
51 typedef HashMap<StringImpl*, Create{{namespace}}ElementWrapperFunction> FunctionMap;52 DEFINE_STATIC_LOCAL(FunctionMap, map, ());
62 typedef HashMap<StringImpl*, EvalFunc> FunctionMap; typedef63 static FunctionMap* gFunctionMap;671 gFunctionMap = new FunctionMap; in createFunctionMap()