1 //===-- AArch64SelectionDAGInfo.h - AArch64 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 AArch64 subclass for SelectionDAGTargetInfo.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_AARCH64_AARCH64SELECTIONDAGINFO_H
14 #define LLVM_LIB_TARGET_AARCH64_AARCH64SELECTIONDAGINFO_H
16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
20 class AArch64SelectionDAGInfo
: public SelectionDAGTargetInfo
{
22 SDValue
EmitTargetCodeForMemset(SelectionDAG
&DAG
, const SDLoc
&dl
,
23 SDValue Chain
, SDValue Dst
, SDValue Src
,
24 SDValue Size
, unsigned Align
, bool isVolatile
,
25 MachinePointerInfo DstPtrInfo
) const override
;
26 SDValue
EmitTargetCodeForSetTag(SelectionDAG
&DAG
, const SDLoc
&dl
,
27 SDValue Chain
, SDValue Op1
, SDValue Op2
,
28 MachinePointerInfo DstPtrInfo
,
29 bool ZeroData
) const override
;
30 bool generateFMAsInMachineCombiner(CodeGenOpt::Level OptLevel
) const override
;