1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/unittests
Alina Sbirlea c25b0c2bff [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
..
ADT [Allocator] Make Deallocate() pass alignment and make it use (de)allocate_buffer 2020-05-02 16:08:46 +02:00
Analysis [NewPassManager] Add assertions when getting statefull cached analysis. 2020-05-13 12:38:38 -07:00
AsmParser [SVE] Remove VectorType::getBitWidth() 2020-04-21 13:33:46 -07:00
BinaryFormat
Bitcode
Bitstream
CodeGen [CodeGen] Fix warnings due to SelectionDAG::getSplatSourceVector 2020-05-05 08:45:41 +01:00
DebugInfo [NativeSession] Implement NativeSession::findSymbolByAddress. 2020-05-13 09:39:25 -07:00
Demangle
ExecutionEngine [ORC] Share ownership of JITDylibs between ExecutionSession and 2020-05-10 16:37:17 -07:00
Frontend
FuzzMutate
IR [NewPassManager] Add assertions when getting statefull cached analysis. 2020-05-13 12:38:38 -07:00
LineEditor
Linker
MC
MI [LiveIntervals] Replace handleMoveIntoBundle 2020-04-16 19:58:19 +09:00
Object
ObjectYAML
Option
Passes
ProfileData Fix a memory link problem in SampleProfTest.cpp. 2020-04-27 10:32:30 -07:00
Remarks
Support [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
TableGen
Target [ARM] Replace arm vendor with none. NFC 2020-04-22 18:19:35 +01:00
TextAPI [llvm][TextAPI] adding inlining reexported libraries support 2020-04-02 13:05:08 -07:00
tools [llvm-exegesis][NFC] Let the pfm::Counter own the PerfHelper. 2020-04-08 15:37:30 +02:00
Transforms [NewPassManager] Add assertions when getting statefull cached analysis. 2020-05-13 12:38:38 -07:00
XRay
CMakeLists.txt
unittest.cfg.in