LLVM 20.0.0git
|
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/CodeGen/TargetLowering.h"
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 |
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 3946 of file TargetLowering.h.
|
inlineexplicit |
Definition at line 3953 of file TargetLowering.h.
Definition at line 3960 of file TargetLowering.h.
Referenced by optimizeLogicalImm(), llvm::TargetLowering::ShrinkDemandedConstant(), llvm::TargetLowering::ShrinkDemandedOp(), llvm::TargetLowering::SimplifyDemandedBits(), llvm::X86TargetLowering::SimplifyDemandedBitsForTargetNode(), llvm::ARMTargetLowering::SimplifyDemandedBitsForTargetNode(), llvm::TargetLowering::SimplifyDemandedVectorElts(), llvm::X86TargetLowering::SimplifyDemandedVectorEltsForTargetNode(), llvm::X86TargetLowering::SimplifyDemandedVectorEltsForTargetShuffle(), llvm::ARMTargetLowering::targetShrinkDemandedConstant(), llvm::RISCVTargetLowering::targetShrinkDemandedConstant(), and llvm::X86TargetLowering::targetShrinkDemandedConstant().
|
inline |
Definition at line 3958 of file TargetLowering.h.
References LegalOps.
Referenced by combineShiftToAVG(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 3957 of file TargetLowering.h.
References LegalTys.
Referenced by combineShiftToAVG(), and llvm::TargetLowering::SimplifyDemandedBits().
SelectionDAG& llvm::TargetLowering::TargetLoweringOpt::DAG |
Definition at line 3947 of file TargetLowering.h.
Referenced by combineShiftToAVG(), optimizeLogicalImm(), llvm::TargetLowering::ShrinkDemandedConstant(), llvm::TargetLowering::ShrinkDemandedOp(), llvm::TargetLowering::SimplifyDemandedBits(), llvm::X86TargetLowering::SimplifyDemandedBitsForTargetNode(), llvm::TargetLowering::SimplifyDemandedBitsForTargetNode(), llvm::ARMTargetLowering::SimplifyDemandedBitsForTargetNode(), llvm::TargetLowering::SimplifyDemandedVectorElts(), llvm::X86TargetLowering::SimplifyDemandedVectorEltsForTargetNode(), llvm::X86TargetLowering::SimplifyDemandedVectorEltsForTargetShuffle(), llvm::ARMTargetLowering::targetShrinkDemandedConstant(), llvm::RISCVTargetLowering::targetShrinkDemandedConstant(), and llvm::X86TargetLowering::targetShrinkDemandedConstant().
bool llvm::TargetLowering::TargetLoweringOpt::LegalOps |
Definition at line 3949 of file TargetLowering.h.
Referenced by LegalOperations(), llvm::TargetLowering::SimplifyDemandedBits(), llvm::TargetLowering::SimplifyDemandedVectorElts(), llvm::AArch64TargetLowering::targetShrinkDemandedConstant(), llvm::ARMTargetLowering::targetShrinkDemandedConstant(), and llvm::RISCVTargetLowering::targetShrinkDemandedConstant().
bool llvm::TargetLowering::TargetLoweringOpt::LegalTys |
Definition at line 3948 of file TargetLowering.h.
Referenced by LegalTypes().
SDValue llvm::TargetLowering::TargetLoweringOpt::New |
Definition at line 3951 of file TargetLowering.h.
Referenced by CombineTo(), and llvm::TargetLowering::ShrinkDemandedConstant().
SDValue llvm::TargetLowering::TargetLoweringOpt::Old |
Definition at line 3950 of file TargetLowering.h.
Referenced by CombineTo().