Home
last modified time | relevance | path

Searched refs:lookupSCC (Results 1 – 10 of 10) sorted by relevance

/external/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp448 EXPECT_EQ(&C, CG.lookupSCC(N1)); in TEST()
449 EXPECT_EQ(&C, CG.lookupSCC(N2)); in TEST()
450 EXPECT_EQ(&C, CG.lookupSCC(N3)); in TEST()
451 EXPECT_EQ(&C, CG.lookupSCC(N4)); in TEST()
452 EXPECT_EQ(&C, CG.lookupSCC(N5)); in TEST()
487 LazyCallGraph::SCC &AC = *CG.lookupSCC(A); in TEST()
488 LazyCallGraph::SCC &BC = *CG.lookupSCC(B); in TEST()
489 LazyCallGraph::SCC &CC = *CG.lookupSCC(C); in TEST()
490 LazyCallGraph::SCC &DC = *CG.lookupSCC(D); in TEST()
518 EXPECT_EQ(&AC, CG.lookupSCC(A)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp574 EXPECT_EQ(&C, CG.lookupSCC(N1)); in TEST()
575 EXPECT_EQ(&C, CG.lookupSCC(N2)); in TEST()
576 EXPECT_EQ(&C, CG.lookupSCC(N3)); in TEST()
577 EXPECT_EQ(&C, CG.lookupSCC(N4)); in TEST()
578 EXPECT_EQ(&C, CG.lookupSCC(N5)); in TEST()
614 LazyCallGraph::SCC &AC = *CG.lookupSCC(A); in TEST()
615 LazyCallGraph::SCC &BC = *CG.lookupSCC(B); in TEST()
616 LazyCallGraph::SCC &CC = *CG.lookupSCC(C); in TEST()
617 LazyCallGraph::SCC &DC = *CG.lookupSCC(D); in TEST()
657 EXPECT_EQ(&AC, CG.lookupSCC(A)); in TEST()
[all …]
DCGSCCPassManagerTest.cpp971 *CGAM.getCachedResult<TestSCCAnalysis>(*CG.lookupSCC(*CG.lookup(F))); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCGSCCPassManager.cpp366 assert(G.lookupSCC(N) == C && "Failed to update current SCC!"); in incorporateNewSCCRange()
489 SCC &TargetC = *G.lookupSCC(E.getNode()); in updateCGAndAnalysisManagerForFunctionPass()
509 SCC &TargetC = *G.lookupSCC(*TargetN); in updateCGAndAnalysisManagerForFunctionPass()
536 assert(G.lookupSCC(N) == C && "Changed the SCC when splitting RefSCCs!"); in updateCGAndAnalysisManagerForFunctionPass()
559 SCC &TargetC = *G.lookupSCC(*RefTarget); in updateCGAndAnalysisManagerForFunctionPass()
588 SCC &TargetC = *G.lookupSCC(*CallTarget); in updateCGAndAnalysisManagerForFunctionPass()
635 assert(G.lookupSCC(N) == C && "Failed to update current SCC!"); in updateCGAndAnalysisManagerForFunctionPass()
DLazyCallGraph.cpp225 assert(OuterRefSCC->G->lookupSCC(*N) == this && in verify()
243 if (OuterRefSCC->G->lookupSCC(E.getNode()) == &C) in isParentOf()
265 SCC *CalleeC = G.lookupSCC(E.getNode()); in isAncestorOf()
327 SCC &TargetSCC = *G->lookupSCC(E.getNode()); in verify()
529 SCC &SourceSCC = *G->lookupSCC(SourceN); in switchInternalEdgeToCall()
530 SCC &TargetSCC = *G->lookupSCC(TargetN); in switchInternalEdgeToCall()
563 if (ConnectedSet.count(G->lookupSCC(E.getNode()))) in switchInternalEdgeToCall()
594 SCC &EdgeC = *G->lookupSCC(E.getNode()); in switchInternalEdgeToCall()
680 assert(G->lookupSCC(SourceN) != G->lookupSCC(TargetN) && in switchTrivialInternalEdgeToRef()
703 SCC &TargetSCC = *G->lookupSCC(TargetN); in switchInternalEdgeToRef()
[all …]
/external/llvm/lib/Analysis/
DLazyCallGraph.cpp190 assert(OuterRefSCC->G->lookupSCC(*N) == this && in verify()
236 SCC &TargetSCC = *G->lookupSCC(*E.getNode()); in verify()
270 SCC &SourceSCC = *G->lookupSCC(SourceN); in switchInternalEdgeToCall()
271 SCC &TargetSCC = *G->lookupSCC(TargetN); in switchInternalEdgeToCall()
349 if (ConnectedSet.count(G->lookupSCC(*E.getNode()))) in switchInternalEdgeToCall()
412 SCC &EdgeC = *G->lookupSCC(*E.getNode()); in switchInternalEdgeToCall()
485 SCC &SourceSCC = *G->lookupSCC(SourceN); in switchInternalEdgeToRef()
486 SCC &TargetSCC = *G->lookupSCC(TargetN); in switchInternalEdgeToRef()
584 if (G->lookupSCC(ChildN) == &OldSCC) { in switchInternalEdgeToRef()
997 SCC &TargetC = *G->lookupSCC(TargetN); in removeInternalRefEdge()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DInliner.cpp909 if (CG.lookupSCC(N) != C) in run()
964 if (CG.lookupSCC(*CG.lookup(Callee)) == C && in run()
1106 return CG.lookupSCC(*CG.lookup(*Callee)) == OldC; in run()
1125 auto &DeadC = *CG.lookupSCC(*CG.lookup(*DeadF)); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCGSCCPassManager.h615 if (CG.lookupSCC(*N) != CurrentC)
637 CG.lookupSCC(*N) == CurrentC &&
DLazyCallGraph.h969 SCC *lookupSCC(Node &N) const { return SCCMap.lookup(&N); } in lookupSCC() function
976 if (SCC *C = lookupSCC(N)) in lookupRefSCC()
/external/llvm/include/llvm/Analysis/
DLazyCallGraph.h782 SCC *lookupSCC(Node &N) const { return SCCMap.lookup(&N); } in lookupSCC() function
789 if (SCC *C = lookupSCC(N)) in lookupRefSCC()