1 //===-- HexagonSelectionDAGInfo.h - Hexagon 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 Hexagon subclass for TargetSelectionDAGInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef HexagonSELECTIONDAGINFO_H
15 #define HexagonSELECTIONDAGINFO_H
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
21 class HexagonTargetMachine;
23 class HexagonSelectionDAGInfo : public TargetSelectionDAGInfo {
25 explicit HexagonSelectionDAGInfo(const HexagonTargetMachine &TM);
26 ~HexagonSelectionDAGInfo();
28 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,
30 SDValue Dst, SDValue Src,
31 SDValue Size, unsigned Align,
32 bool isVolatile, bool AlwaysInline,
33 MachinePointerInfo DstPtrInfo,
34 MachinePointerInfo SrcPtrInfo) const override;