1 //===-- ARM64SelectionDAGInfo.h - ARM64 SelectionDAG Info -------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the ARM64 subclass for TargetSelectionDAGInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef ARM64SELECTIONDAGINFO_H
15 #define ARM64SELECTIONDAGINFO_H
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
21 class 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;
27 explicit ARM64SelectionDAGInfo(const TargetMachine &TM);
28 ~ARM64SelectionDAGInfo();
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;