Searched refs:CalledFunctions (Results 1 – 5 of 5) sorted by relevance
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 192 inline iterator begin() { return CalledFunctions.begin(); } in begin() 193 inline iterator end() { return CalledFunctions.end(); } in end() 194 inline const_iterator begin() const { return CalledFunctions.begin(); } in begin() 195 inline const_iterator end() const { return CalledFunctions.end(); } in end() 196 inline bool empty() const { return CalledFunctions.empty(); } in empty() 197 inline unsigned size() const { return (unsigned)CalledFunctions.size(); } in size() 205 assert(i < CalledFunctions.size() && "Invalid index"); 206 return CalledFunctions[i].second; 221 while (!CalledFunctions.empty()) { in removeAllCalledFunctions() 222 CalledFunctions.back().second->DropRef(); in removeAllCalledFunctions() [all …]
|
/external/llvm/lib/Analysis/ |
D | CallGraph.cpp | 206 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeCallEdgeFor() 207 assert(I != CalledFunctions.end() && "Cannot find callsite to remove!"); in removeCallEdgeFor() 210 *I = CalledFunctions.back(); in removeCallEdgeFor() 211 CalledFunctions.pop_back(); in removeCallEdgeFor() 221 for (unsigned i = 0, e = CalledFunctions.size(); i != e; ++i) in removeAnyCallEdgeTo() 222 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo() 224 CalledFunctions[i] = CalledFunctions.back(); in removeAnyCallEdgeTo() 225 CalledFunctions.pop_back(); in removeAnyCallEdgeTo() 233 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeOneAbstractEdgeTo() 234 assert(I != CalledFunctions.end() && "Cannot find callee to remove!"); in removeOneAbstractEdgeTo() [all …]
|
/external/clang/include/clang/Analysis/ |
D | CallGraph.h | 142 SmallVector<CallRecord, 5> CalledFunctions; variable 151 inline iterator begin() { return CalledFunctions.begin(); } in begin() 152 inline iterator end() { return CalledFunctions.end(); } in end() 153 inline const_iterator begin() const { return CalledFunctions.begin(); } in begin() 154 inline const_iterator end() const { return CalledFunctions.end(); } in end() 156 inline bool empty() const {return CalledFunctions.empty(); } in empty() 157 inline unsigned size() const {return CalledFunctions.size(); } in size() 160 CalledFunctions.push_back(N); in addCallee()
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 98 StringSet<> &CalledFunctions, in findExternalCalls() argument 127 auto It = CalledFunctions.insert(ImportedName); in findExternalCalls() 162 StringSet<> &CalledFunctions, in GetImportList() argument 254 findExternalCalls(DestModule, *F, Index, CalledFunctions, Worklist); in GetImportList() 269 StringSet<> CalledFunctions; in importFunctions() local 274 findExternalCalls(DestModule, F, Index, CalledFunctions, Worklist); in importFunctions() 291 GetImportList(DestModule, Worklist, CalledFunctions, in importFunctions()
|
D | GlobalOpt.cpp | 3087 SmallPtrSet<const Function *, 8> &CalledFunctions) { in cxxDtorIsEmpty() argument 3109 SmallPtrSet<const Function *, 8> NewCalledFunctions(CalledFunctions); in cxxDtorIsEmpty() 3157 SmallPtrSet<const Function *, 8> CalledFunctions; in OptimizeEmptyGlobalCXXDtors() local 3158 if (!cxxDtorIsEmpty(*DtorFn, CalledFunctions)) in OptimizeEmptyGlobalCXXDtors()
|