[PATCH] D33622: [coroutines] Define getPassName() for coroutine passes
Gor Nishanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 26 22:54:49 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL304065: [coroutines] Define getPassName() for coroutine passes (authored by GorNishanov).
Changed prior to commit:
https://reviews.llvm.org/D33622?vs=100527&id=100528#toc
Repository:
rL LLVM
https://reviews.llvm.org/D33622
Files:
llvm/trunk/lib/Transforms/Coroutines/CoroCleanup.cpp
llvm/trunk/lib/Transforms/Coroutines/CoroEarly.cpp
llvm/trunk/lib/Transforms/Coroutines/CoroElide.cpp
llvm/trunk/lib/Transforms/Coroutines/CoroSplit.cpp
Index: llvm/trunk/lib/Transforms/Coroutines/CoroEarly.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Coroutines/CoroEarly.cpp
+++ llvm/trunk/lib/Transforms/Coroutines/CoroEarly.cpp
@@ -208,6 +208,9 @@
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.setPreservesCFG();
}
+ StringRef getPassName() const override {
+ return "Lower early coroutine intrinsics";
+ }
};
}
Index: llvm/trunk/lib/Transforms/Coroutines/CoroSplit.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Coroutines/CoroSplit.cpp
+++ llvm/trunk/lib/Transforms/Coroutines/CoroSplit.cpp
@@ -735,6 +735,7 @@
void getAnalysisUsage(AnalysisUsage &AU) const override {
CallGraphSCCPass::getAnalysisUsage(AU);
}
+ StringRef getPassName() const override { return "Coroutine Splitting"; }
};
}
Index: llvm/trunk/lib/Transforms/Coroutines/CoroCleanup.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Coroutines/CoroCleanup.cpp
+++ llvm/trunk/lib/Transforms/Coroutines/CoroCleanup.cpp
@@ -124,6 +124,7 @@
if (!L)
AU.setPreservesAll();
}
+ StringRef getPassName() const override { return "Coroutine Cleanup"; }
};
}
Index: llvm/trunk/lib/Transforms/Coroutines/CoroElide.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Coroutines/CoroElide.cpp
+++ llvm/trunk/lib/Transforms/Coroutines/CoroElide.cpp
@@ -301,6 +301,7 @@
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.addRequired<AAResultsWrapperPass>();
}
+ StringRef getPassName() const override { return "Coroutine Elision"; }
};
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33622.100528.patch
Type: text/x-patch
Size: 1749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170527/87203c70/attachment.bin>
More information about the llvm-commits
mailing list