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 108 of file ValueLattice.h.
|
inline |
Definition at line 120 of file ValueLattice.h.
|
inline |
Definition at line 122 of file ValueLattice.h.
|
inline |
Definition at line 132 of file ValueLattice.h.
References CheckWiden.
|
inline |
Definition at line 137 of file ValueLattice.h.
References CheckWiden, and MaxWidenSteps.
Referenced by getMaxWidenStepsOpts().
|
inline |
Definition at line 127 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 114 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 118 of file ValueLattice.h.
Referenced by setMaxWidenSteps().
bool llvm::ValueLatticeElement::MergeOptions::MayIncludeUndef |
The merge value may include undef.
Definition at line 110 of file ValueLattice.h.
Referenced by setMayIncludeUndef().