llvm/lib/Target/RISCV/MCTargetDesc
Lewis Revill f5bddce9ea [RISCV] Add pseudo instruction for calls with explicit register
This patch adds the PseudoCALLReg instruction which allows using an
explicit register operand as the destination for the return address.

GCC can successfully parse this form of the call instruction, which
would be used for calls to functions which do not use ra as the return
address register, such as the __riscv_save libcalls. This patch forms
the first part of an implementation of -msave-restore for RISC-V.

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




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364403 91177308-0d34-0410-b5e6-96231b3b80d8
2019-06-26 10:35:58 +00:00
..
CMakeLists.txt [RISCV] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 02:43:58 +00:00
LLVMBuild.txt [RISCV] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 02:43:58 +00:00
RISCVAsmBackend.cpp [RISCV] Simplify RISCVAsmBackend::writeNopData(). NFC 2019-06-15 06:14:15 +00:00
RISCVAsmBackend.h [RISCV] Support assembling %tls_{ie,gd}_pcrel_hi modifiers 2019-04-23 14:46:13 +00:00
RISCVELFObjectWriter.cpp [RISCV] Support assembling %tls_{ie,gd}_pcrel_hi modifiers 2019-04-23 14:46:13 +00:00
RISCVELFStreamer.cpp [RISCV] Support -target-abi at the MC layer and for codegen 2019-03-09 09:28:06 +00:00
RISCVELFStreamer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RISCVFixupKinds.h [RISCV] Support assembling %tls_{ie,gd}_pcrel_hi modifiers 2019-04-23 14:46:13 +00:00
RISCVInstPrinter.cpp [RISCV] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 02:43:58 +00:00
RISCVInstPrinter.h [RISCV] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 02:43:58 +00:00
RISCVMCAsmInfo.cpp [RISCV] Add CFI directives for RISCV prologue/epilog. 2019-06-12 03:04:22 +00:00
RISCVMCAsmInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RISCVMCCodeEmitter.cpp [RISCV] Add pseudo instruction for calls with explicit register 2019-06-26 10:35:58 +00:00
RISCVMCExpr.cpp [RISCV] Support assembling %tls_{ie,gd}_pcrel_hi modifiers 2019-04-23 14:46:13 +00:00
RISCVMCExpr.h [RISCV] Support assembling %tls_{ie,gd}_pcrel_hi modifiers 2019-04-23 14:46:13 +00:00
RISCVMCTargetDesc.cpp [RISCV] Add CFI directives for RISCV prologue/epilog. 2019-06-12 03:04:22 +00:00
RISCVMCTargetDesc.h [RISCV] Create a TargetInfo header. NFC 2019-05-15 00:24:15 +00:00
RISCVTargetStreamer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RISCVTargetStreamer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00