Searched refs:CalledFunctions (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | CallGraph.h | 182 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 190 inline iterator begin() { return CalledFunctions.begin(); } in begin() 191 inline iterator end() { return CalledFunctions.end(); } in end() 192 inline const_iterator begin() const { return CalledFunctions.begin(); } in begin() 193 inline const_iterator end() const { return CalledFunctions.end(); } in end() 194 inline bool empty() const { return CalledFunctions.empty(); } in empty() 195 inline unsigned size() const { return (unsigned)CalledFunctions.size(); } in size() 203 assert(i < CalledFunctions.size() && "Invalid index"); 204 return CalledFunctions[i].second; 219 while (!CalledFunctions.empty()) { in removeAllCalledFunctions() 220 CalledFunctions.back().second->DropRef(); in removeAllCalledFunctions() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 193 inline iterator begin() { return CalledFunctions.begin(); } in begin() 194 inline iterator end() { return CalledFunctions.end(); } in end() 195 inline const_iterator begin() const { return CalledFunctions.begin(); } in begin() 196 inline const_iterator end() const { return CalledFunctions.end(); } in end() 197 inline bool empty() const { return CalledFunctions.empty(); } in empty() 198 inline unsigned size() const { return (unsigned)CalledFunctions.size(); } in size() 206 assert(i < CalledFunctions.size() && "Invalid index"); 207 return CalledFunctions[i].second; 222 while (!CalledFunctions.empty()) { in removeAllCalledFunctions() 223 CalledFunctions.back().second->DropRef(); in removeAllCalledFunctions() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
D | CallGraph.cpp | 283 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeCallEdgeFor() 284 assert(I != CalledFunctions.end() && "Cannot find callsite to remove!"); in removeCallEdgeFor() 287 *I = CalledFunctions.back(); in removeCallEdgeFor() 288 CalledFunctions.pop_back(); in removeCallEdgeFor() 298 for (unsigned i = 0, e = CalledFunctions.size(); i != e; ++i) in removeAnyCallEdgeTo() 299 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo() 301 CalledFunctions[i] = CalledFunctions.back(); in removeAnyCallEdgeTo() 302 CalledFunctions.pop_back(); in removeAnyCallEdgeTo() 310 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeOneAbstractEdgeTo() 311 assert(I != CalledFunctions.end() && "Cannot find callee to remove!"); in removeOneAbstractEdgeTo() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CallGraph.cpp | 190 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeCallEdgeFor() 191 assert(I != CalledFunctions.end() && "Cannot find callsite to remove!"); in removeCallEdgeFor() 194 *I = CalledFunctions.back(); in removeCallEdgeFor() 195 CalledFunctions.pop_back(); in removeCallEdgeFor() 205 for (unsigned i = 0, e = CalledFunctions.size(); i != e; ++i) in removeAnyCallEdgeTo() 206 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo() 208 CalledFunctions[i] = CalledFunctions.back(); in removeAnyCallEdgeTo() 209 CalledFunctions.pop_back(); in removeAnyCallEdgeTo() 217 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeOneAbstractEdgeTo() 218 assert(I != CalledFunctions.end() && "Cannot find callee to remove!"); in removeOneAbstractEdgeTo() [all …]
|
/external/llvm/lib/Analysis/ |
D | CallGraph.cpp | 204 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeCallEdgeFor() 205 assert(I != CalledFunctions.end() && "Cannot find callsite to remove!"); in removeCallEdgeFor() 208 *I = CalledFunctions.back(); in removeCallEdgeFor() 209 CalledFunctions.pop_back(); in removeCallEdgeFor() 219 for (unsigned i = 0, e = CalledFunctions.size(); i != e; ++i) in removeAnyCallEdgeTo() 220 if (CalledFunctions[i].second == Callee) { in removeAnyCallEdgeTo() 222 CalledFunctions[i] = CalledFunctions.back(); in removeAnyCallEdgeTo() 223 CalledFunctions.pop_back(); in removeAnyCallEdgeTo() 231 for (CalledFunctionsVector::iterator I = CalledFunctions.begin(); ; ++I) { in removeOneAbstractEdgeTo() 232 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 | GlobalOpt.cpp | 2426 SmallPtrSet<const Function *, 8> &CalledFunctions) { in cxxDtorIsEmpty() argument 2448 SmallPtrSet<const Function *, 8> NewCalledFunctions(CalledFunctions); in cxxDtorIsEmpty() 2496 SmallPtrSet<const Function *, 8> CalledFunctions; in OptimizeEmptyGlobalCXXDtors() local 2497 if (!cxxDtorIsEmpty(*DtorFn, CalledFunctions)) in OptimizeEmptyGlobalCXXDtors()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2802 SmallPtrSet<const Function *, 8> &CalledFunctions) { in cxxDtorIsEmpty() argument 2824 SmallPtrSet<const Function *, 8> NewCalledFunctions(CalledFunctions); in cxxDtorIsEmpty() 2872 SmallPtrSet<const Function *, 8> CalledFunctions; in OptimizeEmptyGlobalCXXDtors() local 2873 if (!cxxDtorIsEmpty(*DtorFn, CalledFunctions)) in OptimizeEmptyGlobalCXXDtors()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2729 SmallPtrSet<const Function *, 8> &CalledFunctions) { in cxxDtorIsEmpty() argument 2751 SmallPtrSet<const Function *, 8> NewCalledFunctions(CalledFunctions); in cxxDtorIsEmpty() 2799 SmallPtrSet<const Function *, 8> CalledFunctions; in OptimizeEmptyGlobalCXXDtors() local 2800 if (!cxxDtorIsEmpty(*DtorFn, CalledFunctions)) in OptimizeEmptyGlobalCXXDtors()
|