Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Analysis/
DLazyCallGraph.cpp44 EdgeIndexMap.insert({&TargetN, Edges.size()}); in insertEdgeInternal()
49 Edges[EdgeIndexMap.find(&TargetN)->second].setKind(EK); in setEdgeKind()
53 auto IndexMapI = EdgeIndexMap.find(&TargetN); in removeEdgeInternal()
54 if (IndexMapI == EdgeIndexMap.end()) in removeEdgeInternal()
58 EdgeIndexMap.erase(IndexMapI); in removeEdgeInternal()
63 DenseMap<LazyCallGraph::Node *, int> &EdgeIndexMap, in addEdge() argument
65 if (!EdgeIndexMap.insert({&N, Edges.size()}).second) in addEdge()
107 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(*Callee), in populateSlow()
121 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(F), in populateSlow()
129 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(*F), in populateSlow()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyCallGraph.cpp44 EdgeIndexMap.insert({&TargetN, Edges.size()}); in insertEdgeInternal()
49 Edges[EdgeIndexMap.find(&TargetN)->second].setKind(EK); in setEdgeKind()
53 auto IndexMapI = EdgeIndexMap.find(&TargetN); in removeEdgeInternal()
54 if (IndexMapI == EdgeIndexMap.end()) in removeEdgeInternal()
58 EdgeIndexMap.erase(IndexMapI); in removeEdgeInternal()
63 DenseMap<LazyCallGraph::Node *, int> &EdgeIndexMap, in addEdge() argument
65 if (!EdgeIndexMap.insert({&N, Edges.size()}).second) in addEdge()
107 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(*Callee), in populateSlow()
121 addEdge(Edges->Edges, Edges->EdgeIndexMap, G->get(F), in populateSlow()
129 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-10.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-project/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];