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, 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; 31 }; 32 } 33 34 #endif 35