LLVM 20.0.0git
|
Struct to control some aspects related to merging constant ranges. More...
#include "llvm/Analysis/ValueLattice.h"
Public Member Functions | |
MergeOptions () | |
MergeOptions (bool MayIncludeUndef, bool CheckWiden, unsigned MaxWidenSteps=1) | |
MergeOptions & | setMayIncludeUndef (bool V=true) |
MergeOptions & | setCheckWiden (bool V=true) |
MergeOptions & | setMaxWidenSteps (unsigned Steps=1) |
Public Attributes | |
bool | MayIncludeUndef |
The merge value may include undef. | |
bool | CheckWiden |
Handle repeatedly extending a range by going to overdefined after a number of steps. | |
unsigned | MaxWidenSteps |
The number of allowed widening steps (including setting the range initially). | |
Struct to control some aspects related to merging constant ranges.
Definition at line 111 of file ValueLattice.h.
|
inline |
Definition at line 123 of file ValueLattice.h.
|
inline |
Definition at line 125 of file ValueLattice.h.
|
inline |
Definition at line 135 of file ValueLattice.h.
References CheckWiden.
|
inline |
Definition at line 140 of file ValueLattice.h.
References CheckWiden, and MaxWidenSteps.
Referenced by getMaxWidenStepsOpts().
|
inline |
Definition at line 130 of file ValueLattice.h.
References MayIncludeUndef.
bool llvm::ValueLatticeElement::MergeOptions::CheckWiden |
Handle repeatedly extending a range by going to overdefined after a number of steps.
Definition at line 117 of file ValueLattice.h.
Referenced by setCheckWiden(), and setMaxWidenSteps().
unsigned llvm::ValueLatticeElement::MergeOptions::MaxWidenSteps |
The number of allowed widening steps (including setting the range initially).
Definition at line 121 of file ValueLattice.h.
Referenced by setMaxWidenSteps().
bool llvm::ValueLatticeElement::MergeOptions::MayIncludeUndef |
The merge value may include undef.
Definition at line 113 of file ValueLattice.h.
Referenced by setMayIncludeUndef().