aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2019-12-26 08:00:00 -0500
committerBrian Gesiak <modocache@gmail.com>2020-02-17 13:27:48 -0500
commite9849d5195e9951a8210ebf63d19c014800c3368 (patch)
tree93ff31a9591b9b1556f90ffb39479074099cf935 /clang/lib/Serialization/ModuleManager.cpp
parent3431dc32a4162c0c3e0e0cd3e9e550c5f3c57047 (diff)
downloadllvm-e9849d5195e9951a8210ebf63d19c014800c3368.zip
llvm-e9849d5195e9951a8210ebf63d19c014800c3368.tar.gz
llvm-e9849d5195e9951a8210ebf63d19c014800c3368.tar.bz2
[Coroutines][1/6] New pass manager: coro-early
Summary: The first in a series of patches that ports the LLVM coroutines passes to the new pass manager infrastructure. This patch implements 'coro-early'. NB: All coroutines passes begin by checking that coroutine intrinsics are declared within the LLVM IR module they're operating on. To do so, they call `coro::declaresIntrinsics`. The next 3 patches in this series, which add new pass manager implementations of the 'coro-split', 'coro-elide', and 'coro-cleanup' passes, use a similar pattern as the one used here: a static function is shared across both old and new passes to detect if relevant coroutine intrinsics are delcared. To make this pattern easier to read, this patch adds `const` keywords to the parameters of `coro::declaresIntrinsics`. Reviewers: GorNishanov, lewissbaker, junparser, chandlerc, deadalnix, wenlei Reviewed By: wenlei Subscribers: ychen, wenlei, EricWF, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71898
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions