AArch64/ARM64: move ARM64 into AArch64's place
[oota-llvm.git] / lib / Target / AArch64 / AArch64SelectionDAGInfo.h
1 //===-- AArch64SelectionDAGInfo.h - AArch64 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 AArch64 subclass for TargetSelectionDAGInfo.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef AArch64SELECTIONDAGINFO_H
15 #define AArch64SELECTIONDAGINFO_H
16
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
18
19 namespace llvm {
20
21 class AArch64SelectionDAGInfo : public TargetSelectionDAGInfo {
22   /// Subtarget - Keep a pointer to the ARMSubtarget around so that we can
23   /// make the right decision when generating code for different targets.
24   const AArch64Subtarget *Subtarget;
25
26 public:
27   explicit AArch64SelectionDAGInfo(const TargetMachine &TM);
28   ~AArch64SelectionDAGInfo();
29
30   SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl, SDValue Chain,
31                                   SDValue Dst, SDValue Src, SDValue Size,
32                                   unsigned Align, bool isVolatile,
33                                   MachinePointerInfo DstPtrInfo) const override;
34 };
35 }
36
37 #endif