[InstCombine] Signed saturation patterns
[llvm-core.git] / lib / Target / Lanai / LanaiSelectionDAGInfo.h
blobc5650a7c1f53beeb5190503e01dd33c6c7c6dd85
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, unsigned Align, bool isVolatile,
28 bool AlwaysInline,
29 MachinePointerInfo DstPtrInfo,
30 MachinePointerInfo SrcPtrInfo) const override;
33 } // namespace llvm
35 #endif // LLVM_LIB_TARGET_LANAI_LANAISELECTIONDAGINFO_H