llvm-project/llvm/lib/Passes
Hongtao Yu bae33a7c5a IR printing for single function with the new pass manager.
Summary:
The IR printing always prints out all functions in a module with the new pass manager, even with -filter-print-funcs specified. This is being fixed in this change. However, there are two exceptions, i.e, with user-specified wildcast switch -filter-print-funcs=* or -print-module-scope, under which IR of all functions should be printed.

Test Plan:
make check-clang
make check-llvm

Reviewers: wenlei

Reviewed By: wenlei

Subscribers: wenlei, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D74814
2020-02-23 15:28:57 -08:00
..
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
LLVMBuild.txt [Coroutines][1/6] New pass manager: coro-early 2020-02-17 13:27:48 -05:00
PassBuilder.cpp [Coroutines][5/6] Add coroutine passes to pipeline 2020-02-19 00:57:14 -05:00
PassPlugin.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PassRegistry.def [Coroutines][4/6] New pass manager: coro-cleanup 2020-02-19 00:30:27 -05:00
StandardInstrumentations.cpp IR printing for single function with the new pass manager. 2020-02-23 15:28:57 -08:00