1 //===-- X86SelectionDAGInfo.h - X86 SelectionDAG Info -----------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the X86 subclass for TargetSelectionDAGInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_X86_X86SELECTIONDAGINFO_H
15 #define LLVM_LIB_TARGET_X86_X86SELECTIONDAGINFO_H
17 #include "llvm/Target/TargetSelectionDAGInfo.h"
21 class X86TargetLowering;
22 class X86TargetMachine;
25 class X86SelectionDAGInfo : public TargetSelectionDAGInfo {
27 explicit X86SelectionDAGInfo(const DataLayout &DL);
28 ~X86SelectionDAGInfo();
30 SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl,
32 SDValue Dst, SDValue Src,
33 SDValue Size, unsigned Align,
35 MachinePointerInfo DstPtrInfo) const override;
37 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,
39 SDValue Dst, SDValue Src,
40 SDValue Size, unsigned Align,
41 bool isVolatile, bool AlwaysInline,
42 MachinePointerInfo DstPtrInfo,
43 MachinePointerInfo SrcPtrInfo) const override;