Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / lib / Target / SPIRV / SPIRVInlineAsmLowering.h
blob72291855a18c4381898a4ca245b9140daccaa3ff
1 //===--- SPIRVInlineAsmLowering.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 // This file describes how to lower LLVM inline asm calls to machine
10 // code calls for GlobalISel.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_SPIRV_SPIRVINLINEASMLOWERING_H
15 #define LLVM_LIB_TARGET_SPIRV_SPIRVINLINEASMLOWERING_H
17 #include "llvm/CodeGen/GlobalISel/InlineAsmLowering.h"
19 namespace llvm {
21 class SPIRVTargetLowering;
23 class SPIRVInlineAsmLowering : public InlineAsmLowering {
24 public:
25 SPIRVInlineAsmLowering(const SPIRVTargetLowering &TLI);
26 bool
27 lowerAsmOperandForConstraint(Value *Val, StringRef Constraint,
28 std::vector<MachineOperand> &Ops,
29 MachineIRBuilder &MIRBuilder) const override;
31 } // end namespace llvm
33 #endif // LLVM_LIB_TARGET_SPIRV_SPIRVINLINEASMLOWERING_H