Path: blob/main/contrib/llvm-project/llvm/lib/Target/SPIRV/SPIRVInlineAsmLowering.h
35269 views
//===--- SPIRVInlineAsmLowering.h - Inline Asm lowering ---------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file describes how to lower LLVM inline asm calls to machine9// code calls for GlobalISel.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVINLINEASMLOWERING_H14#define LLVM_LIB_TARGET_SPIRV_SPIRVINLINEASMLOWERING_H1516#include "llvm/CodeGen/GlobalISel/InlineAsmLowering.h"1718namespace llvm {1920class SPIRVTargetLowering;2122class SPIRVInlineAsmLowering : public InlineAsmLowering {23public:24SPIRVInlineAsmLowering(const SPIRVTargetLowering &TLI);25bool26lowerAsmOperandForConstraint(Value *Val, StringRef Constraint,27std::vector<MachineOperand> &Ops,28MachineIRBuilder &MIRBuilder) const override;29};30} // end namespace llvm3132#endif // LLVM_LIB_TARGET_SPIRV_SPIRVINLINEASMLOWERING_H333435