Simplify the Mangler interface now that DataLayout is mandatory.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 23 Jun 2015 13:59:29 +0000 (13:59 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 23 Jun 2015 13:59:29 +0000 (13:59 +0000)
commit9758b4ae957d85e4b1e7fff1592f276ae684ee98
treee8efb8bd45b76f4b3c08c24602ab2ddced44fb08
parent7c5bf4d38a681cf4b3f04a30e591120cdb50f302
Simplify the Mangler interface now that DataLayout is mandatory.

We only need to pass in a DataLayout when mangling a raw string, not when
constructing the mangler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240405 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
examples/Kaleidoscope/Orc/initial/toy.cpp
examples/Kaleidoscope/Orc/lazy_codegen/toy.cpp
examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
include/llvm/IR/Mangler.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
lib/ExecutionEngine/ExecutionEngine.cpp
lib/ExecutionEngine/MCJIT/MCJIT.cpp
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
lib/IR/Mangler.cpp
lib/LTO/LTOCodeGenerator.cpp
lib/Object/IRObjectFile.cpp
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
lib/Target/PowerPC/PPCMCInstLower.cpp
lib/Target/X86/X86MCInstLower.cpp
tools/lli/OrcLazyJIT.h