1 //===-- RISCVInstrGISel.td - RISC-V GISel target pseudos ----*- tablegen -*-===//
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
7 //===----------------------------------------------------------------------===//
10 // RISC-V GlobalISel target pseudo instruction definitions. This is kept
11 // separately from the other tablegen files for organizational purposes, but
12 // share the same infrastructure.
14 //===----------------------------------------------------------------------===//
16 class RISCVGenericInstruction : GenericInstruction {
17 let Namespace = "RISCV";
20 // Pseudo equivalent to a RISCVISD::FCLASS.
21 def G_FCLASS : RISCVGenericInstruction {
22 let OutOperandList = (outs type0:$dst);
23 let InOperandList = (ins type1:$src);
24 let hasSideEffects = false;
26 def : GINodeEquiv<G_FCLASS, riscv_fclass>;