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 2037 of file TargetLowering.h.
llvm::TargetLowering::DAGCombinerInfo::DAGCombinerInfo | ( | SelectionDAG & | dag, |
CombineLevel | level, | ||
bool | cl, | ||
void * | dc | ||
) | [inline] |
Definition at line 2044 of file TargetLowering.h.
void TargetLowering::DAGCombinerInfo::AddToWorklist | ( | SDNode * | N | ) |
Definition at line 431 of file DAGCombiner.cpp.
References DC.
Referenced by combineX86ShuffleChain(), PerformARMBUILD_VECTORCombine(), PerformBUILD_VECTORCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformInsertEltCombine(), PerformSELECTCombine(), PerformSTORECombine(), PerformTargetShuffleCombine(), and llvm::TargetLowering::SimplifySetCC().
SDValue TargetLowering::DAGCombinerInfo::CombineTo | ( | SDNode * | N, |
const std::vector< SDValue > & | To, | ||
bool | AddTo = true |
||
) |
Definition at line 440 of file DAGCombiner.cpp.
Referenced by CombineBaseUpdate(), combineRedundantHalfShuffle(), CombineVLDDUP(), combineX86ShuffleChain(), PerformANDCombine(), performBRCONDCombine(), PerformCMOVCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformLOADCombine(), PerformMULCombine(), PerformMulCombine(), performNEONPostLDSTCombine(), PerformORCombine(), performPostLD1Combine(), PerformShuffleCombine256(), PerformTargetShuffleCombine(), and PerformVMOVRRDCombine().
Definition at line 445 of file DAGCombiner.cpp.
SDValue TargetLowering::DAGCombinerInfo::CombineTo | ( | SDNode * | N, |
SDValue | Res0, | ||
SDValue | Res1, | ||
bool | AddTo = true |
||
) |
Definition at line 451 of file DAGCombiner.cpp.
Definition at line 456 of file DAGCombiner.cpp.
Referenced by PerformBTCombine(), llvm::SITargetLowering::PerformDAGCombine(), llvm::AMDGPUTargetLowering::PerformDAGCombine(), PerformSELECTCombine(), and simplifyI24().
Definition at line 2052 of file TargetLowering.h.
References Level.
Referenced by llvm::SITargetLowering::PerformDAGCombine().
bool llvm::TargetLowering::DAGCombinerInfo::isAfterLegalizeVectorOps | ( | ) | const [inline] |
Definition at line 2049 of file TargetLowering.h.
References llvm::AfterLegalizeDAG.
bool llvm::TargetLowering::DAGCombinerInfo::isBeforeLegalize | ( | ) | const [inline] |
Definition at line 2047 of file TargetLowering.h.
References llvm::BeforeLegalizeTypes.
Referenced by AddCombineTo64bitMLAL(), AddCombineToVPADDL(), CombineBaseUpdate(), performADDECombine(), PerformBTCombine(), PerformCMOVCombine(), llvm::SITargetLowering::PerformDAGCombine(), llvm::AMDGPUTargetLowering::PerformDAGCombine(), PerformMULCombine(), PerformMulCombine(), performNEONPostLDSTCombine(), PerformSELECTCombine(), PerformShuffleCombine(), performSTORECombine(), performSUBECombine(), and llvm::TargetLowering::SimplifySetCC().
bool llvm::TargetLowering::DAGCombinerInfo::isBeforeLegalizeOps | ( | ) | const [inline] |
Definition at line 2048 of file TargetLowering.h.
References llvm::AfterLegalizeVectorOps.
Referenced by performADDCombine(), performAddSubLongCombine(), performANDCombine(), PerformAndCombine(), performBitcastCombine(), PerformBTCombine(), PerformCMOVCombine(), performConcatVectorsCombine(), llvm::R600TargetLowering::PerformDAGCombine(), llvm::SITargetLowering::PerformDAGCombine(), llvm::AMDGPUTargetLowering::PerformDAGCombine(), performDivRemCombine(), performExtendCombine(), PerformLOADCombine(), performMulCombine(), performORCombine(), PerformOrCombine(), performPostLD1Combine(), performSELECTCombine(), PerformSELECTCombine(), PerformSExtCombine(), PerformShuffleCombine(), performXorCombine(), PerformXorCombine(), llvm::TargetLowering::SimplifySetCC(), tryCombineFixedPointConvert(), tryCombineLongOpWithDup(), and XFormVExtractWithShuffleIntoLoad().
bool llvm::TargetLowering::DAGCombinerInfo::isCalledByLegalizer | ( | ) | const [inline] |
Definition at line 2053 of file TargetLowering.h.
References CalledByLegalizer.
Referenced by CombineBaseUpdate(), PerformMULCombine(), PerformMulCombine(), performNEONPostLDSTCombine(), and llvm::TargetLowering::SimplifySetCC().
Definition at line 435 of file DAGCombiner.cpp.
Definition at line 2040 of file TargetLowering.h.
Referenced by isCalledByLegalizer().
Definition at line 2042 of file TargetLowering.h.
Referenced by AddCombineTo64bitMLAL(), AddCombineToVPADDL(), CombineBaseUpdate(), combineSelectAndUse(), CombineVLDDUP(), PerformADDCombineWithOperands(), PerformANDCombine(), PerformARMBUILD_VECTORCombine(), PerformBFICombine(), PerformBUILD_VECTORCombine(), llvm::R600TargetLowering::PerformDAGCombine(), llvm::MipsSETargetLowering::PerformDAGCombine(), llvm::SITargetLowering::PerformDAGCombine(), llvm::AMDGPUTargetLowering::PerformDAGCombine(), llvm::AArch64TargetLowering::PerformDAGCombine(), llvm::SystemZTargetLowering::PerformDAGCombine(), llvm::MipsTargetLowering::PerformDAGCombine(), llvm::ARMTargetLowering::PerformDAGCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformInsertEltCombine(), performIntrinsicCombine(), PerformMULCombine(), performORCombine(), PerformORCombine(), performPostLD1Combine(), PerformSTORECombine(), PerformVCVTCombine(), PerformVDIVCombine(), PerformVDUPLANECombine(), PerformVMOVRRDCombine(), PerformVMULCombine(), PerformXORCombine(), simplifyI24(), llvm::TargetLowering::SimplifySetCC(), tryCombineToBSL(), tryCombineToEXTR(), and TryMULWIDECombine().
Definition at line 2038 of file TargetLowering.h.
Referenced by AddToWorklist().
Definition at line 2039 of file TargetLowering.h.
Referenced by getDAGCombineLevel().