blob: 8ac2e43f929425be93bd7ba96f6e0f5444605ed4 [file] [log] [blame]
Jia Liub22310f2012-02-18 12:03:15 +00001//===-- HexagonSelectionDAGInfo.h - Hexagon SelectionDAG Info ---*- C++ -*-===//
Tony Linthicum1213a7a2011-12-12 21:14:40 +00002//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file defines the Hexagon subclass for TargetSelectionDAGInfo.
11//
12//===----------------------------------------------------------------------===//
13
Benjamin Kramera7c40ef2014-08-13 16:26:38 +000014#ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
15#define LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
Tony Linthicum1213a7a2011-12-12 21:14:40 +000016
17#include "llvm/Target/TargetSelectionDAGInfo.h"
18
19namespace llvm {
20
Tony Linthicum1213a7a2011-12-12 21:14:40 +000021class HexagonSelectionDAGInfo : public TargetSelectionDAGInfo {
22public:
Eric Christopher4496eb0b2014-06-27 00:18:25 +000023 explicit HexagonSelectionDAGInfo(const DataLayout &DL);
Tony Linthicum1213a7a2011-12-12 21:14:40 +000024 ~HexagonSelectionDAGInfo();
25
Andrew Trickef9de2a2013-05-25 02:42:55 +000026 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,
Tony Linthicum1213a7a2011-12-12 21:14:40 +000027 SDValue Chain,
28 SDValue Dst, SDValue Src,
29 SDValue Size, unsigned Align,
30 bool isVolatile, bool AlwaysInline,
31 MachinePointerInfo DstPtrInfo,
Craig Topper906c2cd2014-04-29 07:58:16 +000032 MachinePointerInfo SrcPtrInfo) const override;
Tony Linthicum1213a7a2011-12-12 21:14:40 +000033};
34
35}
36
37#endif