blob: 1b6140203c8702587140a5feba38e2847fd9872c [file] [log] [blame]
Alex Bradbury89718422017-10-19 21:37:38 +00001//===-- RISCV.h - Top-level interface for RISCV -----------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the entry points for global functions defined in the LLVM
11// RISC-V back-end.
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_LIB_TARGET_RISCV_RISCV_H
16#define LLVM_LIB_TARGET_RISCV_RISCV_H
17
18#include "MCTargetDesc/RISCVMCTargetDesc.h"
19#include "llvm/Target/TargetMachine.h"
20
21namespace llvm {
22class RISCVTargetMachine;
23class MCInst;
24class MachineInstr;
25
26void LowerRISCVMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI);
27
28FunctionPass *createRISCVISelDag(RISCVTargetMachine &TM);
29}
30
31#endif