Home
last modified time | relevance | path

Searched refs:RefSCC (Results 1 – 13 of 13) sorted by relevance

/external/llvm/include/llvm/Analysis/
DLazyCallGraph.h109 class RefSCC; variable
353 RefSCC *OuterRefSCC;
357 SCC(RefSCC &OuterRefSCC, NodeRangeT &&Nodes) in SCC()
411 RefSCC &getOuterRefSCC() const { return *OuterRefSCC; } in getOuterRefSCC()
439 class RefSCC {
444 SmallPtrSet<RefSCC *, 1> Parents;
454 RefSCC(LazyCallGraph &G);
463 friend raw_ostream &operator<<(raw_ostream &OS, const RefSCC &RC) {
500 typedef pointee_iterator<SmallPtrSetImpl<RefSCC *>::const_iterator>
522 bool isParentOf(const RefSCC &C) const { return C.isChildOf(*this); } in isParentOf()
[all …]
DCGSCCPassManager.h101 for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs()) { in run()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLazyCallGraph.h117 class RefSCC; variable
169 friend class LazyCallGraph::RefSCC;
189 friend class LazyCallGraph::RefSCC;
329 friend class LazyCallGraph::RefSCC;
435 RefSCC *OuterRefSCC;
439 SCC(RefSCC &OuterRefSCC, NodeRangeT &&Nodes) in SCC()
493 RefSCC &getOuterRefSCC() const { return *OuterRefSCC; } in getOuterRefSCC()
547 class RefSCC {
561 RefSCC(LazyCallGraph &G);
575 friend raw_ostream &operator<<(raw_ostream &OS, const RefSCC &RC) {
[all …]
DCGSCCPassManager.h242 SmallPriorityWorklist<LazyCallGraph::RefSCC *, 1> &RCWorklist;
265 SmallPtrSetImpl<LazyCallGraph::RefSCC *> &InvalidatedRefSCCs;
283 LazyCallGraph::RefSCC *UpdatedRC;
352 SmallPriorityWorklist<LazyCallGraph::RefSCC *, 1> RCWorklist;
357 SmallPtrSet<LazyCallGraph::RefSCC *, 4> InvalidRefSCCSet;
388 LazyCallGraph::RefSCC *RC = RCWorklist.pop_back_val();
/external/llvm/lib/Analysis/
DLazyCallGraph.cpp202 LazyCallGraph::RefSCC::RefSCC(LazyCallGraph &G) : G(&G) {} in RefSCC() function in LazyCallGraph::RefSCC
204 void LazyCallGraph::RefSCC::dump() const { in dump()
209 void LazyCallGraph::RefSCC::verify() { in verify()
249 bool LazyCallGraph::RefSCC::isDescendantOf(const RefSCC &C) const { in isDescendantOf()
251 SmallVector<const RefSCC *, 4> AncestorWorklist; in isDescendantOf()
254 const RefSCC *AncestorC = AncestorWorklist.pop_back_val(); in isDescendantOf()
257 for (const RefSCC *ParentC : AncestorC->Parents) in isDescendantOf()
265 LazyCallGraph::RefSCC::switchInternalEdgeToCall(Node &SourceN, Node &TargetN) { in switchInternalEdgeToCall()
481 void LazyCallGraph::RefSCC::switchInternalEdgeToRef(Node &SourceN, in switchInternalEdgeToRef()
672 void LazyCallGraph::RefSCC::switchOutgoingEdgeToCall(Node &SourceN, in switchOutgoingEdgeToCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLazyCallGraph.cpp284 LazyCallGraph::RefSCC::RefSCC(LazyCallGraph &G) : G(&G) {} in RefSCC() function in LazyCallGraph::RefSCC
287 LLVM_DUMP_METHOD void LazyCallGraph::RefSCC::dump() const { in dump()
293 void LazyCallGraph::RefSCC::verify() { in verify()
338 bool LazyCallGraph::RefSCC::isParentOf(const RefSCC &RC) const { in isParentOf()
352 bool LazyCallGraph::RefSCC::isAncestorOf(const RefSCC &RC) const { in isAncestorOf()
359 SmallVector<const RefSCC *, 4> Worklist; in isAncestorOf()
360 SmallPtrSet<const RefSCC *, 4> Visited; in isAncestorOf()
364 const RefSCC &DescendantRC = *Worklist.pop_back_val(); in isAncestorOf()
516 LazyCallGraph::RefSCC::switchInternalEdgeToCall( in switchInternalEdgeToCall()
665 void LazyCallGraph::RefSCC::switchTrivialInternalEdgeToRef(Node &SourceN, in switchTrivialInternalEdgeToRef()
[all …]
DCGSCCPassManager.cpp412 using RefSCC = LazyCallGraph::RefSCC; in updateCGAndAnalysisManagerForFunctionPass() typedef
414 RefSCC &InitialRC = InitialC.getOuterRefSCC(); in updateCGAndAnalysisManagerForFunctionPass()
416 RefSCC *RC = &InitialRC; in updateCGAndAnalysisManagerForFunctionPass()
490 RefSCC &TargetRC = TargetC.getOuterRefSCC(); in updateCGAndAnalysisManagerForFunctionPass()
510 RefSCC &TargetRC = TargetC.getOuterRefSCC(); in updateCGAndAnalysisManagerForFunctionPass()
545 for (RefSCC *NewRC : llvm::reverse(make_range(std::next(NewRefSCCs.begin()), in updateCGAndAnalysisManagerForFunctionPass()
560 RefSCC &TargetRC = TargetC.getOuterRefSCC(); in updateCGAndAnalysisManagerForFunctionPass()
589 RefSCC &TargetRC = TargetC.getOuterRefSCC(); in updateCGAndAnalysisManagerForFunctionPass()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/LazyCallGraph/
Dbasic.ll258 ; CHECK-LABEL: RefSCC with 1 call SCCs:
264 ; CHECK-LABEL: RefSCC with 2 call SCCs:
270 ; CHECK-LABEL: RefSCC with 3 call SCCs:
281 ; CHECK-LABEL: RefSCC with 1 call SCCs:
285 ; CHECK-LABEL: RefSCC with 1 call SCCs:
289 ; CHECK-LABEL: RefSCC with 1 call SCCs:
293 ; CHECK-LABEL: RefSCC with 1 call SCCs:
297 ; CHECK-LABEL: RefSCC with 1 call SCCs:
301 ; CHECK-LABEL: RefSCC with 1 call SCCs:
305 ; CHECK-LABEL: RefSCC with 1 call SCCs:
[all …]
/external/llvm/test/Analysis/LazyCallGraph/
Dbasic.ll258 ; CHECK-LABEL: RefSCC with 1 call SCCs:
264 ; CHECK-LABEL: RefSCC with 2 call SCCs:
270 ; CHECK-LABEL: RefSCC with 3 call SCCs:
281 ; CHECK-LABEL: RefSCC with 1 call SCCs:
285 ; CHECK-LABEL: RefSCC with 1 call SCCs:
289 ; CHECK-LABEL: RefSCC with 1 call SCCs:
293 ; CHECK-LABEL: RefSCC with 1 call SCCs:
297 ; CHECK-LABEL: RefSCC with 1 call SCCs:
301 ; CHECK-LABEL: RefSCC with 1 call SCCs:
305 ; CHECK-LABEL: RefSCC with 1 call SCCs:
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp322 LazyCallGraph::RefSCC &D = *J++; in TEST()
338 LazyCallGraph::RefSCC &C = *J++; in TEST()
354 LazyCallGraph::RefSCC &B = *J++; in TEST()
372 LazyCallGraph::RefSCC &A = *J++; in TEST()
472 LazyCallGraph::RefSCC &RC = *I++; in TEST()
557 LazyCallGraph::RefSCC &RC = *I++; in TEST()
607 for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs()) in TEST()
618 LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A); in TEST()
619 LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B); in TEST()
620 LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C); in TEST()
[all …]
/external/llvm/unittests/Analysis/
DLazyCallGraphTest.cpp209 LazyCallGraph::RefSCC &D = *J++; in TEST()
224 LazyCallGraph::RefSCC &C = *J++; in TEST()
239 LazyCallGraph::RefSCC &B = *J++; in TEST()
256 LazyCallGraph::RefSCC &A = *J++; in TEST()
347 LazyCallGraph::RefSCC &RC = *I++; in TEST()
431 LazyCallGraph::RefSCC &RC = *I++; in TEST()
480 for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs()) in TEST()
491 LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A); in TEST()
492 LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B); in TEST()
493 LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/
Dcgscc-iterate-function-mutation.ll68 ; splitting the SCCs while leaving the RefSCC intact. This is accomplished by
/external/llvm/test/Other/
Dnew-pass-manager.ll25 ; CHECK-CGSCC-PASS-NEXT: Running an SCC pass across the RefSCC: [(foo)]