llvm/unittests/IR
Rafael Espindola 3b670550ad Add doInitialization/doFinalization to DataLayoutPass.
With this a DataLayoutPass can be reused for multiple modules.

Once we have doInitialization/doFinalization, it doesn't seem necessary to pass
a Module to the constructor.

Overall this change seems in line with the idea of making DataLayout a required
part of Module. With it the only way of having a DataLayout used is to add it
to the Module.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217548 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-10 21:27:43 +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 IR: Add Value::sortUseList() 2014-07-24 00:53:19 +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
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
LeakDetectorTest.cpp [Modules] Move the LeakDetector header into the IR library where the 2014-03-04 12:46:06 +00:00
LegacyPassManagerTest.cpp Add doInitialization/doFinalization to DataLayoutPass. 2014-09-10 21:27:43 +00:00
Makefile
MDBuilderTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
MetadataTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00
PassManagerTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +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 Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
VerifierTest.cpp Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
WaymarkTest.cpp [C++11] Use 'nullptr'. 2014-06-08 22:29:17 +00:00