LLVM API Documentation
#include <TargetLowering.h>

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) |
| void | RemoveFromWorklist (SDNode *N) |
| SDValue | CombineTo (SDNode *N, const std::vector< 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 |
| SelectionDAG & | DAG |
Definition at line 1805 of file TargetLowering.h.
| llvm::TargetLowering::DAGCombinerInfo::DAGCombinerInfo | ( | SelectionDAG & | dag, |
| CombineLevel | level, | ||
| bool | cl, | ||
| void * | dc | ||
| ) | [inline] |
Definition at line 1812 of file TargetLowering.h.
| void TargetLowering::DAGCombinerInfo::AddToWorklist | ( | SDNode * | N | ) |
Definition at line 367 of file DAGCombiner.cpp.
References DC.
Referenced by PerformBUILD_VECTORCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformInsertEltCombine(), PerformSTORECombine(), and llvm::TargetLowering::SimplifySetCC().
| SDValue TargetLowering::DAGCombinerInfo::CombineTo | ( | SDNode * | N, |
| const std::vector< SDValue > & | To, | ||
| bool | AddTo = true |
||
| ) |
Definition at line 376 of file DAGCombiner.cpp.
References llvm::X86II::DC.
Referenced by CombineBaseUpdate(), CombineVLDDUP(), PerformCMOVCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformLOADCombine(), PerformMULCombine(), PerformMulCombine(), PerformORCombine(), PerformShuffleCombine256(), and PerformVMOVRRDCombine().
Definition at line 381 of file DAGCombiner.cpp.
References llvm::X86II::DC.
| SDValue TargetLowering::DAGCombinerInfo::CombineTo | ( | SDNode * | N, |
| SDValue | Res0, | ||
| SDValue | Res1, | ||
| bool | AddTo = true |
||
| ) |
Definition at line 387 of file DAGCombiner.cpp.
References llvm::X86II::DC.
| void TargetLowering::DAGCombinerInfo::CommitTargetLoweringOpt | ( | const TargetLoweringOpt & | TLO | ) |
Definition at line 392 of file DAGCombiner.cpp.
References llvm::X86II::DC.
Referenced by PerformBTCombine(), and PerformSELECTCombine().
| CombineLevel llvm::TargetLowering::DAGCombinerInfo::getDAGCombineLevel | ( | ) | [inline] |
Definition at line 1820 of file TargetLowering.h.
References Level.
Referenced by llvm::PPCTargetLowering::PerformDAGCombine().
| bool llvm::TargetLowering::DAGCombinerInfo::isAfterLegalizeVectorOps | ( | ) | const [inline] |
Definition at line 1817 of file TargetLowering.h.
References llvm::AfterLegalizeDAG, and Level.
| bool llvm::TargetLowering::DAGCombinerInfo::isBeforeLegalize | ( | ) | const [inline] |
Definition at line 1815 of file TargetLowering.h.
References llvm::BeforeLegalizeTypes, and Level.
Referenced by AddCombineTo64bitMLAL(), AddCombineToVPADDL(), CombineBaseUpdate(), performADDECombine(), PerformBTCombine(), PerformCMOVCombine(), PerformMULCombine(), PerformMulCombine(), PerformSELECTCombine(), PerformShuffleCombine(), performSUBECombine(), and llvm::TargetLowering::SimplifySetCC().
| bool llvm::TargetLowering::DAGCombinerInfo::isBeforeLegalizeOps | ( | ) | const [inline] |
Definition at line 1816 of file TargetLowering.h.
References llvm::AfterLegalizeVectorOps, and Level.
Referenced by performADDCombine(), performANDCombine(), PerformAndCombine(), PerformBTCombine(), PerformCMOVCombine(), performDivRemCombine(), PerformLOADCombine(), performORCombine(), PerformOrCombine(), performSELECTCombine(), PerformSELECTCombine(), PerformSExtCombine(), PerformXorCombine(), llvm::TargetLowering::SimplifySetCC(), and XFormVExtractWithShuffleIntoLoad().
| bool llvm::TargetLowering::DAGCombinerInfo::isCalledByLegalizer | ( | ) | const [inline] |
Definition at line 1821 of file TargetLowering.h.
References CalledByLegalizer.
Referenced by CombineBaseUpdate(), PerformMULCombine(), PerformMulCombine(), and llvm::TargetLowering::SimplifySetCC().
| void TargetLowering::DAGCombinerInfo::RemoveFromWorklist | ( | SDNode * | N | ) |
Definition at line 371 of file DAGCombiner.cpp.
References llvm::X86II::DC.
Referenced by PerformVMOVRRDCombine().
Definition at line 1808 of file TargetLowering.h.
Referenced by isCalledByLegalizer().
Definition at line 1810 of file TargetLowering.h.
Referenced by AddCombineTo64bitMLAL(), AddCombineToVPADDL(), CombineBaseUpdate(), combineSelectAndUse(), CombineVLDDUP(), PerformANDCombine(), PerformBFICombine(), PerformBUILD_VECTORCombine(), llvm::MipsSETargetLowering::PerformDAGCombine(), llvm::R600TargetLowering::PerformDAGCombine(), llvm::SITargetLowering::PerformDAGCombine(), llvm::MipsTargetLowering::PerformDAGCombine(), llvm::ARMTargetLowering::PerformDAGCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), llvm::X86TargetLowering::PerformDAGCombine(), PerformInsertEltCombine(), PerformMULCombine(), PerformORCombine(), PerformSRACombine(), PerformSTORECombine(), PerformVCVTCombine(), PerformVDIVCombine(), PerformVDUPLANECombine(), PerformVMOVRRDCombine(), PerformVMULCombine(), PerformXORCombine(), llvm::TargetLowering::SimplifySetCC(), tryCombineToBFI(), tryCombineToEXTR(), and tryCombineToLargerBFI().
Definition at line 1806 of file TargetLowering.h.
Referenced by AddToWorklist().
Definition at line 1807 of file TargetLowering.h.
Referenced by getDAGCombineLevel(), isAfterLegalizeVectorOps(), isBeforeLegalize(), and isBeforeLegalizeOps().