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   bool generateFMAsInMachineCombiner(CodeGenOpt::Level OptLevel) const override;
32 };
33 }
34 
35 #endif
36