LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::TargetLowering::TargetLoweringOpt Struct Reference

A convenience struct that encapsulates a DAG, and two SDValues for returning information from TargetLowering to its clients that want to combine. More...

#include "llvm/CodeGen/TargetLowering.h"

Collaboration diagram for llvm::TargetLowering::TargetLoweringOpt:
Collaboration graph
[legend]

Public Member Functions

 TargetLoweringOpt (SelectionDAG &InDAG, bool LT, bool LO)
 
bool LegalTypes () const
 
bool LegalOperations () const
 
bool CombineTo (SDValue O, SDValue N)
 

Public Attributes

SelectionDAGDAG
 
bool LegalTys
 
bool LegalOps
 
SDValue Old
 
SDValue New
 

Detailed Description

A convenience struct that encapsulates a DAG, and two SDValues for returning information from TargetLowering to its clients that want to combine.

Definition at line 2596 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ TargetLoweringOpt()

llvm::TargetLowering::TargetLoweringOpt::TargetLoweringOpt ( SelectionDAG InDAG,
bool  LT,
bool  LO 
)
inlineexplicit

Definition at line 2603 of file TargetLowering.h.

Member Function Documentation

◆ CombineTo()

bool llvm::TargetLowering::TargetLoweringOpt::CombineTo ( SDValue  O,
SDValue  N 
)
inline

◆ LegalOperations()

bool llvm::TargetLowering::TargetLoweringOpt::LegalOperations ( ) const
inline

Definition at line 2608 of file TargetLowering.h.

◆ LegalTypes()

bool llvm::TargetLowering::TargetLoweringOpt::LegalTypes ( ) const
inline

Definition at line 2607 of file TargetLowering.h.

Member Data Documentation

◆ DAG

SelectionDAG& llvm::TargetLowering::TargetLoweringOpt::DAG

◆ LegalOps

bool llvm::TargetLowering::TargetLoweringOpt::LegalOps

◆ LegalTys

bool llvm::TargetLowering::TargetLoweringOpt::LegalTys

Definition at line 2598 of file TargetLowering.h.

◆ New

SDValue llvm::TargetLowering::TargetLoweringOpt::New

◆ Old

SDValue llvm::TargetLowering::TargetLoweringOpt::Old

The documentation for this struct was generated from the following file: