1 //===-- HexagonSelectionDAGInfo.h - Hexagon SelectionDAG Info ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the Hexagon subclass for TargetSelectionDAGInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
15 #define LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
21 class HexagonSelectionDAGInfo
: public TargetSelectionDAGInfo
{
23 explicit HexagonSelectionDAGInfo(const DataLayout
&DL
);
24 ~HexagonSelectionDAGInfo();
26 SDValue
EmitTargetCodeForMemcpy(SelectionDAG
&DAG
, SDLoc dl
,
28 SDValue Dst
, SDValue Src
,
29 SDValue Size
, unsigned Align
,
30 bool isVolatile
, bool AlwaysInline
,
31 MachinePointerInfo DstPtrInfo
,
32 MachinePointerInfo SrcPtrInfo
) const override
;