aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2017-11-08 13:24:21 +0000
committerAlex Bradbury <asb@lowrisc.org>2017-11-08 13:24:21 +0000
commitec8aa913051a7edd895ad960bc0e12cd78ff0603 (patch)
tree294cd11e575b366925a2e57742588035f8f7714c /llvm/lib/Target/RISCV/RISCV.h
parentWorkaround reverse-iteration buildbot breakages. Filed PR35244. (diff)
downloadllvm-project-ec8aa913051a7edd895ad960bc0e12cd78ff0603.tar.gz
llvm-project-ec8aa913051a7edd895ad960bc0e12cd78ff0603.tar.bz2
llvm-project-ec8aa913051a7edd895ad960bc0e12cd78ff0603.zip
[RISCV] Codegen support for memory operations on global addresses
Differential Revision: https://reviews.llvm.org/D39103 llvm-svn: 317688
Diffstat (limited to 'llvm/lib/Target/RISCV/RISCV.h')
-rw-r--r--llvm/lib/Target/RISCV/RISCV.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/llvm/lib/Target/RISCV/RISCV.h b/llvm/lib/Target/RISCV/RISCV.h
index 1b6140203c87..884cb2e5014d 100644
--- a/llvm/lib/Target/RISCV/RISCV.h
+++ b/llvm/lib/Target/RISCV/RISCV.h
@@ -15,15 +15,21 @@
#ifndef LLVM_LIB_TARGET_RISCV_RISCV_H
#define LLVM_LIB_TARGET_RISCV_RISCV_H
-#include "MCTargetDesc/RISCVMCTargetDesc.h"
-#include "llvm/Target/TargetMachine.h"
+#include "MCTargetDesc/RISCVBaseInfo.h"
namespace llvm {
class RISCVTargetMachine;
+class AsmPrinter;
+class FunctionPass;
class MCInst;
+class MCOperand;
class MachineInstr;
+class MachineOperand;
-void LowerRISCVMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI);
+void LowerRISCVMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
+ const AsmPrinter &AP);
+bool LowerRISCVMachineOperandToMCOperand(const MachineOperand &MO,
+ MCOperand &MCOp, const AsmPrinter &AP);
FunctionPass *createRISCVISelDag(RISCVTargetMachine &TM);
}