]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/Lanai/LanaiSelectionDAGInfo.cpp
MFV r336851:
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / Lanai / LanaiSelectionDAGInfo.cpp
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
22 SDValue LanaiSelectionDAGInfo::EmitTargetCodeForMemcpy(
23     SelectionDAG & /*DAG*/, const SDLoc & /*dl*/, SDValue /*Chain*/,
24     SDValue /*Dst*/, SDValue /*Src*/, SDValue Size, unsigned /*Align*/,
25     bool /*isVolatile*/, bool /*AlwaysInline*/,
26     MachinePointerInfo /*DstPtrInfo*/,
27     MachinePointerInfo /*SrcPtrInfo*/) const {
28   ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size);
29   if (!ConstantSize)
30     return SDValue();
31
32   return SDValue();
33 }
34
35 } // namespace llvm