1 //===-- HexagonSelectionDAGInfo.h - Hexagon 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 Hexagon subclass for SelectionDAGTargetInfo.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
14 #define LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
20 class HexagonSelectionDAGInfo
: public SelectionDAGTargetInfo
{
22 explicit HexagonSelectionDAGInfo() = default;
24 SDValue
EmitTargetCodeForMemcpy(SelectionDAG
&DAG
, const SDLoc
&dl
,
25 SDValue Chain
, SDValue Dst
, SDValue Src
,
26 SDValue Size
, unsigned Align
, bool isVolatile
,
28 MachinePointerInfo DstPtrInfo
,
29 MachinePointerInfo SrcPtrInfo
) const override
;