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