[MSP430] Create a TargetInfo header. NFC
authorRichard Trieu <rtrieu@google.com>
Tue, 14 May 2019 23:45:18 +0000 (23:45 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 14 May 2019 23:45:18 +0000 (23:45 +0000)
commita57ce32effdc78484f7584c69abbfdebe4d07629
tree581869891928da80609bdec3ba754576b1075794
parent313b78150ceca3ba5f1779a7aed8e4eb4d1105f9
[MSP430] Create a TargetInfo header.  NFC

Move the declarations of getThe<Name>Target() functions into a new header in
TargetInfo and make users of these functions include this new header.
This fixes a layering problem.

llvm-svn: 360728
llvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
llvm/lib/Target/MSP430/Disassembler/MSP430Disassembler.cpp
llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp
llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h
llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
llvm/lib/Target/MSP430/MSP430TargetMachine.cpp
llvm/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp
llvm/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.h [new file with mode: 0644]