brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 77e01c6 Raw
37 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file implements the LanaiSelectionDAGInfo class.10//11//===----------------------------------------------------------------------===//12 13#include "LanaiSelectionDAGInfo.h"14 15#define GET_SDNODE_DESC16#include "LanaiGenSDNodeInfo.inc"17 18#define DEBUG_TYPE "lanai-selectiondag-info"19 20using namespace llvm;21 22LanaiSelectionDAGInfo::LanaiSelectionDAGInfo()23    : SelectionDAGGenTargetInfo(LanaiGenSDNodeInfo) {}24 25SDValue LanaiSelectionDAGInfo::EmitTargetCodeForMemcpy(26    SelectionDAG & /*DAG*/, const SDLoc & /*dl*/, SDValue /*Chain*/,27    SDValue /*Dst*/, SDValue /*Src*/, SDValue Size, Align /*Alignment*/,28    bool /*isVolatile*/, bool /*AlwaysInline*/,29    MachinePointerInfo /*DstPtrInfo*/,30    MachinePointerInfo /*SrcPtrInfo*/) const {31  ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size);32  if (!ConstantSize)33    return SDValue();34 35  return SDValue();36}37