|
LLVM
3.7.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) |
| bool | hasNoUnsignedWrap () const |
| bool | hasNoSignedWrap () const |
| bool | hasExact () const |
| bool | hasUnsafeAlgebra () const |
| bool | hasNoNaNs () const |
| bool | hasNoInfs () const |
| bool | hasNoSignedZeros () const |
| bool | hasAllowReciprocal () const |
| unsigned | getRawFlags () const |
| Return a raw encoding of the 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 949 of file SelectionDAGNodes.h.
|
inline |
Default constructor turns off all optimization flags.
Definition at line 962 of file SelectionDAGNodes.h.
|
inline |
Return a raw encoding of the flags.
This function should only be used to add data to the NodeID value.
Definition at line 995 of file SelectionDAGNodes.h.
Referenced by AddNodeIDFlags().
|
inline |
Definition at line 991 of file SelectionDAGNodes.h.
|
inline |
Definition at line 986 of file SelectionDAGNodes.h.
Referenced by llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 989 of file SelectionDAGNodes.h.
|
inline |
Definition at line 988 of file SelectionDAGNodes.h.
|
inline |
Definition at line 985 of file SelectionDAGNodes.h.
|
inline |
Definition at line 990 of file SelectionDAGNodes.h.
|
inline |
Definition at line 984 of file SelectionDAGNodes.h.
|
inline |
Definition at line 987 of file SelectionDAGNodes.h.
|
inline |
Definition at line 981 of file SelectionDAGNodes.h.
|
inline |
Definition at line 976 of file SelectionDAGNodes.h.
Referenced by BuildExactSDIV(), and llvm::TargetLowering::SimplifyDemandedBits().
|
inline |
Definition at line 979 of file SelectionDAGNodes.h.
|
inline |
Definition at line 978 of file SelectionDAGNodes.h.
|
inline |
Definition at line 975 of file SelectionDAGNodes.h.
|
inline |
Definition at line 980 of file SelectionDAGNodes.h.
|
inline |
Definition at line 974 of file SelectionDAGNodes.h.
|
inline |
Definition at line 977 of file SelectionDAGNodes.h.
1.8.6