X86SelectionDAGInfo.h revision cd81d94322a39503e4a3e87b6ee03d4fcb3465fb
1//===-- X86SelectionDAGInfo.h - X86 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 X86 subclass for TargetSelectionDAGInfo.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef X86SELECTIONDAGINFO_H
15#define X86SELECTIONDAGINFO_H
16
17#include "llvm/Target/TargetSelectionDAGInfo.h"
18
19namespace llvm {
20
21class X86TargetLowering;
22class X86TargetMachine;
23class X86Subtarget;
24
25class X86SelectionDAGInfo : public TargetSelectionDAGInfo {
26public:
27  explicit X86SelectionDAGInfo(const DataLayout &DL);
28  ~X86SelectionDAGInfo();
29
30  SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl,
31                                  SDValue Chain,
32                                  SDValue Dst, SDValue Src,
33                                  SDValue Size, unsigned Align,
34                                  bool isVolatile,
35                                  MachinePointerInfo DstPtrInfo) const override;
36
37  SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,
38                                  SDValue Chain,
39                                  SDValue Dst, SDValue Src,
40                                  SDValue Size, unsigned Align,
41                                  bool isVolatile, bool AlwaysInline,
42                                  MachinePointerInfo DstPtrInfo,
43                                  MachinePointerInfo SrcPtrInfo) const override;
44};
45
46}
47
48#endif
49