blob: 027b393f4d5ff19dd1dde006350063aa7b5080c9 [file] [log] [blame]
Tim Northover00ed9962014-03-29 10:18:08 +00001//===-- ARM64SelectionDAGInfo.h - ARM64 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 ARM64 subclass for TargetSelectionDAGInfo.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef ARM64SELECTIONDAGINFO_H
15#define ARM64SELECTIONDAGINFO_H
16
17#include "llvm/Target/TargetSelectionDAGInfo.h"
18
19namespace llvm {
20
21class ARM64SelectionDAGInfo : 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 ARM64Subtarget *Subtarget;
25
26public:
27 explicit ARM64SelectionDAGInfo(const TargetMachine &TM);
28 ~ARM64SelectionDAGInfo();
29
30 virtual SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl,
31 SDValue Chain, SDValue Dst,
32 SDValue Src, SDValue Size,
33 unsigned Align, bool isVolatile,
34 MachinePointerInfo DstPtrInfo) const;
35};
36}
37
38#endif