struct TargetLowering::TargetLoweringOpt
Declaration
struct TargetLowering::TargetLoweringOpt { /* full declaration omitted */ };
Description
A convenience struct that encapsulates a DAG, and two SDValues for returning information from TargetLowering to its clients that want to combine.
Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3066
Member Variables
- public llvm::SelectionDAG& DAG
- public bool LegalTys
- public bool LegalOps
- public llvm::SDValue Old
- public llvm::SDValue New
Method Overview
- public bool CombineTo(llvm::SDValue O, llvm::SDValue N)
- public bool LegalOperations() const
- public bool LegalTypes() const
- public TargetLoweringOpt(llvm::SelectionDAG & InDAG, bool LT, bool LO)
Methods
¶bool CombineTo(llvm::SDValue O, llvm::SDValue N)
bool CombineTo(llvm::SDValue O, llvm::SDValue N)
Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3080
Parameters
¶bool LegalOperations() const
bool LegalOperations() const
Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3078
¶bool LegalTypes() const
bool LegalTypes() const
Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3077
¶TargetLoweringOpt(llvm::SelectionDAG& InDAG,
bool LT,
bool LO)
TargetLoweringOpt(llvm::SelectionDAG& InDAG,
bool LT,
bool LO)
Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:3073
Parameters
- llvm::SelectionDAG& InDAG
- bool LT
- bool LO