1 //===-- XCoreSelectionDAGInfo.h - XCore 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 XCore subclass for TargetSelectionDAGInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
15 #define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
21 class XCoreTargetMachine;
23 class XCoreSelectionDAGInfo : public TargetSelectionDAGInfo {
25 explicit XCoreSelectionDAGInfo(const DataLayout &DL);
26 ~XCoreSelectionDAGInfo();
29 EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,
31 SDValue Op1, SDValue Op2,
32 SDValue Op3, unsigned Align, bool isVolatile,
34 MachinePointerInfo DstPtrInfo,
35 MachinePointerInfo SrcPtrInfo) const override;