Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLazyCallGraph.cpp45 EdgeIndexMap.insert({&TargetN, Edges.size()}); in insertEdgeInternal()
50 Edges[EdgeIndexMap.find(&TargetN)->second].setKind(EK); in setEdgeKind()
54 auto IndexMapI = EdgeIndexMap.find(&TargetN); in removeEdgeInternal()
55 if (IndexMapI == EdgeIndexMap.end()) in removeEdgeInternal()
59 EdgeIndexMap.erase(IndexMapI); in removeEdgeInternal()
64 DenseMap<LazyCallGraph::Node *, int> &EdgeIndexMap, in addEdge() argument
66 if (!EdgeIndexMap.insert({&N, Edges.size()}).second) in addEdge()
108 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(*Callee), in populateSlow()
122 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(F), in populateSlow()
130 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(*F), in populateSlow()
[all …]
/external/llvm/lib/Analysis/
DLazyCallGraph.cpp24 DenseMap<Function *, int> &EdgeIndexMap, Function &F, in addEdge() argument
37 EdgeIndexMap.insert({&F, Edges.size()}).second) { in addEdge()
46 DenseMap<Function *, int> &EdgeIndexMap) { in findReferences() argument
51 addEdge(Edges, EdgeIndexMap, *F, LazyCallGraph::Edge::Ref); in findReferences()
81 addEdge(Edges, EdgeIndexMap, *Callee, LazyCallGraph::Edge::Call); in Node()
93 findReferences(Worklist, Visited, Edges, EdgeIndexMap); in Node()
100 EdgeIndexMap.insert({&Target, Edges.size()}); in insertEdgeInternal()
105 EdgeIndexMap.insert({&TargetN.getFunction(), Edges.size()}); in insertEdgeInternal()
110 Edges[EdgeIndexMap.find(&TargetF)->second].setKind(EK); in setEdgeKind()
114 auto IndexMapI = EdgeIndexMap.find(&Target); in removeEdgeInternal()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLazyCallGraph.h263 assert(EdgeIndexMap.find(&N) != EdgeIndexMap.end() && "No such edge!");
264 auto &E = Edges[EdgeIndexMap.find(&N)->second];
270 auto EI = EdgeIndexMap.find(&N); in lookup()
271 if (EI == EdgeIndexMap.end()) in lookup()
296 DenseMap<Node *, int> EdgeIndexMap; variable
/external/llvm/include/llvm/Analysis/
DLazyCallGraph.h208 DenseMap<Function *, int> EdgeIndexMap; variable
246 assert(EdgeIndexMap.find(&F) != EdgeIndexMap.end() && "No such edge!");
247 return Edges[EdgeIndexMap.find(&F)->second];