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-exception 6 // 7 //===----------------------------------------------------------------------===// 8 // 9 // This file defines the Hexagon subclass for SelectionDAGTargetInfo. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H 14 #define LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H 15 16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h" 17 18 namespace llvm { 19 20 class HexagonSelectionDAGInfo : public SelectionDAGTargetInfo { 21 public: 22 explicit HexagonSelectionDAGInfo() = default; 23 24 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl, 25 SDValue Chain, SDValue Dst, SDValue Src, 26 SDValue Size, unsigned Align, bool isVolatile, 27 bool AlwaysInline, 28 MachinePointerInfo DstPtrInfo, 29 MachinePointerInfo SrcPtrInfo) const override; 30 }; 31 32 } 33 34 #endif 35