brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 4154908 Raw
39 lines · c
1//===-- LanaiSelectionDAGInfo.h - Lanai SelectionDAG Info -----*- C++ -*-===//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 defines the Lanai subclass for TargetSelectionDAGInfo.10//11//===----------------------------------------------------------------------===//12 13#ifndef LLVM_LIB_TARGET_LANAI_LANAISELECTIONDAGINFO_H14#define LLVM_LIB_TARGET_LANAI_LANAISELECTIONDAGINFO_H15 16#include "llvm/CodeGen/SelectionDAGTargetInfo.h"17#include "llvm/Target/TargetMachine.h"18 19#define GET_SDNODE_ENUM20#include "LanaiGenSDNodeInfo.inc"21 22namespace llvm {23 24class LanaiSelectionDAGInfo : public SelectionDAGGenTargetInfo {25public:26  LanaiSelectionDAGInfo();27 28  SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,29                                  SDValue Chain, SDValue Dst, SDValue Src,30                                  SDValue Size, Align Alignment,31                                  bool isVolatile, bool AlwaysInline,32                                  MachinePointerInfo DstPtrInfo,33                                  MachinePointerInfo SrcPtrInfo) const override;34};35 36} // namespace llvm37 38#endif // LLVM_LIB_TARGET_LANAI_LANAISELECTIONDAGINFO_H39