1//===-- RISCVInlineAsmLowering.h - Inline asm lowering ----------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// This file describes how to lower LLVM inline asm to machine code INLINEASM.
11///
12//===----------------------------------------------------------------------===//
13
14#include "llvm/CodeGen/GlobalISel/InlineAsmLowering.h"
15
16namespace llvm {
17
18class RISCVInlineAsmLowering : public InlineAsmLowering {
19public:
20 RISCVInlineAsmLowering(const TargetLowering *TLI);
21 bool
22 lowerAsmOperandForConstraint(Value *Val, StringRef Constraint,
23 std::vector<MachineOperand> &Ops,
24 MachineIRBuilder &MIRBuilder) const override;
25};
26
27} // namespace llvm
28