1 | //===-- LanaiSelectionDAGInfo.cpp - Lanai SelectionDAG Info -------------===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | // This file implements the LanaiSelectionDAGInfo class. |
10 | // |
11 | //===----------------------------------------------------------------------===// |
12 | |
13 | #include "LanaiSelectionDAGInfo.h" |
14 | |
15 | #include "LanaiTargetMachine.h" |
16 | |
17 | #define DEBUG_TYPE "lanai-selectiondag-info" |
18 | |
19 | namespace llvm { |
20 | |
21 | SDValue LanaiSelectionDAGInfo::EmitTargetCodeForMemcpy( |
22 | SelectionDAG & /*DAG*/, const SDLoc & /*dl*/, SDValue /*Chain*/, |
23 | SDValue /*Dst*/, SDValue /*Src*/, SDValue Size, Align /*Alignment*/, |
24 | bool /*isVolatile*/, bool /*AlwaysInline*/, |
25 | MachinePointerInfo /*DstPtrInfo*/, |
26 | MachinePointerInfo /*SrcPtrInfo*/) const { |
27 | ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Val&: Size); |
28 | if (!ConstantSize) |
29 | return SDValue(); |
30 | |
31 | return SDValue(); |
32 | } |
33 | |
34 | } // namespace llvm |
35 | |