|
LLVM
10.0.0
|
These are IR-level optimization flags that may be propagated to SDNodes. More...
#include "llvm/CodeGen/SelectionDAGNodes.h"
These are IR-level optimization flags that may be propagated to SDNodes.
TODO: This data structure should be shared by the IR optimizer and the the backend.
Definition at line 357 of file SelectionDAGNodes.h.
|
inline |
Default constructor turns off all optimization flags.
Definition at line 385 of file SelectionDAGNodes.h.
|
inline |
Propagate the fast-math-flags from an IR FPMathOperator.
Definition at line 393 of file SelectionDAGNodes.h.
References llvm::FPMathOperator::hasAllowContract(), llvm::FPMathOperator::hasAllowReassoc(), llvm::FPMathOperator::hasAllowReciprocal(), llvm::FPMathOperator::hasApproxFunc(), llvm::FPMathOperator::hasNoInfs(), llvm::FPMathOperator::hasNoNaNs(), and llvm::FPMathOperator::hasNoSignedZeros().
Referenced by isVectorReductionOp().
|
inline |
Definition at line 467 of file SelectionDAGNodes.h.
References llvm::bitc::AllowContract.
Referenced by llvm::InstrEmitter::EmitDbgLabel(), isClampZeroToOne(), and isContractable().
|
inline |
Definition at line 469 of file SelectionDAGNodes.h.
Referenced by llvm::InstrEmitter::EmitDbgLabel(), isContractable(), and llvm::SelectionDAG::matchBinOpReduction().
|
inline |
Definition at line 465 of file SelectionDAGNodes.h.
References llvm::bitc::AllowReciprocal.
Referenced by llvm::InstrEmitter::EmitDbgLabel().
|
inline |
Definition at line 468 of file SelectionDAGNodes.h.
Referenced by CanCombineFCOPYSIGN_EXTEND_ROUND(), and llvm::InstrEmitter::EmitDbgLabel().
|
inline |
Definition at line 461 of file SelectionDAGNodes.h.
Referenced by llvm::TargetLowering::BuildSDIV(), combineShiftOfShiftedLogic(), llvm::InstrEmitter::EmitDbgLabel(), llvm::TargetLowering::SimplifyDemandedBits(), and simplifyDivRem().
|
inline |
Definition at line 470 of file SelectionDAGNodes.h.
Referenced by llvm::InstrEmitter::EmitDbgLabel(), and isCalleeLoad().
|
inline |
Definition at line 463 of file SelectionDAGNodes.h.
References llvm::bitc::NoInfs.
Referenced by CanCombineFCOPYSIGN_EXTEND_ROUND(), and llvm::InstrEmitter::EmitDbgLabel().
|
inline |
Definition at line 462 of file SelectionDAGNodes.h.
References llvm::bitc::NoNaNs.
Referenced by CanCombineFCOPYSIGN_EXTEND_ROUND(), combineFMinNumFMaxNum(), llvm::createR600ISelDag(), llvm::InstrEmitter::EmitDbgLabel(), getReductionSDNode(), isContractable(), and llvm::SelectionDAG::isKnownNeverNaN().
|
inline |
Definition at line 460 of file SelectionDAGNodes.h.
Referenced by llvm::InstrEmitter::EmitDbgLabel(), EmitTest(), promoteExtBeforeAdd(), llvm::TargetLowering::SimplifyDemandedBits(), and tryFoldToZero().
|
inline |
Definition at line 464 of file SelectionDAGNodes.h.
References llvm::bitc::NoSignedZeros.
Referenced by CanCombineFCOPYSIGN_EXTEND_ROUND(), combineFneg(), llvm::InstrEmitter::EmitDbgLabel(), FoldIntToFPToInt(), llvm::TargetLowering::getNegatedExpression(), isContractable(), llvm::TargetLowering::isNegatibleForFree(), llvm::SelectionDAG::matchBinOpReduction(), and llvm::AMDGPUTargetLowering::mayIgnoreSignedZero().
|
inline |
Definition at line 459 of file SelectionDAGNodes.h.
Referenced by llvm::InstrEmitter::EmitDbgLabel(), findMemSDNode(), getSPDenormModeValue(), promoteExtBeforeAdd(), llvm::TargetLowering::SimplifyDemandedBits(), and tryFoldToZero().
|
inline |
Definition at line 466 of file SelectionDAGNodes.h.
Referenced by combineAdd().
|
inline |
Clear any flags in this flag set that aren't also set in Flags.
If the given Flags are undefined then don't do anything.
Definition at line 479 of file SelectionDAGNodes.h.
References llvm::bitc::AllowContract, llvm::bitc::AllowReciprocal, isDefined(), llvm::bitc::NoInfs, llvm::bitc::NoNaNs, and llvm::bitc::NoSignedZeros.
Referenced by llvm::SDNode::intersectFlagsWith().
|
inline |
Returns true if the flags are in a defined state.
Definition at line 406 of file SelectionDAGNodes.h.
Referenced by llvm::createR600ISelDag(), and intersectWith().
|
inline |
Definition at line 472 of file SelectionDAGNodes.h.
References llvm::bitc::AllowContract, llvm::bitc::AllowReciprocal, llvm::bitc::NoInfs, llvm::bitc::NoNaNs, and llvm::bitc::NoSignedZeros.
Referenced by llvm::SDNode::isFast().
|
inline |
Definition at line 441 of file SelectionDAGNodes.h.
References llvm::bitc::AllowContract.
|
inline |
Definition at line 449 of file SelectionDAGNodes.h.
Referenced by getEstimate().
|
inline |
Definition at line 433 of file SelectionDAGNodes.h.
References llvm::bitc::AllowReciprocal.
|
inline |
Definition at line 445 of file SelectionDAGNodes.h.
|
inline |
Sets the state of the flags to the defined state.
Definition at line 404 of file SelectionDAGNodes.h.
|
inline |
Definition at line 417 of file SelectionDAGNodes.h.
Referenced by BuildExactSDIV(), isVectorReductionOp(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 453 of file SelectionDAGNodes.h.
Referenced by isCalleeLoad(), and llvm::SelectionDAGISel::SelectCodeCommon().
|
inline |
Definition at line 425 of file SelectionDAGNodes.h.
References llvm::bitc::NoInfs.
Referenced by truncateScalarIntegerArg().
|
inline |
Definition at line 421 of file SelectionDAGNodes.h.
References llvm::bitc::NoNaNs.
Referenced by truncateScalarIntegerArg().
|
inline |
Definition at line 413 of file SelectionDAGNodes.h.
Referenced by isVectorReductionOp(), promoteExtBeforeAdd(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 429 of file SelectionDAGNodes.h.
References llvm::bitc::NoSignedZeros.
|
inline |
Definition at line 409 of file SelectionDAGNodes.h.
Referenced by llvm::SelectionDAG::getObjectPtrOffset(), getSPDenormModeValue(), isVectorReductionOp(), promoteExtBeforeAdd(), llvm::TargetLowering::SimplifyDemandedBits(), and widenCtPop().
|
inline |
Definition at line 437 of file SelectionDAGNodes.h.
Referenced by combineLoopMAddPattern(), combineLoopSADPattern(), and isVectorReductionOp().
1.8.13