1 //===-- LanaiSelectionDAGInfo.cpp - Lanai SelectionDAG Info -------------===//
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 implements the LanaiSelectionDAGInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "LanaiSelectionDAGInfo.h"
15 
16 #include "LanaiTargetMachine.h"
17 
18 #define DEBUG_TYPE "lanai-selectiondag-info"
19 
20 namespace llvm {
21 
EmitTargetCodeForMemcpy(SelectionDAG & DAG,const SDLoc & dl,SDValue Chain,SDValue Dst,SDValue Src,SDValue Size,unsigned Align,bool isVolatile,bool AlwaysInline,MachinePointerInfo DstPtrInfo,MachinePointerInfo SrcPtrInfo) const22 SDValue LanaiSelectionDAGInfo::EmitTargetCodeForMemcpy(
23     SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src,
24     SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline,
25     MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const {
26   ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size);
27   if (!ConstantSize)
28     return SDValue();
29 
30   return SDValue();
31 }
32 
33 } // namespace llvm
34