2012-02-18 13:03:15 +01:00
|
|
|
//===-- HexagonSelectionDAGInfo.h - Hexagon SelectionDAG Info ---*- C++ -*-===//
|
2011-12-12 22:14:40 +01:00
|
|
|
//
|
2019-01-19 09:50:56 +01: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
|
2011-12-12 22:14:40 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2016-01-27 17:32:26 +01:00
|
|
|
// This file defines the Hexagon subclass for SelectionDAGTargetInfo.
|
2011-12-12 22:14:40 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 18:26:38 +02:00
|
|
|
#ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_HEXAGON_HEXAGONSELECTIONDAGINFO_H
|
2011-12-12 22:14:40 +01:00
|
|
|
|
2016-01-27 17:32:26 +01:00
|
|
|
#include "llvm/CodeGen/SelectionDAGTargetInfo.h"
|
2011-12-12 22:14:40 +01:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2016-01-27 17:32:26 +01:00
|
|
|
class HexagonSelectionDAGInfo : public SelectionDAGTargetInfo {
|
2011-12-12 22:14:40 +01:00
|
|
|
public:
|
2016-08-19 17:13:54 +02:00
|
|
|
explicit HexagonSelectionDAGInfo() = default;
|
|
|
|
|
2016-06-12 17:39:02 +02:00
|
|
|
SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,
|
|
|
|
SDValue Chain, SDValue Dst, SDValue Src,
|
|
|
|
SDValue Size, unsigned Align, bool isVolatile,
|
|
|
|
bool AlwaysInline,
|
2011-12-12 22:14:40 +01:00
|
|
|
MachinePointerInfo DstPtrInfo,
|
2014-04-29 09:58:16 +02:00
|
|
|
MachinePointerInfo SrcPtrInfo) const override;
|
2011-12-12 22:14:40 +01:00
|
|
|
};
|
|
|
|
|
2015-06-23 11:49:53 +02:00
|
|
|
}
|
2011-12-12 22:14:40 +01:00
|
|
|
|
|
|
|
#endif
|