LLVM  8.0.1
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 SelectionDAGTargetInfo.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_X86_X86SELECTIONDAGINFO_H
15 #define LLVM_LIB_TARGET_X86_X86SELECTIONDAGINFO_H
16 
18 #include "llvm/MC/MCRegisterInfo.h"
19 
20 namespace llvm {
21 
22 class X86TargetLowering;
23 class X86TargetMachine;
24 class X86Subtarget;
25 
27  /// Returns true if it is possible for the base register to conflict with the
28  /// given set of clobbers for a memory intrinsic.
29  bool isBaseRegConflictPossible(SelectionDAG &DAG,
30  ArrayRef<MCPhysReg> ClobberSet) const;
31 
32 public:
33  explicit X86SelectionDAGInfo() = default;
34 
36  SDValue Chain, SDValue Dst, SDValue Src,
37  SDValue Size, unsigned Align, bool isVolatile,
38  MachinePointerInfo DstPtrInfo) const override;
39 
41  SDValue Chain, SDValue Dst, SDValue Src,
42  SDValue Size, unsigned Align, bool isVolatile,
43  bool AlwaysInline,
44  MachinePointerInfo DstPtrInfo,
45  MachinePointerInfo SrcPtrInfo) const override;
46 };
47 
48 }
49 
50 #endif
constexpr char Align[]
Key for Kernel::Arg::Metadata::mAlign.
This class represents lattice values for constants.
Definition: AllocatorList.h:24
SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, bool AlwaysInline, MachinePointerInfo DstPtrInfo, MachinePointerInfo SrcPtrInfo) const override
Emit target-specific code that performs a memcpy.
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
This class contains a discriminated union of information about pointers in memory operands...
This is used to represent a portion of an LLVM function in a low-level Data Dependence DAG representa...
Definition: SelectionDAG.h:222
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation funct...
uint32_t Size
Definition: Profile.cpp:47
SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Dst, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const override
Emit target-specific code that performs a memset.
static bool isVolatile(Instruction *Inst)
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation...