[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / lib / Target / XCore / XCoreSelectionDAGInfo.h
blob5dcef08391c90360faeae1910813907db643af40
1 //===-- XCoreSelectionDAGInfo.h - XCore 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 XCore subclass for SelectionDAGTargetInfo.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
14 #define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
16 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
18 namespace llvm {
20 class XCoreTargetMachine;
22 class XCoreSelectionDAGInfo : public SelectionDAGTargetInfo {
23 public:
24 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,
25 SDValue Chain, SDValue Op1, SDValue Op2,
26 SDValue Op3, unsigned Align, bool isVolatile,
27 bool AlwaysInline,
28 MachinePointerInfo DstPtrInfo,
29 MachinePointerInfo SrcPtrInfo) const override;
34 #endif