Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DCallGraph.h182 std::vector<CallRecord> CalledFunctions;
213 inline iterator begin() { return CalledFunctions.begin(); } in begin()
214 inline iterator end() { return CalledFunctions.end(); } in end()
215 inline const_iterator begin() const { return CalledFunctions.begin(); } in begin()
216 inline const_iterator end() const { return CalledFunctions.end(); } in end()
217 inline bool empty() const { return CalledFunctions.empty(); } in empty()
218 inline unsigned size() const { return (unsigned)CalledFunctions.size(); } in size()
227 assert(i < CalledFunctions.size() && "Invalid index");
228 return CalledFunctions[i].second;
244 while (!CalledFunctions.empty()) { in removeAllCalledFunctions()
[all …]
/external/llvm/lib/Analysis/IPA/
DCallGraph.cpp280 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeCallEdgeFor()
281 assert(I != CalledFunctions.end() && "Cannot find callsite to remove!"); in removeCallEdgeFor()
284 *I = CalledFunctions.back(); in removeCallEdgeFor()
285 CalledFunctions.pop_back(); in removeCallEdgeFor()
295 for (unsigned i = 0, e = CalledFunctions.size(); i != e; ++i) in removeAnyCallEdgeTo()
296 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo()
298 CalledFunctions[i] = CalledFunctions.back(); in removeAnyCallEdgeTo()
299 CalledFunctions.pop_back(); in removeAnyCallEdgeTo()
307 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeOneAbstractEdgeTo()
308 assert(I != CalledFunctions.end() && "Cannot find callee to remove!"); in removeOneAbstractEdgeTo()
[all …]
/external/clang/include/clang/Analysis/
DCallGraph.h149 llvm::SmallVector<CallRecord, 5> CalledFunctions; variable
158 inline iterator begin() { return CalledFunctions.begin(); } in begin()
159 inline iterator end() { return CalledFunctions.end(); } in end()
160 inline const_iterator begin() const { return CalledFunctions.begin(); } in begin()
161 inline const_iterator end() const { return CalledFunctions.end(); } in end()
163 inline bool empty() const {return CalledFunctions.empty(); } in empty()
164 inline unsigned size() const {return CalledFunctions.size(); } in size()
167 CalledFunctions.push_back(N); in addCallee()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp3027 SmallPtrSet<const Function *, 8> &CalledFunctions) { in cxxDtorIsEmpty() argument
3049 SmallPtrSet<const Function *, 8> NewCalledFunctions(CalledFunctions); in cxxDtorIsEmpty()
3097 SmallPtrSet<const Function *, 8> CalledFunctions; in OptimizeEmptyGlobalCXXDtors() local
3098 if (!cxxDtorIsEmpty(*DtorFn, CalledFunctions)) in OptimizeEmptyGlobalCXXDtors()