xref: /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.h (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1 //===-- AArch64SelectionDAGInfo.h - AArch64 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 AArch64 subclass for SelectionDAGTargetInfo.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_LIB_TARGET_AARCH64_AARCH64SELECTIONDAGINFO_H
14 #define LLVM_LIB_TARGET_AARCH64_AARCH64SELECTIONDAGINFO_H
15 
16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
17 
18 namespace llvm {
19 
20 class AArch64SelectionDAGInfo : public SelectionDAGTargetInfo {
21 public:
22   SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, const SDLoc &dl,
23                                   SDValue Chain, SDValue Dst, SDValue Src,
24                                   SDValue Size, Align Alignment,
25                                   bool isVolatile,
26                                   MachinePointerInfo DstPtrInfo) const override;
27   SDValue EmitTargetCodeForSetTag(SelectionDAG &DAG, const SDLoc &dl,
28                                   SDValue Chain, SDValue Op1, SDValue Op2,
29                                   MachinePointerInfo DstPtrInfo,
30                                   bool ZeroData) const override;
31 };
32 }
33 
34 #endif
35