2010-04-17 01:04:22 +02:00
|
|
|
//===-- XCoreSelectionDAGInfo.h - XCore SelectionDAG Info -------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2016-01-27 17:32:26 +01:00
|
|
|
// This file defines the XCore subclass for SelectionDAGTargetInfo.
|
2010-04-17 01:04:22 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 18:26:38 +02:00
|
|
|
#ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
|
2010-04-17 01:04:22 +02:00
|
|
|
|
2016-01-27 17:32:26 +01:00
|
|
|
#include "llvm/CodeGen/SelectionDAGTargetInfo.h"
|
2010-04-17 01:04:22 +02:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2010-05-11 19:31:57 +02:00
|
|
|
class XCoreTargetMachine;
|
|
|
|
|
2016-01-27 17:32:26 +01:00
|
|
|
class XCoreSelectionDAGInfo : public SelectionDAGTargetInfo {
|
2010-04-17 01:04:22 +02:00
|
|
|
public:
|
2014-02-27 14:39:07 +01:00
|
|
|
|
2014-04-29 09:57:00 +02:00
|
|
|
SDValue
|
2014-02-27 14:39:07 +01:00
|
|
|
EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,
|
|
|
|
SDValue Chain,
|
|
|
|
SDValue Op1, SDValue Op2,
|
|
|
|
SDValue Op3, unsigned Align, bool isVolatile,
|
|
|
|
bool AlwaysInline,
|
|
|
|
MachinePointerInfo DstPtrInfo,
|
2014-04-29 09:57:00 +02:00
|
|
|
MachinePointerInfo SrcPtrInfo) const override;
|
2010-04-17 01:04:22 +02:00
|
|
|
};
|
|
|
|
|
2015-06-23 11:49:53 +02:00
|
|
|
}
|
2010-04-17 01:04:22 +02:00
|
|
|
|
|
|
|
#endif
|