2013-07-08 09:35:23 +00:00
|
|
|
//===-- SystemZSelectionDAGInfo.h - SystemZ SelectionDAG Info ---*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines the SystemZ subclass for TargetSelectionDAGInfo.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef SYSTEMZSELECTIONDAGINFO_H
|
|
|
|
#define SYSTEMZSELECTIONDAGINFO_H
|
|
|
|
|
|
|
|
#include "llvm/Target/TargetSelectionDAGInfo.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class SystemZTargetMachine;
|
|
|
|
|
|
|
|
class SystemZSelectionDAGInfo : public TargetSelectionDAGInfo {
|
|
|
|
public:
|
|
|
|
explicit SystemZSelectionDAGInfo(const SystemZTargetMachine &TM);
|
|
|
|
~SystemZSelectionDAGInfo();
|
|
|
|
|
|
|
|
virtual
|
|
|
|
SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc DL, SDValue Chain,
|
|
|
|
SDValue Dst, SDValue Src,
|
|
|
|
SDValue Size, unsigned Align,
|
|
|
|
bool IsVolatile, bool AlwaysInline,
|
|
|
|
MachinePointerInfo DstPtrInfo,
|
|
|
|
MachinePointerInfo SrcPtrInfo) const
|
|
|
|
LLVM_OVERRIDE;
|
2013-07-09 09:32:42 +00:00
|
|
|
|
|
|
|
virtual SDValue
|
|
|
|
EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc DL,
|
|
|
|
SDValue Chain, SDValue Dst, SDValue Byte,
|
|
|
|
SDValue Size, unsigned Align, bool IsVolatile,
|
|
|
|
MachinePointerInfo DstPtrInfo) const;
|
2013-07-08 09:35:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|