Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / lib / Target / Lanai / LanaiSelectionDAGInfo.h
blob8355168a7396f538e712588c638264a75719efaa
1 //===-- LanaiSelectionDAGInfo.h - Lanai 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 // This file defines the Lanai subclass for TargetSelectionDAGInfo.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_LANAI_LANAISELECTIONDAGINFO_H
14 #define LLVM_LIB_TARGET_LANAI_LANAISELECTIONDAGINFO_H
16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
17 #include "llvm/Target/TargetMachine.h"
19 namespace llvm {
21 class LanaiSelectionDAGInfo : public SelectionDAGTargetInfo {
22 public:
23 LanaiSelectionDAGInfo() = default;
25 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,
26 SDValue Chain, SDValue Dst, SDValue Src,
27 SDValue Size, Align Alignment,
28 bool isVolatile, bool AlwaysInline,
29 MachinePointerInfo DstPtrInfo,
30 MachinePointerInfo SrcPtrInfo) const override;
33 } // namespace llvm
35 #endif // LLVM_LIB_TARGET_LANAI_LANAISELECTIONDAGINFO_H