8ba6108bdfad7c951eb0eb7fdd8494f518fbde05
[oota-llvm.git] / 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 TargetSelectionDAGInfo.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef HexagonSELECTIONDAGINFO_H
15 #define HexagonSELECTIONDAGINFO_H
16
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
18
19 namespace llvm {
20
21 class HexagonTargetMachine;
22
23 class HexagonSelectionDAGInfo : public TargetSelectionDAGInfo {
24 public:
25   explicit HexagonSelectionDAGInfo(const HexagonTargetMachine &TM);
26   ~HexagonSelectionDAGInfo();
27
28   SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,
29                                   SDValue Chain,
30                                   SDValue Dst, SDValue Src,
31                                   SDValue Size, unsigned Align,
32                                   bool isVolatile, bool AlwaysInline,
33                                   MachinePointerInfo DstPtrInfo,
34                                   MachinePointerInfo SrcPtrInfo) const override;
35 };
36
37 }
38
39 #endif