llvm-project/llvm/lib/Transforms/Coroutines
Alina Sbirlea bd541b217f [NewPassManager] Add assertions when getting statefull cached analysis.
Summary:
Analyses that are statefull should not be retrieved through a proxy from
an outer IR unit, as these analyses are only invalidated at the end of
the inner IR unit manager.
This patch disallows getting the outer manager and provides an API to
get a cached analysis through the proxy. If the analysis is not
stateless, the call to getCachedResult will assert.

Reviewers: chandlerc

Subscribers: mehdi_amini, eraman, hiraditya, zzheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72893
2020-05-13 12:38:38 -07:00
..
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
CoroCleanup.cpp [Coroutines][4/6] New pass manager: coro-cleanup 2020-02-19 00:30:27 -05:00
CoroEarly.cpp [llvm][NFC][CallSite] Remove CallSite from CoroEarly 2020-04-20 18:15:25 -07:00
CoroElide.cpp Use optimal layout and preserve alloca alignment in coroutine frames. 2020-03-26 00:51:09 -04:00
CoroFrame.cpp Rename OptimalLayout to OptimizedStructLayout at Chris's request. 2020-04-10 00:14:20 -04:00
CoroInstr.h Use optimal layout and preserve alloca alignment in coroutine frames. 2020-03-26 00:51:09 -04:00
CoroInternal.h Use optimal layout and preserve alloca alignment in coroutine frames. 2020-03-26 00:51:09 -04:00
CoroSplit.cpp [NewPassManager] Add assertions when getting statefull cached analysis. 2020-05-13 12:38:38 -07:00
Coroutines.cpp [CallSite removal] Remove unneeded includes of CallSite.h. NFC 2020-04-22 00:07:13 -07:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00