35 lines · c
1//===-- HexagonSelectionDAGInfo.h - Hexagon 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 Hexagon subclass for SelectionDAGTargetInfo.10//11//===----------------------------------------------------------------------===//12 13#ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H14#define LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H15 16#include "llvm/CodeGen/SelectionDAGTargetInfo.h"17 18namespace llvm {19 20class HexagonSelectionDAGInfo : public SelectionDAGTargetInfo {21public:22 explicit HexagonSelectionDAGInfo() = default;23 24 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,25 SDValue Chain, SDValue Dst, SDValue Src,26 SDValue Size, Align Alignment,27 bool isVolatile, bool AlwaysInline,28 MachinePointerInfo DstPtrInfo,29 MachinePointerInfo SrcPtrInfo) const override;30};31 32}33 34#endif35