Home
last modified time | relevance | path

Searched refs:CalledFunctions (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/Analysis/
DCallGraph.h187 inline iterator begin() { return CalledFunctions.begin(); } in begin()
188 inline iterator end() { return CalledFunctions.end(); } in end()
189 inline const_iterator begin() const { return CalledFunctions.begin(); } in begin()
190 inline const_iterator end() const { return CalledFunctions.end(); } in end()
191 inline bool empty() const { return CalledFunctions.empty(); } in empty()
192 inline unsigned size() const { return (unsigned)CalledFunctions.size(); } in size()
200 assert(i < CalledFunctions.size() && "Invalid index");
201 return CalledFunctions[i].second;
216 while (!CalledFunctions.empty()) { in removeAllCalledFunctions()
217 CalledFunctions.back().second->DropRef(); in removeAllCalledFunctions()
[all …]
/external/llvm/lib/Analysis/IPA/
DCallGraph.cpp183 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeCallEdgeFor()
184 assert(I != CalledFunctions.end() && "Cannot find callsite to remove!"); in removeCallEdgeFor()
187 *I = CalledFunctions.back(); in removeCallEdgeFor()
188 CalledFunctions.pop_back(); in removeCallEdgeFor()
198 for (unsigned i = 0, e = CalledFunctions.size(); i != e; ++i) in removeAnyCallEdgeTo()
199 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo()
201 CalledFunctions[i] = CalledFunctions.back(); in removeAnyCallEdgeTo()
202 CalledFunctions.pop_back(); in removeAnyCallEdgeTo()
210 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeOneAbstractEdgeTo()
211 assert(I != CalledFunctions.end() && "Cannot find callee to remove!"); in removeOneAbstractEdgeTo()
[all …]
/external/clang/include/clang/Analysis/
DCallGraph.h142 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/
DGlobalOpt.cpp2950 SmallPtrSet<const Function *, 8> &CalledFunctions) { in cxxDtorIsEmpty() argument
2972 SmallPtrSet<const Function *, 8> NewCalledFunctions(CalledFunctions); in cxxDtorIsEmpty()
3020 SmallPtrSet<const Function *, 8> CalledFunctions; in OptimizeEmptyGlobalCXXDtors() local
3021 if (!cxxDtorIsEmpty(*DtorFn, CalledFunctions)) in OptimizeEmptyGlobalCXXDtors()