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

#include "llvm/CodeGen/TargetLowering.h"

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

Public Member Functions

 DAGCombinerInfo (SelectionDAG &dag, CombineLevel level, bool cl, void *dc)
 
bool isBeforeLegalize () const
 
bool isBeforeLegalizeOps () const
 
bool isAfterLegalizeVectorOps () const
 
CombineLevel getDAGCombineLevel ()
 
bool isCalledByLegalizer () const
 
void AddToWorklist (SDNode *N)
 
SDValue CombineTo (SDNode *N, ArrayRef< SDValue > To, bool AddTo=true)
 
SDValue CombineTo (SDNode *N, SDValue Res, bool AddTo=true)
 
SDValue CombineTo (SDNode *N, SDValue Res0, SDValue Res1, bool AddTo=true)
 
void CommitTargetLoweringOpt (const TargetLoweringOpt &TLO)
 

Public Attributes

void * DC
 
CombineLevel Level
 
bool CalledByLegalizer
 
SelectionDAGDAG
 

Detailed Description

Definition at line 2699 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ DAGCombinerInfo()

llvm::TargetLowering::DAGCombinerInfo::DAGCombinerInfo ( SelectionDAG dag,
CombineLevel  level,
bool  cl,
void *  dc 
)
inline

Definition at line 2707 of file TargetLowering.h.

Member Function Documentation

◆ AddToWorklist()

void TargetLowering::DAGCombinerInfo::AddToWorklist ( SDNode N)

◆ CombineTo() [1/3]

SDValue TargetLowering::DAGCombinerInfo::CombineTo ( SDNode N,
ArrayRef< SDValue To,
bool  AddTo = true 
)

◆ CombineTo() [2/3]

SDValue TargetLowering::DAGCombinerInfo::CombineTo ( SDNode N,
SDValue  Res,
bool  AddTo = true 
)

Definition at line 607 of file DAGCombiner.cpp.

References CombineTo(), and DC.

◆ CombineTo() [3/3]

SDValue TargetLowering::DAGCombinerInfo::CombineTo ( SDNode N,
SDValue  Res0,
SDValue  Res1,
bool  AddTo = true 
)

Definition at line 612 of file DAGCombiner.cpp.

References CommitTargetLoweringOpt(), and DC.

◆ CommitTargetLoweringOpt()

void TargetLowering::DAGCombinerInfo::CommitTargetLoweringOpt ( const TargetLoweringOpt TLO)

◆ getDAGCombineLevel()

CombineLevel llvm::TargetLowering::DAGCombinerInfo::getDAGCombineLevel ( )
inline

◆ isAfterLegalizeVectorOps()

bool llvm::TargetLowering::DAGCombinerInfo::isAfterLegalizeVectorOps ( ) const
inline

Definition at line 2712 of file TargetLowering.h.

References llvm::AfterLegalizeDAG.

Referenced by combineSelect().

◆ isBeforeLegalize()

bool llvm::TargetLowering::DAGCombinerInfo::isBeforeLegalize ( ) const
inline

◆ isBeforeLegalizeOps()

bool llvm::TargetLowering::DAGCombinerInfo::isBeforeLegalizeOps ( ) const
inline

◆ isCalledByLegalizer()

bool llvm::TargetLowering::DAGCombinerInfo::isCalledByLegalizer ( ) const
inline

Member Data Documentation

◆ CalledByLegalizer

bool llvm::TargetLowering::DAGCombinerInfo::CalledByLegalizer

Definition at line 2702 of file TargetLowering.h.

◆ DAG

SelectionDAG& llvm::TargetLowering::DAGCombinerInfo::DAG

Definition at line 2705 of file TargetLowering.h.

Referenced by AddCombineBUILD_VECTORToVPADDL(), AddCombineTo64bitMLAL(), AddCombineTo64BitSMLAL16(), AddCombineTo64bitUMAAL(), AddCombineToVPADD(), AddCombineVUZPToVPADDL(), CombineBaseUpdate(), llvm::AMDGPUTargetLowering::combineFMinMaxLegacy(), combineSelectAndUse(), CombineVLDDUP(), distributeOpThroughSelect(), llvm::XCoreTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::expandVSXLoadForLE(), llvm::PPCTargetLowering::expandVSXStoreForLE(), foldFreeOpFromSelect(), llvm::SystemZTargetLowering::getTargetNodeName(), llvm::TargetLowering::isExtendedTrueVal(), PerformADDCombineWithOperands(), PerformADDECombine(), PerformANDCombine(), PerformARMBUILD_VECTORCombine(), llvm::AMDGPUTargetLowering::performAssertSZExtCombine(), PerformBFICombine(), PerformBUILD_VECTORCombine(), llvm::AMDGPUTargetLowering::performClampCombine(), llvm::AMDGPUTargetLowering::performCtlz_CttzCombine(), llvm::R600TargetLowering::PerformDAGCombine(), llvm::MipsSETargetLowering::PerformDAGCombine(), llvm::AMDGPUTargetLowering::PerformDAGCombine(), llvm::SITargetLowering::PerformDAGCombine(), llvm::AArch64TargetLowering::PerformDAGCombine(), llvm::ARMTargetLowering::PerformDAGCombine(), llvm::MipsTargetLowering::PerformDAGCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), llvm::X86TargetLowering::PerformDAGCombine(), llvm::AMDGPUTargetLowering::performFAbsCombine(), llvm::AMDGPUTargetLowering::performFNegCombine(), PerformInsertEltCombine(), performIntrinsicCombine(), llvm::AMDGPUTargetLowering::performLoadCombine(), PerformLOADCombine(), llvm::AMDGPUTargetLowering::performMulCombine(), PerformMULCombine(), llvm::AMDGPUTargetLowering::performMulhsCombine(), llvm::AMDGPUTargetLowering::performMulhuCombine(), llvm::AMDGPUTargetLowering::performMulLoHi24Combine(), performORCombine(), PerformORCombine(), PerformORCombineToBFI(), PerformORCombineToSMULWBT(), performPostLD1Combine(), PerformREMCombine(), llvm::AMDGPUTargetLowering::performSelectCombine(), performSelectCombine(), PerformSETCCCombine(), llvm::AMDGPUTargetLowering::performShlCombine(), PerformSHLSimplify(), llvm::AMDGPUTargetLowering::performSraCombine(), llvm::AMDGPUTargetLowering::performSrlCombine(), performSRLCombine(), llvm::AMDGPUTargetLowering::performStoreCombine(), PerformSTORECombine(), PerformVDUPCombine(), PerformVDUPLANECombine(), PerformVMOVRRDCombine(), PerformVMULCombine(), PerformXORCombine(), llvm::TargetLowering::SimplifyDemandedBits(), simplifyI24(), llvm::TargetLowering::SimplifySetCC(), llvm::AMDGPUTargetLowering::splitBinaryBitConstantOpImpl(), tryCombineToBSL(), tryCombineToEXTR(), and TryMULWIDECombine().

◆ DC

void* llvm::TargetLowering::DAGCombinerInfo::DC

Definition at line 2700 of file TargetLowering.h.

◆ Level

CombineLevel llvm::TargetLowering::DAGCombinerInfo::Level

Definition at line 2701 of file TargetLowering.h.


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