1 //===-- XCoreSelectionDAGInfo.h - XCore 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 XCore subclass for TargetSelectionDAGInfo. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H 15 #define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H 16 17 #include "llvm/Target/TargetSelectionDAGInfo.h" 18 19 namespace llvm { 20 21 class XCoreTargetMachine; 22 23 class XCoreSelectionDAGInfo : public TargetSelectionDAGInfo { 24 public: 25 26 SDValue 27 EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl, 28 SDValue Chain, 29 SDValue Op1, SDValue Op2, 30 SDValue Op3, unsigned Align, bool isVolatile, 31 bool AlwaysInline, 32 MachinePointerInfo DstPtrInfo, 33 MachinePointerInfo SrcPtrInfo) const override; 34 }; 35 36 } 37 38 #endif 39