llvm-6502/unittests/IR
Chandler Carruth 040ca449b2 [PM] Add names and debug logging for analysis passes to the new pass
manager.

This starts to allow us to test analyses more easily, but it's really
only the beginning. Some of the code here is still untestable without
manual changes to create analysis passes, but I wanted to factor it into
a small of chunks as possible.

Next up in order to be able to test things are, in no particular order:
- No-op analyses passes so we don't have to use real ones to exercise
  the pass maneger itself.
- Automatic way of generating dummy passes that require an analysis be
  run, including a variant that calls a 'print' method on a pass to make
  it even easier to print out the results of an analysis.
- Dummy passes that invalidate all analyses for their IR unit so we can
  test invalidation and re-runs.
- Automatic way to print each analysis pass as it is re-run.
- Automatic but optional verification of analysis passes everywhere
  possible.

I'm not claiming I'll get to all of these immediately, but that's what
is in the pipeline at some stage. I'm fleshing out exactly what I need
and what to prioritize by working on converting analyses and then trying
to test the conversion. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225162 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-05 12:21:44 +00:00
..
AttributesTest.cpp
CMakeLists.txt The leak detector is dead, long live asan and valgrind. 2014-12-22 13:00:36 +00:00
ConstantRangeTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
ConstantsTest.cpp IR: Fix a missed case when threading OnlyIfReduced through ConstantExpr 2014-08-19 21:18:21 +00:00
DebugInfoTest.cpp Silence a -Wcast-qual warning; NFC. 2014-10-21 16:12:37 +00:00
DominatorTreeTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
InstructionsTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
IRBuilderTest.cpp Fix a logic bug when copying fast-math flags. 2014-09-02 20:03:00 +00:00
LegacyPassManagerTest.cpp Add doInitialization/doFinalization to DataLayoutPass. 2014-09-10 21:27:43 +00:00
Makefile
MDBuilderTest.cpp IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
MetadataTest.cpp Remove 'metadata' from comments 2014-12-16 07:45:05 +00:00
PassManagerTest.cpp [PM] Add names and debug logging for analysis passes to the new pass 2015-01-05 12:21:44 +00:00
PatternMatch.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
TypeBuilderTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
TypesTest.cpp
UserTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
UseTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
ValueHandleTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
ValueMapTest.cpp Support: make LLVM Mutexes STL-compatible 2014-08-23 22:49:22 +00:00
ValueTest.cpp Add unittest for extreme alignments. 2014-10-23 14:45:19 +00:00
VerifierTest.cpp Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
WaymarkTest.cpp Fix a leak found by asan. 2014-12-23 17:20:23 +00:00