mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-09 10:05:41 +00:00
8ed9f51663
incarnations), integrated into the MC framework. The disassembler is table-driven, using a custom TableGen backend to generate hierarchical tables optimized for fast decode. The disassembler consumes MemoryObjects and produces arrays of MCInsts, adhering to the abstract base class MCDisassembler (llvm/MC/MCDisassembler.h). The disassembler is documented in detail in - lib/Target/X86/Disassembler/X86Disassembler.cpp (disassembler runtime) - utils/TableGen/DisassemblerEmitter.cpp (table emitter) You can test the disassembler by running llvm-mc -disassemble for i386 or x86_64 targets. Please let me know if you encounter any problems with it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91749 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
919 B
Makefile
24 lines
919 B
Makefile
##===- lib/Target/X86/Makefile -----------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
LEVEL = ../../..
|
|
LIBRARYNAME = LLVMX86CodeGen
|
|
TARGET = X86
|
|
|
|
# Make sure that tblgen is run, first thing.
|
|
BUILT_SOURCES = X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \
|
|
X86GenRegisterInfo.inc X86GenInstrNames.inc \
|
|
X86GenInstrInfo.inc X86GenAsmWriter.inc X86GenAsmMatcher.inc \
|
|
X86GenAsmWriter1.inc X86GenDAGISel.inc \
|
|
X86GenDisassemblerTables.inc X86GenFastISel.inc \
|
|
X86GenCallingConv.inc X86GenSubtarget.inc \
|
|
|
|
DIRS = AsmPrinter AsmParser Disassembler TargetInfo
|
|
|
|
include $(LEVEL)/Makefile.common
|