Enable llvm's integrated assembler for PowerPC, since it should now be

good enough for typical usage.

Requested by:	rdivacky
MFC after:	1 week
This commit is contained in:
Dimitry Andric 2013-12-16 18:45:21 +00:00
parent 30c8ebe9b7
commit 840f097103
11 changed files with 33 additions and 6 deletions

View File

@ -74,6 +74,7 @@ SUBDIR= libclanganalysis \
libllvmmipsdisassembler \
libllvmmipsinfo \
libllvmmipsinstprinter \
libllvmpowerpcasmparser \
libllvmpowerpccodegen \
libllvmpowerpcdesc \
libllvmpowerpcinfo \

View File

@ -0,0 +1,2 @@
/* $FreeBSD$ */
#include "PPCGenAsmMatcher.inc.h"

View File

@ -2,6 +2,7 @@
LLVM_ASM_PARSER(ARM)
LLVM_ASM_PARSER(Mips)
LLVM_ASM_PARSER(PowerPC)
LLVM_ASM_PARSER(X86)
#undef LLVM_ASM_PARSER

View File

@ -0,0 +1,16 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= llvmpowerpcasmparser
SRCDIR= lib/Target/PowerPC/AsmParser
INCDIR= lib/Target/PowerPC
SRCS= PPCAsmParser.cpp
TGHDRS= PPCGenAsmMatcher \
PPCGenInstrInfo \
PPCGenRegisterInfo \
PPCGenSubtargetInfo
.include "../clang.lib.mk"

View File

@ -85,8 +85,9 @@ LIBDEPS=clangfrontendtool \
llvmmipsinstprinter \
llvmpowerpccodegen \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
llvmpowerpcasmparser \
llvmpowerpcinfo \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \

View File

@ -24,8 +24,9 @@ LIBDEPS=llvmirreader \
llvmmipsinstprinter \
llvmpowerpccodegen \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
llvmpowerpcasmparser \
llvmpowerpcinfo \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \

View File

@ -106,6 +106,7 @@ LIBDEPS=\
llvmmipsinstprinter \
llvmpowerpcdesc \
llvmpowerpcinstprinter \
llvmpowerpcasmparser \
llvmruntimedyld \
llvmvectorize \
llvmx86desc \

View File

@ -24,8 +24,9 @@ LIBDEPS=llvmmcdisassembler \
llvmmipsinstprinter \
llvmpowerpccodegen \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
llvmpowerpcasmparser \
llvmpowerpcinfo \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \

View File

@ -30,8 +30,9 @@ LIBDEPS=llvmmcdisassembler \
llvmmipsinstprinter \
llvmpowerpccodegen \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
llvmpowerpcasmparser \
llvmpowerpcinfo \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \

View File

@ -28,8 +28,9 @@ LIBDEPS=llvmdebuginfo \
llvmmipsinstprinter \
llvmpowerpccodegen \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
llvmpowerpcasmparser \
llvmpowerpcinfo \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \

View File

@ -25,8 +25,9 @@ LIBDEPS=llvmarmdisassembler \
llvmmipsinstprinter \
llvmpowerpccodegen \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
llvmpowerpcasmparser \
llvmpowerpcinfo \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \