LLVM  5.0.0
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/Target/TargetLowering.h"

Collaboration diagram for llvm::TargetLowering::TargetLoweringOpt:
[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

SelectionDAG & DAG
 
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 2588 of file TargetLowering.h.

Constructor & Destructor Documentation

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

Definition at line 2595 of file TargetLowering.h.

Member Function Documentation

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

Definition at line 2600 of file TargetLowering.h.

References LegalOps.

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

Definition at line 2599 of file TargetLowering.h.

References LegalTys.

Member Data Documentation

SelectionDAG& llvm::TargetLowering::TargetLoweringOpt::DAG
bool llvm::TargetLowering::TargetLoweringOpt::LegalOps
bool llvm::TargetLowering::TargetLoweringOpt::LegalTys

Definition at line 2590 of file TargetLowering.h.

Referenced by LegalTypes().

SDValue llvm::TargetLowering::TargetLoweringOpt::New
SDValue llvm::TargetLowering::TargetLoweringOpt::Old

Definition at line 2592 of file TargetLowering.h.

Referenced by CombineTo(), and llvm::TargetLowering::SimplifyDemandedBits().


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