OSDN Git Service

[VE] Implements minimum MC layer for VE (4/4)
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Fri, 29 May 2020 08:50:06 +0000 (10:50 +0200)
committerSimon Moll <simon.moll@emea.nec.com>
Fri, 29 May 2020 08:50:16 +0000 (10:50 +0200)
commit0e0907fa0e257ba63d6f820eafbf2079502153ed
tree30c744ff614c6a6850104a01939c67635b526d4f
parent7480ccbfc9d258a38eb99bbfccc6511e6ae10b70
[VE] Implements minimum MC layer for VE (4/4)

Summary:
This patch includes following items.

 - Adds AsmParser and minimum AsmBackend/ELFObjectWriter/MCCodeEmitter to
   support only LEA instruction in order to reduce the size of this patch.
 - Adds regression test of MC layer for a LEA instruction.
 - Relocations are not supported this time to reduce the size of this patch.

Differential Revision: https://reviews.llvm.org/D79546
15 files changed:
llvm/lib/Target/VE/AsmParser/CMakeLists.txt [new file with mode: 0644]
llvm/lib/Target/VE/AsmParser/LLVMBuild.txt [new file with mode: 0644]
llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp [new file with mode: 0644]
llvm/lib/Target/VE/CMakeLists.txt
llvm/lib/Target/VE/LLVMBuild.txt
llvm/lib/Target/VE/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp [new file with mode: 0644]
llvm/lib/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp [new file with mode: 0644]
llvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp [new file with mode: 0644]
llvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.cpp
llvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.h
llvm/lib/Target/VE/VE.td
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/MC/VE/LEA.s [new file with mode: 0644]
llvm/test/MC/VE/lit.local.cfg [new file with mode: 0644]