xref: /aosp_15_r20/external/llvm/lib/Target/Lanai/LanaiSelectionDAGInfo.cpp (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker //===-- LanaiSelectionDAGInfo.cpp - Lanai SelectionDAG Info -------------===//
2*9880d681SAndroid Build Coastguard Worker //
3*9880d681SAndroid Build Coastguard Worker //                     The LLVM Compiler Infrastructure
4*9880d681SAndroid Build Coastguard Worker //
5*9880d681SAndroid Build Coastguard Worker // This file is distributed under the University of Illinois Open Source
6*9880d681SAndroid Build Coastguard Worker // License. See LICENSE.TXT for details.
7*9880d681SAndroid Build Coastguard Worker //
8*9880d681SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
9*9880d681SAndroid Build Coastguard Worker //
10*9880d681SAndroid Build Coastguard Worker // This file implements the LanaiSelectionDAGInfo class.
11*9880d681SAndroid Build Coastguard Worker //
12*9880d681SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
13*9880d681SAndroid Build Coastguard Worker 
14*9880d681SAndroid Build Coastguard Worker #include "LanaiSelectionDAGInfo.h"
15*9880d681SAndroid Build Coastguard Worker 
16*9880d681SAndroid Build Coastguard Worker #include "LanaiTargetMachine.h"
17*9880d681SAndroid Build Coastguard Worker 
18*9880d681SAndroid Build Coastguard Worker #define DEBUG_TYPE "lanai-selectiondag-info"
19*9880d681SAndroid Build Coastguard Worker 
20*9880d681SAndroid Build Coastguard Worker namespace llvm {
21*9880d681SAndroid Build Coastguard Worker 
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*9880d681SAndroid Build Coastguard Worker SDValue LanaiSelectionDAGInfo::EmitTargetCodeForMemcpy(
23*9880d681SAndroid Build Coastguard Worker     SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src,
24*9880d681SAndroid Build Coastguard Worker     SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline,
25*9880d681SAndroid Build Coastguard Worker     MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const {
26*9880d681SAndroid Build Coastguard Worker   ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size);
27*9880d681SAndroid Build Coastguard Worker   if (!ConstantSize)
28*9880d681SAndroid Build Coastguard Worker     return SDValue();
29*9880d681SAndroid Build Coastguard Worker 
30*9880d681SAndroid Build Coastguard Worker   return SDValue();
31*9880d681SAndroid Build Coastguard Worker }
32*9880d681SAndroid Build Coastguard Worker 
33*9880d681SAndroid Build Coastguard Worker } // namespace llvm
34