llvm-6502/unittests/IR
Chandler Carruth d14894059f [PM] Make the function pass manager more regular.
The FunctionPassManager is now itself a function pass. When run over
a function, it runs all N of its passes over that function. This is the
1:N mapping in the pass dimension only. This allows it to be used in
either a ModulePassManager or potentially some other manager that
works on IR units which are supersets of Functions.

This commit also adds the obvious adaptor to map from a module pass to
a function pass, running the function pass across every function in the
module.

The test has been updated to use this new pattern.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195192 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-20 04:39:16 +00:00
..
AttributesTest.cpp Make one of the AttributeSet ctors maintain the invariant that the 2013-08-02 22:29:40 +00:00
CMakeLists.txt [PM] Start sketching out the new module and function pass manager. 2013-11-09 13:09:08 +00:00
ConstantsTest.cpp llvm/unittests: Use OwningPtr to fix --vg-leak. 2013-01-23 08:33:13 +00:00
DominatorTreeTest.cpp llvm/unittests: Use OwningPtr to fix --vg-leak. 2013-01-23 08:33:13 +00:00
InstructionsTest.cpp Add addrspacecast instruction. 2013-11-15 01:34:59 +00:00
IRBuilderTest.cpp Give unit test its own LLVMContext so MDNodes aren't leaked even if we never call llvm_shutdown. 2013-11-15 09:34:33 +00:00
LegacyPassManagerTest.cpp Move the old pass manager infrastructure into a legacy namespace and 2013-11-09 12:26:54 +00:00
Makefile
MDBuilderTest.cpp
MetadataTest.cpp
PassManagerTest.cpp [PM] Make the function pass manager more regular. 2013-11-20 04:39:16 +00:00
PatternMatch.cpp PatternMatch: Matcher for (un)ordered floating point min/max 2013-05-05 01:54:46 +00:00
TypeBuilderTest.cpp
TypesTest.cpp
ValueMapTest.cpp
ValueTest.cpp Fix getOrInsertGlobal dropping the address space. 2013-09-30 21:23:03 +00:00
VerifierTest.cpp Add calls to doInitialization() and doFinalization() in verifyFunction() 2013-10-30 22:37:51 +00:00
WaymarkTest.cpp Revert patches to add case-range support for PR1255. 2013-09-09 19:14:35 +00:00