1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/opt
Mehdi Amini 29ebc2d39f Make DataLayout Non-Optional in the Module
Summary:
DataLayout keeps the string used for its creation.

As a side effect it is no longer needed in the Module.
This is "almost" NFC, the string is no longer
canonicalized, you can't rely on two "equals" DataLayout
having the same string returned by getStringRepresentation().

Get rid of DataLayoutPass: the DataLayout is in the Module

The DataLayout is "per-module", let's enforce this by not
duplicating it more than necessary.
One more step toward non-optionality of the DataLayout in the
module.

Make DataLayout Non-Optional in the Module

Module->getDataLayout() will never returns nullptr anymore.

Reviewers: echristo

Subscribers: resistor, llvm-commits, jholewinski

Differential Revision: http://reviews.llvm.org/D7992

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 231270
2015-03-04 18:43:29 +00:00
..
AnalysisWrappers.cpp
BreakpointPrinter.cpp Make StringSet::insert return pair<iterator, bool> like other self-associative containers 2014-11-19 02:56:00 +00:00
BreakpointPrinter.h
CMakeLists.txt
GraphPrinters.cpp
LLVMBuild.txt
Makefile
NewPMDriver.cpp [PM] Port TTI to the new pass manager, introducing a TargetIRAnalysis to 2015-02-01 10:11:22 +00:00
NewPMDriver.h [PM] Port TTI to the new pass manager, introducing a TargetIRAnalysis to 2015-02-01 10:11:22 +00:00
opt.cpp Make DataLayout Non-Optional in the Module 2015-03-04 18:43:29 +00:00
Passes.cpp [PM] Port SimplifyCFG to the new pass manager. 2015-02-01 11:34:21 +00:00
Passes.h [PM] Port TTI to the new pass manager, introducing a TargetIRAnalysis to 2015-02-01 10:11:22 +00:00
PassPrinters.cpp
PassPrinters.h
PassRegistry.def [PM] Port SimplifyCFG to the new pass manager. 2015-02-01 11:34:21 +00:00
PrintSCC.cpp