llvm-project/llvm/lib/Target/ARC
Sanjoy Das 26d11ca4b0 (Re-landing) Expose a TargetMachine::getTargetTransformInfo function
Re-land r321234.  It had to be reverted because it broke the shared
library build.  The shared library build broke because there was a
missing LLVMBuild dependency from lib/Passes (which calls
TargetMachine::getTargetIRAnalysis) to lib/Target.  As far as I can
tell, this problem was always there but was somehow masked
before (perhaps because TargetMachine::getTargetIRAnalysis was a
virtual function).

Original commit message:

This makes the TargetMachine interface a bit simpler.  We still need
the std::function in TargetIRAnalysis to avoid having to add a
dependency from Analysis to Target.

See discussion:
http://lists.llvm.org/pipermail/llvm-dev/2017-December/119749.html

I avoided adding all of the backend owners to this review since the
change is simple, but let me know if you feel differently about this.

Reviewers: echristo, MatzeB, hfinkel

Reviewed By: hfinkel

Subscribers: jholewinski, jfb, arsenm, dschuff, mcrosier, sdardis, nemanjai, nhaehnle, javed.absar, sbc100, jgravelle-google, aheejin, kbarton, llvm-commits

Differential Revision: https://reviews.llvm.org/D41464

llvm-svn: 321375
2017-12-22 18:21:59 +00:00
..
Disassembler Fix inconsistent line endings in ARCDisassembler.cpp. NFC. 2017-12-18 18:45:37 +00:00
InstPrinter [ARC] Add instruction subset for the ARC backend. 2017-12-02 05:25:17 +00:00
MCTargetDesc
TargetInfo [arc] Update TargetInfo to include the new backend name argument 2017-11-16 19:10:26 +00:00
ARC.h
ARC.td
ARCAsmPrinter.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
ARCBranchFinalize.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
ARCCallingConv.td
ARCExpandPseudos.cpp
ARCFrameLowering.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
ARCFrameLowering.h Move TargetFrameLowering.h to CodeGen where it's implemented 2017-11-03 22:32:11 +00:00
ARCISelDAGToDAG.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
ARCISelLowering.cpp [arc] Fix ambiguous overloaded operator error 2017-11-16 19:16:56 +00:00
ARCISelLowering.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
ARCInstrFormats.td Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
ARCInstrInfo.cpp [CodeGen] Rename functions PrintReg* to printReg* 2017-11-28 12:42:37 +00:00
ARCInstrInfo.h Target/TargetInstrInfo.h -> CodeGen/TargetInstrInfo.h to match layering 2017-11-08 01:01:31 +00:00
ARCInstrInfo.td Fix more inconsistent line endings. NFC. 2017-12-18 19:46:56 +00:00
ARCMCInstLower.cpp
ARCMCInstLower.h
ARCMachineFunctionInfo.cpp
ARCMachineFunctionInfo.h
ARCRegisterInfo.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
ARCRegisterInfo.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
ARCRegisterInfo.td
ARCSubtarget.cpp
ARCSubtarget.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
ARCTargetMachine.cpp (Re-landing) Expose a TargetMachine::getTargetTransformInfo function 2017-12-22 18:21:59 +00:00
ARCTargetMachine.h (Re-landing) Expose a TargetMachine::getTargetTransformInfo function 2017-12-22 18:21:59 +00:00
ARCTargetStreamer.h
ARCTargetTransformInfo.h
CMakeLists.txt
LLVMBuild.txt