[PowerPC] Materialize more constants with CR-field set in late peephole
[llvm-core.git] / lib / Target / XCore / XCoreSelectionDAGInfo.h
blob7cd0d8216e910a891987160c68c53242d70c4501
1 //===-- XCoreSelectionDAGInfo.h - XCore SelectionDAG Info -------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines the XCore subclass for SelectionDAGTargetInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
15 #define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H
17 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
19 namespace llvm {
21 class XCoreTargetMachine;
23 class XCoreSelectionDAGInfo : public SelectionDAGTargetInfo {
24 public:
25 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,
26 SDValue Chain, SDValue Op1, SDValue Op2,
27 SDValue Op3, unsigned Align, bool isVolatile,
28 bool AlwaysInline,
29 MachinePointerInfo DstPtrInfo,
30 MachinePointerInfo SrcPtrInfo) const override;
35 #endif