2010-04-17 07:04:22 +08:00
|
|
|
//===-- XCoreSelectionDAGInfo.h - XCore SelectionDAG Info -------*- C++ -*-===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2010-04-17 07:04:22 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2016-01-28 00:32:26 +08:00
|
|
|
// This file defines the XCore subclass for SelectionDAGTargetInfo.
|
2010-04-17 07:04:22 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
|
2010-04-17 07:04:22 +08:00
|
|
|
|
2016-01-28 00:32:26 +08:00
|
|
|
#include "llvm/CodeGen/SelectionDAGTargetInfo.h"
|
2010-04-17 07:04:22 +08:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2016-01-28 00:32:26 +08:00
|
|
|
class XCoreSelectionDAGInfo : public SelectionDAGTargetInfo {
|
2010-04-17 07:04:22 +08:00
|
|
|
public:
|
2016-06-12 23:39:02 +08:00
|
|
|
SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,
|
|
|
|
SDValue Chain, SDValue Op1, SDValue Op2,
|
2020-06-30 21:12:31 +08:00
|
|
|
SDValue Op3, Align Alignment, bool isVolatile,
|
2016-06-12 23:39:02 +08:00
|
|
|
bool AlwaysInline,
|
|
|
|
MachinePointerInfo DstPtrInfo,
|
|
|
|
MachinePointerInfo SrcPtrInfo) const override;
|
2010-04-17 07:04:22 +08:00
|
|
|
};
|
|
|
|
|
2015-06-23 17:49:53 +08:00
|
|
|
}
|
2010-04-17 07:04:22 +08:00
|
|
|
|
|
|
|
#endif
|