LLVM  8.0.1
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 isAfterLegalizeDAG () 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 3011 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ DAGCombinerInfo()

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

Definition at line 3019 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 661 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 666 of file DAGCombiner.cpp.

References CommitTargetLoweringOpt(), and DC.

◆ CommitTargetLoweringOpt()

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

◆ getDAGCombineLevel()

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

◆ isAfterLegalizeDAG()

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

◆ 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 3014 of file TargetLowering.h.

◆ DAG

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

Definition at line 3017 of file TargetLowering.h.

Referenced by AddCombineBUILD_VECTORToVPADDL(), AddCombineTo64bitMLAL(), AddCombineTo64BitSMLAL16(), AddCombineTo64bitUMAAL(), AddCombineToVPADD(), AddCombineVUZPToVPADDL(), CombineANDShift(), CombineBaseUpdate(), llvm::AMDGPUTargetLowering::combineFMinMaxLegacy(), combineSelectAndUse(), CombineVLDDUP(), distributeOpThroughSelect(), llvm::XCoreTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::expandVSXLoadForLE(), llvm::PPCTargetLowering::expandVSXStoreForLE(), foldFreeOpFromSelect(), llvm::SystemZTargetLowering::getTargetNodeName(), llvm::TargetLowering::isExtendedTrueVal(), PerformADDCombineWithOperands(), PerformAddcSubcCombine(), PerformAddeSubeCombine(), PerformANDCombine(), PerformARMBUILD_VECTORCombine(), llvm::AMDGPUTargetLowering::performAssertSZExtCombine(), PerformBFICombine(), llvm::SparcTargetLowering::PerformBITCASTCombine(), PerformBUILD_VECTORCombine(), llvm::AMDGPUTargetLowering::performCtlz_CttzCombine(), llvm::R600TargetLowering::PerformDAGCombine(), llvm::MipsSETargetLowering::PerformDAGCombine(), llvm::RISCVTargetLowering::PerformDAGCombine(), llvm::AMDGPUTargetLowering::PerformDAGCombine(), llvm::AArch64TargetLowering::PerformDAGCombine(), llvm::ARMTargetLowering::PerformDAGCombine(), llvm::SITargetLowering::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(), llvm::AMDGPUTargetLowering::performRcpCombine(), PerformREMCombine(), llvm::AMDGPUTargetLowering::performSelectCombine(), performSelectCombine(), PerformSETCCCombine(), llvm::AMDGPUTargetLowering::performShlCombine(), PerformSHLSimplify(), llvm::AMDGPUTargetLowering::performSraCombine(), llvm::AMDGPUTargetLowering::performSrlCombine(), performSRLCombine(), llvm::AMDGPUTargetLowering::performStoreCombine(), PerformSTORECombine(), llvm::AMDGPUTargetLowering::performTruncateCombine(), PerformVDUPCombine(), PerformVDUPLANECombine(), PerformVMOVRRDCombine(), PerformVMULCombine(), PerformXORCombine(), llvm::TargetLowering::SimplifyDemandedBits(), llvm::TargetLowering::SimplifyDemandedVectorElts(), simplifyI24(), llvm::TargetLowering::SimplifySetCC(), llvm::AMDGPUTargetLowering::splitBinaryBitConstantOpImpl(), tryCombineToBSL(), tryCombineToEXTR(), and TryMULWIDECombine().

◆ DC

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

Definition at line 3012 of file TargetLowering.h.

◆ Level

CombineLevel llvm::TargetLowering::DAGCombinerInfo::Level

Definition at line 3013 of file TargetLowering.h.


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