LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
X86SelectionDAGInfo.h
Go to the documentation of this file.
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 
18 
19 namespace llvm {
20 
21 class X86TargetLowering;
22 class X86TargetMachine;
23 class X86Subtarget;
24 
26  /// Subtarget - Keep a pointer to the X86Subtarget around so that we can
27  /// make the right decision when generating code for different targets.
28  const X86Subtarget *Subtarget;
29 
30  const X86TargetLowering &TLI;
31 
32 public:
33  explicit X86SelectionDAGInfo(const X86TargetMachine &TM);
35 
36  virtual
38  SDValue Chain,
39  SDValue Dst, SDValue Src,
40  SDValue Size, unsigned Align,
41  bool isVolatile,
42  MachinePointerInfo DstPtrInfo) const;
43 
44  virtual
46  SDValue Chain,
47  SDValue Dst, SDValue Src,
48  SDValue Size, unsigned Align,
49  bool isVolatile, bool AlwaysInline,
50  MachinePointerInfo DstPtrInfo,
51  MachinePointerInfo SrcPtrInfo) const;
52 };
53 
54 }
55 
56 #endif
X86SelectionDAGInfo(const X86TargetMachine &TM)
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
static cl::opt< AlignMode > Align(cl::desc("Load/store alignment support"), cl::Hidden, cl::init(DefaultAlign), cl::values(clEnumValN(DefaultAlign,"arm-default-align","Generate unaligned accesses only on hardware/OS ""combinations that are known to support them"), clEnumValN(StrictAlign,"arm-strict-align","Disallow all unaligned memory accesses"), clEnumValN(NoStrictAlign,"arm-no-strict-align","Allow unaligned memory accesses"), clEnumValEnd))
virtual SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const