1 //===-- ARMSelectionDAGInfo.h - ARM 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 ARM subclass for TargetSelectionDAGInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef ARMSELECTIONDAGINFO_H
15 #define ARMSELECTIONDAGINFO_H
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
21 class ARMSelectionDAGInfo : 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 ARMSubtarget *Subtarget;
27 explicit ARMSelectionDAGInfo(const TargetMachine &TM);
28 ~ARMSelectionDAGInfo();
31 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl,
33 SDValue Dst, SDValue Src,
34 SDValue Size, unsigned Align,
35 bool isVolatile, bool AlwaysInline,
39 uint64_t SrcSVOff) const;