1 //===-- LanaiSelectionDAGInfo.h - Lanai SelectionDAG Info -----*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
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"
21 class LanaiSelectionDAGInfo
: public SelectionDAGTargetInfo
{
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
,
29 MachinePointerInfo DstPtrInfo
,
30 MachinePointerInfo SrcPtrInfo
) const override
;
35 #endif // LLVM_LIB_TARGET_LANAI_LANAISELECTIONDAGINFO_H