[MIPS GlobalISel] Select MSA vector generic and builtin add
[llvm-complete.git] / lib / Target / AArch64 / AArch64SelectionDAGInfo.h
blobd0967fb973cc34efee27923117826b1c93059ffb
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.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_AARCH64_AARCH64SELECTIONDAGINFO_H
14 #define LLVM_LIB_TARGET_AARCH64_AARCH64SELECTIONDAGINFO_H
16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
18 namespace llvm {
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;
34 #endif