|
LLVM
4.0.0
|
These are IR-level optimization flags that may be propagated to SDNodes. More...
#include <SelectionDAGNodes.h>
Public Member Functions | |
| SDNodeFlags () | |
| Default constructor turns off all optimization flags. More... | |
| void | setNoUnsignedWrap (bool b) |
| void | setNoSignedWrap (bool b) |
| void | setExact (bool b) |
| void | setUnsafeAlgebra (bool b) |
| void | setNoNaNs (bool b) |
| void | setNoInfs (bool b) |
| void | setNoSignedZeros (bool b) |
| void | setAllowReciprocal (bool b) |
| void | setVectorReduction (bool b) |
| bool | hasNoUnsignedWrap () const |
| bool | hasNoSignedWrap () const |
| bool | hasExact () const |
| bool | hasUnsafeAlgebra () const |
| bool | hasNoNaNs () const |
| bool | hasNoInfs () const |
| bool | hasNoSignedZeros () const |
| bool | hasAllowReciprocal () const |
| bool | hasVectorReduction () const |
| void | intersectWith (const SDNodeFlags *Flags) |
| Clear any flags in this flag set that aren't also set in Flags. More... | |
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 342 of file SelectionDAGNodes.h.
|
inline |
Default constructor turns off all optimization flags.
Definition at line 356 of file SelectionDAGNodes.h.
|
inline |
Definition at line 387 of file SelectionDAGNodes.h.
|
inline |
Definition at line 382 of file SelectionDAGNodes.h.
Referenced by llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 385 of file SelectionDAGNodes.h.
|
inline |
Definition at line 384 of file SelectionDAGNodes.h.
|
inline |
Definition at line 381 of file SelectionDAGNodes.h.
Referenced by promoteExtBeforeAdd(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 386 of file SelectionDAGNodes.h.
Referenced by combineFneg(), and isNegatibleForFree().
|
inline |
Definition at line 380 of file SelectionDAGNodes.h.
Referenced by promoteExtBeforeAdd(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 383 of file SelectionDAGNodes.h.
|
inline |
Definition at line 388 of file SelectionDAGNodes.h.
Referenced by combineAdd().
|
inline |
Clear any flags in this flag set that aren't also set in Flags.
Definition at line 391 of file SelectionDAGNodes.h.
|
inline |
Definition at line 376 of file SelectionDAGNodes.h.
|
inline |
Definition at line 371 of file SelectionDAGNodes.h.
Referenced by BuildExactSDIV(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 374 of file SelectionDAGNodes.h.
|
inline |
Definition at line 373 of file SelectionDAGNodes.h.
|
inline |
Definition at line 370 of file SelectionDAGNodes.h.
Referenced by promoteExtBeforeAdd(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 375 of file SelectionDAGNodes.h.
|
inline |
Definition at line 369 of file SelectionDAGNodes.h.
Referenced by llvm::TargetLowering::LowerCallTo(), promoteExtBeforeAdd(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 372 of file SelectionDAGNodes.h.
|
inline |
Definition at line 377 of file SelectionDAGNodes.h.
1.8.6