summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCPseudoExpansion.h
blob: 0a577a9bc33217dcb399ec0ec7ecb21a92c91f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//===-- RISCVMCPseudoExpansion.h - RISCV MC Pseudo Expansion ----*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
/// This file describes helpers to expand pseudo MC instructions that are usable
/// in the AsmParser and the AsmPrinter.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCPSEUDOEXPANSION_H
#define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCPSEUDOEXPANSION_H

#include <cstdint>

namespace llvm {

class MCStreamer;
class MCSubtargetInfo;

void emitRISCVLoadImm(unsigned DestReg, int64_t Value, MCStreamer &Out,
                      const MCSubtargetInfo *STI);

} // namespace llvm

#endif
OpenPOWER on IntegriCloud