mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[Hexagon] [NFC] Merging InstPrinter directory in to MCTargetDesc since they have a circular dependency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
604171664c
commit
a3712a1fb9
@ -40,6 +40,5 @@ add_llvm_target(HexagonCodeGen
|
||||
)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
add_subdirectory(Disassembler)
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "HexagonMachineFunctionInfo.h"
|
||||
#include "HexagonSubtarget.h"
|
||||
#include "HexagonTargetMachine.h"
|
||||
#include "InstPrinter/HexagonInstPrinter.h"
|
||||
#include "MCTargetDesc/HexagonInstPrinter.h"
|
||||
#include "MCTargetDesc/HexagonMCInst.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
|
@ -1,3 +0,0 @@
|
||||
add_llvm_library(LLVMHexagonAsmPrinter
|
||||
HexagonInstPrinter.cpp
|
||||
)
|
@ -1,23 +0,0 @@
|
||||
;===- ./lib/Target/Hexagon/InstPrinter/LLVMBuild.txt -----------*- Conf -*--===;
|
||||
;
|
||||
; The LLVM Compiler Infrastructure
|
||||
;
|
||||
; This file is distributed under the University of Illinois Open Source
|
||||
; License. See LICENSE.TXT for details.
|
||||
;
|
||||
;===------------------------------------------------------------------------===;
|
||||
;
|
||||
; 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 = HexagonAsmPrinter
|
||||
parent = Hexagon
|
||||
required_libraries = MC Support
|
||||
add_to_library_groups = Hexagon
|
@ -1,15 +0,0 @@
|
||||
##===- lib/Target/Hexagon/InstPrinter/Makefile ----------------------------===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file is distributed under the University of Illinois Open Source
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../../../..
|
||||
LIBRARYNAME = LLVMHexagonAsmPrinter
|
||||
|
||||
# Hack: we need to include 'main' Hexagon target directory to grab private headers
|
||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
@ -16,7 +16,7 @@
|
||||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[common]
|
||||
subdirectories = Disassembler InstPrinter MCTargetDesc TargetInfo
|
||||
subdirectories = Disassembler MCTargetDesc TargetInfo
|
||||
|
||||
[component_0]
|
||||
type = TargetGroup
|
||||
@ -28,5 +28,5 @@ has_asmprinter = 1
|
||||
type = Library
|
||||
name = HexagonCodeGen
|
||||
parent = Hexagon
|
||||
required_libraries = Analysis AsmPrinter CodeGen Core HexagonAsmPrinter HexagonDesc HexagonInfo MC SelectionDAG Support Target
|
||||
required_libraries = Analysis AsmPrinter CodeGen Core HexagonDesc HexagonInfo MC SelectionDAG Support Target
|
||||
add_to_library_groups = Hexagon
|
||||
|
@ -1,6 +1,7 @@
|
||||
add_llvm_library(LLVMHexagonDesc
|
||||
HexagonAsmBackend.cpp
|
||||
HexagonELFObjectWriter.cpp
|
||||
HexagonInstPrinter.cpp
|
||||
HexagonMCAsmInfo.cpp
|
||||
HexagonMCCodeEmitter.cpp
|
||||
HexagonMCInst.cpp
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include "HexagonMCTargetDesc.h"
|
||||
#include "HexagonMCAsmInfo.h"
|
||||
#include "InstPrinter/HexagonInstPrinter.h"
|
||||
#include "MCTargetDesc/HexagonInstPrinter.h"
|
||||
#include "llvm/MC/MCCodeGenInfo.h"
|
||||
#include "llvm/MC/MCELFStreamer.h"
|
||||
#include "llvm/MC/MCInstrInfo.h"
|
||||
|
@ -19,5 +19,5 @@
|
||||
type = Library
|
||||
name = HexagonDesc
|
||||
parent = Hexagon
|
||||
required_libraries = HexagonAsmPrinter HexagonInfo MC Support
|
||||
required_libraries = HexagonInfo MC Support
|
||||
add_to_library_groups = Hexagon
|
||||
|
Loading…
Reference in New Issue
Block a user