AArch64SelectionDAGInfo.h 1.5 KB

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