LLVM  8.0.1
LanaiSelectionDAGInfo.cpp
Go to the documentation of this file.
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 
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
This class represents lattice values for constants.
Definition: AllocatorList.h:24
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:222
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:323
uint32_t Size
Definition: Profile.cpp:47
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation...