[ARM] MVE integer min and max
[llvm-complete.git] / lib / Target / WebAssembly / WebAssemblySelectionDAGInfo.h
blob0b90ece27dff3e9574c77018f49a625c3fa50214
1 //=- WebAssemblySelectionDAGInfo.h - WebAssembly SelectionDAG Info -*- 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 defines the WebAssembly subclass for
11 /// SelectionDAGTargetInfo.
12 ///
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSELECTIONDAGINFO_H
16 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSELECTIONDAGINFO_H
18 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
20 namespace llvm {
22 class WebAssemblySelectionDAGInfo final : public SelectionDAGTargetInfo {
23 public:
24 ~WebAssemblySelectionDAGInfo() override;
25 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,
26 SDValue Chain, SDValue Op1, SDValue Op2,
27 SDValue Op3, unsigned Align, bool isVolatile,
28 bool AlwaysInline,
29 MachinePointerInfo DstPtrInfo,
30 MachinePointerInfo SrcPtrInfo) const override;
31 SDValue EmitTargetCodeForMemmove(SelectionDAG &DAG, const SDLoc &dl,
32 SDValue Chain, SDValue Op1, SDValue Op2,
33 SDValue Op3, unsigned Align, bool isVolatile,
34 MachinePointerInfo DstPtrInfo,
35 MachinePointerInfo SrcPtrInfo) const override;
36 SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, const SDLoc &DL,
37 SDValue Chain, SDValue Op1, SDValue Op2,
38 SDValue Op3, unsigned Align, bool IsVolatile,
39 MachinePointerInfo DstPtrInfo) const override;
42 } // end namespace llvm
44 #endif