LLVM  10.0.0svn
LanaiSelectionDAGInfo.cpp
Go to the documentation of this file.
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 
22  SelectionDAG & /*DAG*/, const SDLoc & /*dl*/, SDValue /*Chain*/,
23  SDValue /*Dst*/, SDValue /*Src*/, SDValue Size, unsigned /*Align*/,
24  bool /*isVolatile*/, bool /*AlwaysInline*/,
25  MachinePointerInfo /*DstPtrInfo*/,
26  MachinePointerInfo /*SrcPtrInfo*/) const {
27  ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size);
28  if (!ConstantSize)
29  return SDValue();
30 
31  return SDValue();
32 }
33 
34 } // namespace llvm
This class represents lattice values for constants.
Definition: AllocatorList.h:23
SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const override
Emit target-specific code that performs a memcpy.
This class contains a discriminated union of information about pointers in memory operands...
This is used to represent a portion of an LLVM function in a low-level Data Dependence DAG representa...
Definition: SelectionDAG.h:221
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation funct...
LLVM_NODISCARD std::enable_if<!is_simple_type< Y >::value, typename cast_retty< X, const Y >::ret_type >::type dyn_cast(const Y &Val)
Definition: Casting.h:332
uint32_t Size
Definition: Profile.cpp:46
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation...