llvm-project/llvm/lib/Target/RISCV/MCTargetDesc
Sameer AbuAsal 2646a41e54 [RISCV] Implement MC relaxations for compressed instructions.
Summary:
     This patch implements relaxation for RISCV in the MC layer.
      The following relaxations are currently handled:
      1) Relax C_BEQZ to BEQ and C_BNEZ to BNEZ in RISCV.
      2) Relax and C_J $imm  to JAL x0, $imm  and CJAL to JAL ra, $imm.

Reviewers: asb, llvm-commits, efriedma

Reviewed By: asb

Subscribers: shiva0217

Differential Revision: https://reviews.llvm.org/D43055

llvm-svn: 326626
2018-03-02 22:04:12 +00:00
..
CMakeLists.txt [RISCV] Encode RISCV specific ELF e_flags to RISCV Binary by RISCVTargetStreamer 2018-01-26 07:53:07 +00:00
LLVMBuild.txt [RISCV] Add RISCVInstPrinter and basic MC assembler tests 2017-08-15 13:08:29 +00:00
RISCVAsmBackend.cpp [RISCV] Implement MC relaxations for compressed instructions. 2018-03-02 22:04:12 +00:00
RISCVBaseInfo.h [RISCV] MC layer support for load/store instructions of the C (compressed) extension 2017-12-07 12:50:32 +00:00
RISCVELFObjectWriter.cpp [RISCV] Add support for %pcrel_lo. 2018-02-06 00:55:23 +00:00
RISCVELFStreamer.cpp [RISCV] Encode RISCV specific ELF e_flags to RISCV Binary by RISCVTargetStreamer 2018-01-26 07:53:07 +00:00
RISCVELFStreamer.h [RISCV] Encode RISCV specific ELF e_flags to RISCV Binary by RISCVTargetStreamer 2018-01-26 07:53:07 +00:00
RISCVFixupKinds.h [RISCV] Add support for %pcrel_lo. 2018-02-06 00:55:23 +00:00
RISCVMCAsmInfo.cpp Distinguish between code pointer size and DataLayout::getPointerSize() in DWARF info generation 2017-04-17 17:41:25 +00:00
RISCVMCAsmInfo.h
RISCVMCCodeEmitter.cpp [RISCV][NFC] Make logic in RISCVMCCodeEmitter::getImmOpValue more defensive 2018-02-22 13:24:25 +00:00
RISCVMCExpr.cpp [RISCV] Add support for %pcrel_lo. 2018-02-06 00:55:23 +00:00
RISCVMCExpr.h [RISCV] Add support for %pcrel_lo. 2018-02-06 00:55:23 +00:00
RISCVMCTargetDesc.cpp [RISCV] Encode RISCV specific ELF e_flags to RISCV Binary by RISCVTargetStreamer 2018-01-26 07:53:07 +00:00
RISCVMCTargetDesc.h Thread MCSubtargetInfo through Target::createMCAsmBackend 2018-01-03 08:53:05 +00:00
RISCVTargetStreamer.cpp [RISCV] Encode RISCV specific ELF e_flags to RISCV Binary by RISCVTargetStreamer 2018-01-26 07:53:07 +00:00
RISCVTargetStreamer.h [RISCV] Encode RISCV specific ELF e_flags to RISCV Binary by RISCVTargetStreamer 2018-01-26 07:53:07 +00:00