mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-27 21:50:29 +00:00
[ARM] Move InstPrinter files to MCTargetDesc. NFC
For some targets, there is a circular dependency between InstPrinter and MCTargetDesc. Merging them together will fix this. For the other targets, the merging is to maintain consistency so all targets will have the same structure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f6ef639380
commit
bfbd831b69
@ -17,8 +17,8 @@
|
||||
#include "ARMMachineFunctionInfo.h"
|
||||
#include "ARMTargetMachine.h"
|
||||
#include "ARMTargetObjectFile.h"
|
||||
#include "InstPrinter/ARMInstPrinter.h"
|
||||
#include "MCTargetDesc/ARMAddressingModes.h"
|
||||
#include "MCTargetDesc/ARMInstPrinter.h"
|
||||
#include "MCTargetDesc/ARMMCExpr.h"
|
||||
#include "llvm/ADT/SetVector.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
|
@ -7,10 +7,10 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "ARMFeatures.h"
|
||||
#include "InstPrinter/ARMInstPrinter.h"
|
||||
#include "Utils/ARMBaseInfo.h"
|
||||
#include "MCTargetDesc/ARMAddressingModes.h"
|
||||
#include "MCTargetDesc/ARMBaseInfo.h"
|
||||
#include "MCTargetDesc/ARMInstPrinter.h"
|
||||
#include "MCTargetDesc/ARMMCExpr.h"
|
||||
#include "MCTargetDesc/ARMMCTargetDesc.h"
|
||||
#include "llvm/ADT/APFloat.h"
|
||||
|
@ -18,5 +18,5 @@
|
||||
type = Library
|
||||
name = ARMAsmParser
|
||||
parent = ARM
|
||||
required_libraries = ARMDesc ARMInfo ARMAsmPrinter MC MCParser Support ARMUtils
|
||||
required_libraries = ARMDesc ARMInfo MC MCParser Support ARMUtils
|
||||
add_to_library_groups = ARM
|
||||
|
@ -61,7 +61,6 @@ add_llvm_target(ARMCodeGen
|
||||
|
||||
add_subdirectory(AsmParser)
|
||||
add_subdirectory(Disassembler)
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(Utils)
|
||||
|
@ -1,3 +0,0 @@
|
||||
add_llvm_library(LLVMARMAsmPrinter
|
||||
ARMInstPrinter.cpp
|
||||
)
|
@ -1,22 +0,0 @@
|
||||
;===- ./lib/Target/ARM/InstPrinter/LLVMBuild.txt ---------------*- Conf -*--===;
|
||||
;
|
||||
; Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
; See https://llvm.org/LICENSE.txt for license information.
|
||||
; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
;
|
||||
; This is an LLVMBuild description file for the components in this subdirectory.
|
||||
;
|
||||
; For more information on the LLVMBuild system, please see:
|
||||
;
|
||||
; http://llvm.org/docs/LLVMBuild.html
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[component_0]
|
||||
type = Library
|
||||
name = ARMAsmPrinter
|
||||
parent = ARM
|
||||
required_libraries = MC Support ARMUtils
|
||||
add_to_library_groups = ARM
|
@ -15,7 +15,7 @@
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[common]
|
||||
subdirectories = AsmParser Disassembler InstPrinter MCTargetDesc TargetInfo Utils
|
||||
subdirectories = AsmParser Disassembler MCTargetDesc TargetInfo Utils
|
||||
|
||||
[component_0]
|
||||
type = TargetGroup
|
||||
@ -30,5 +30,5 @@ has_jit = 1
|
||||
type = Library
|
||||
name = ARMCodeGen
|
||||
parent = ARM
|
||||
required_libraries = ARMAsmPrinter ARMDesc ARMInfo Analysis AsmPrinter CodeGen Core MC Scalar SelectionDAG Support Target GlobalISel ARMUtils TransformUtils
|
||||
required_libraries = ARMDesc ARMInfo Analysis AsmPrinter CodeGen Core MC Scalar SelectionDAG Support Target GlobalISel ARMUtils TransformUtils
|
||||
add_to_library_groups = ARM
|
||||
|
@ -10,8 +10,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIB_TARGET_ARM_INSTPRINTER_ARMINSTPRINTER_H
|
||||
#define LLVM_LIB_TARGET_ARM_INSTPRINTER_ARMINSTPRINTER_H
|
||||
#ifndef LLVM_LIB_TARGET_ARM_MCTARGETDESC_ARMINSTPRINTER_H
|
||||
#define LLVM_LIB_TARGET_ARM_MCTARGETDESC_ARMINSTPRINTER_H
|
||||
|
||||
#include "MCTargetDesc/ARMMCTargetDesc.h"
|
||||
#include "llvm/MC/MCInstPrinter.h"
|
||||
@ -246,4 +246,4 @@ private:
|
||||
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_LIB_TARGET_ARM_INSTPRINTER_ARMINSTPRINTER_H
|
||||
#endif // LLVM_LIB_TARGET_ARM_MCTARGETDESC_ARMINSTPRINTER_H
|
@ -12,8 +12,8 @@
|
||||
|
||||
#include "ARMMCTargetDesc.h"
|
||||
#include "ARMBaseInfo.h"
|
||||
#include "ARMInstPrinter.h"
|
||||
#include "ARMMCAsmInfo.h"
|
||||
#include "InstPrinter/ARMInstPrinter.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/MC/MCAsmBackend.h"
|
||||
#include "llvm/MC/MCCodeEmitter.h"
|
||||
|
@ -2,6 +2,7 @@ add_llvm_library(LLVMARMDesc
|
||||
ARMAsmBackend.cpp
|
||||
ARMELFObjectWriter.cpp
|
||||
ARMELFStreamer.cpp
|
||||
ARMInstPrinter.cpp
|
||||
ARMMachObjectWriter.cpp
|
||||
ARMMachORelocationInfo.cpp
|
||||
ARMMCAsmInfo.cpp
|
||||
|
@ -18,5 +18,5 @@
|
||||
type = Library
|
||||
name = ARMDesc
|
||||
parent = ARM
|
||||
required_libraries = ARMAsmPrinter ARMInfo MC MCDisassembler Support
|
||||
required_libraries = ARMInfo ARMUtils MC MCDisassembler Support
|
||||
add_to_library_groups = ARM
|
||||
|
Loading…
Reference in New Issue
Block a user