]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/Hexagon/HexagonSelectionDAGInfo.h
Merge ^/head r343807 through r343955.
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / Hexagon / HexagonSelectionDAGInfo.h
1 //===-- HexagonSelectionDAGInfo.h - Hexagon SelectionDAG Info ---*- C++ -*-===//
2 //
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 SelectionDAGTargetInfo.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
15 #define LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
16
17 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
18
19 namespace llvm {
20
21 class HexagonSelectionDAGInfo : public SelectionDAGTargetInfo {
22 public:
23   explicit HexagonSelectionDAGInfo() = default;
24
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;
31 };
32
33 }
34
35 #endif