1 //===-- XCoreSelectionDAGInfo.h - XCore SelectionDAG Info -------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file defines the XCore subclass for SelectionDAGTargetInfo.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
14 #define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
20 class XCoreTargetMachine
;
22 class XCoreSelectionDAGInfo
: public SelectionDAGTargetInfo
{
24 SDValue
EmitTargetCodeForMemcpy(SelectionDAG
&DAG
, const SDLoc
&dl
,
25 SDValue Chain
, SDValue Op1
, SDValue Op2
,
26 SDValue Op3
, unsigned Align
, bool isVolatile
,
28 MachinePointerInfo DstPtrInfo
,
29 MachinePointerInfo SrcPtrInfo
) const override
;