]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/llvm/lib/Target/XCore/XCoreSelectionDAGInfo.h
MFV r368746:
[FreeBSD/FreeBSD.git] / contrib / llvm-project / llvm / lib / Target / XCore / XCoreSelectionDAGInfo.h
1 //===-- XCoreSelectionDAGInfo.h - XCore 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 XCore subclass for SelectionDAGTargetInfo.
10 //
11 //===----------------------------------------------------------------------===//
12
13 #ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
14 #define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
15
16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
17
18 namespace llvm {
19
20 class XCoreSelectionDAGInfo : public SelectionDAGTargetInfo {
21 public:
22   SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,
23                                   SDValue Chain, SDValue Op1, SDValue Op2,
24                                   SDValue Op3, Align Alignment, bool isVolatile,
25                                   bool AlwaysInline,
26                                   MachinePointerInfo DstPtrInfo,
27                                   MachinePointerInfo SrcPtrInfo) const override;
28 };
29
30 }
31
32 #endif