LLVM 20.0.0git
|
These are IR-level optimization flags that may be propagated to SDNodes. More...
#include "llvm/CodeGen/SelectionDAGNodes.h"
Public Types | |
enum | : unsigned { None = 0 , NoUnsignedWrap = 1 << 0 , NoSignedWrap = 1 << 1 , NoWrap = NoUnsignedWrap | NoSignedWrap , Exact = 1 << 2 , Disjoint = 1 << 3 , NonNeg = 1 << 4 , NoNaNs = 1 << 5 , NoInfs = 1 << 6 , NoSignedZeros = 1 << 7 , AllowReciprocal = 1 << 8 , AllowContract = 1 << 9 , ApproximateFuncs = 1 << 10 , AllowReassociation = 1 << 11 , NoFPExcept = 1 << 12 , Unpredictable = 1 << 13 , SameSign = 1 << 14 , PoisonGeneratingFlags } |
Friends | |
class | SDNode |
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 381 of file SelectionDAGNodes.h.
anonymous enum : unsigned |
Definition at line 392 of file SelectionDAGNodes.h.
|
inline |
Default constructor turns off all optimization flags.
Definition at line 427 of file SelectionDAGNodes.h.
|
inline |
Propagate the fast-math-flags from an IR FPMathOperator.
Definition at line 430 of file SelectionDAGNodes.h.
References llvm::FPMathOperator::hasAllowContract(), llvm::FPMathOperator::hasAllowReassoc(), llvm::FPMathOperator::hasAllowReciprocal(), llvm::FPMathOperator::hasApproxFunc(), llvm::FPMathOperator::hasNoInfs(), llvm::FPMathOperator::hasNoNaNs(), llvm::FPMathOperator::hasNoSignedZeros(), setAllowContract(), setAllowReassociation(), setAllowReciprocal(), setApproximateFuncs(), setNoInfs(), setNoNaNs(), and setNoSignedZeros().
|
inline |
Definition at line 468 of file SelectionDAGNodes.h.
References AllowContract.
|
inline |
Definition at line 470 of file SelectionDAGNodes.h.
References AllowReassociation.
|
inline |
Definition at line 467 of file SelectionDAGNodes.h.
References AllowReciprocal.
|
inline |
Definition at line 469 of file SelectionDAGNodes.h.
References ApproximateFuncs.
|
inline |
Definition at line 461 of file SelectionDAGNodes.h.
References Disjoint.
|
inline |
Definition at line 460 of file SelectionDAGNodes.h.
References Exact.
|
inline |
Definition at line 471 of file SelectionDAGNodes.h.
References NoFPExcept.
Referenced by llvm::VPMatchContext::getRootBaseOpcode(), and llvm::VPMatchContext::match().
|
inline |
Definition at line 465 of file SelectionDAGNodes.h.
References NoInfs.
|
inline |
Definition at line 464 of file SelectionDAGNodes.h.
References NoNaNs.
|
inline |
Definition at line 463 of file SelectionDAGNodes.h.
References NonNeg.
Referenced by llvm::SelectionDAG::getNode().
|
inline |
Definition at line 459 of file SelectionDAGNodes.h.
References NoSignedWrap.
Referenced by llvm::TargetLowering::SimplifySetCC().
|
inline |
Definition at line 466 of file SelectionDAGNodes.h.
References NoSignedZeros.
Referenced by combineFneg(), and PerformFAddVSelectCombine().
|
inline |
Definition at line 458 of file SelectionDAGNodes.h.
References NoUnsignedWrap.
Referenced by llvm::TargetLowering::SimplifySetCC().
|
inline |
Definition at line 462 of file SelectionDAGNodes.h.
References SameSign.
|
inline |
Definition at line 472 of file SelectionDAGNodes.h.
References Unpredictable.
|
inline |
Definition at line 477 of file SelectionDAGNodes.h.
|
inline |
Definition at line 474 of file SelectionDAGNodes.h.
References llvm::Other.
|
inline |
Definition at line 478 of file SelectionDAGNodes.h.
|
inline |
Definition at line 451 of file SelectionDAGNodes.h.
Referenced by copyFMF(), and llvm::AMDGPUTargetLowering::lowerFEXP().
|
inline |
Definition at line 453 of file SelectionDAGNodes.h.
Referenced by copyFMF().
|
inline |
Definition at line 450 of file SelectionDAGNodes.h.
Referenced by copyFMF().
|
inline |
Definition at line 452 of file SelectionDAGNodes.h.
Referenced by copyFMF().
|
inline |
Definition at line 444 of file SelectionDAGNodes.h.
|
inline |
Definition at line 443 of file SelectionDAGNodes.h.
|
inline |
Definition at line 454 of file SelectionDAGNodes.h.
|
inline |
Definition at line 448 of file SelectionDAGNodes.h.
Referenced by copyFMF().
|
inline |
Definition at line 447 of file SelectionDAGNodes.h.
Referenced by copyFMF().
|
inline |
Definition at line 446 of file SelectionDAGNodes.h.
|
inline |
Definition at line 442 of file SelectionDAGNodes.h.
|
inline |
Definition at line 449 of file SelectionDAGNodes.h.
Referenced by copyFMF().
|
inline |
Definition at line 441 of file SelectionDAGNodes.h.
|
inline |
Definition at line 445 of file SelectionDAGNodes.h.
|
inline |
Definition at line 455 of file SelectionDAGNodes.h.
|
friend |
Definition at line 383 of file SelectionDAGNodes.h.