CIRCT 24.0.0git
Loading...
Searching...
No Matches
IntRangeAnnotations.cpp File Reference
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/Comb/CombPasses.h"
#include "mlir/Analysis/DataFlow/DeadCodeAnalysis.h"
#include "mlir/Analysis/DataFlow/IntegerRangeAnalysis.h"
#include "mlir/Analysis/DataFlowFramework.h"
#include "mlir/Transforms/WalkPatternRewriteDriver.h"
#include "circt/Dialect/Comb/Passes.h.inc"
Include dependency graph for IntRangeAnnotations.cpp:

Go to the source code of this file.

Namespaces

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
namespace  circt::comb

Macros

#define GEN_PASS_DEF_COMBOVERFLOWANNOTATING

Functions

static LogicalResult collectRanges (DataFlowSolver &solver, ValueRange values, SmallVectorImpl< ConstantIntRanges > &ranges)
 Gather ranges for all the values in values.

Macro Definition Documentation

◆ GEN_PASS_DEF_COMBOVERFLOWANNOTATING

#define GEN_PASS_DEF_COMBOVERFLOWANNOTATING

Definition at line 23 of file IntRangeAnnotations.cpp.

Function Documentation

◆ collectRanges()

LogicalResult collectRanges ( DataFlowSolver & solver,
ValueRange values,
SmallVectorImpl< ConstantIntRanges > & ranges )
static

Gather ranges for all the values in values.

Appends to the existing vector.

Definition at line 30 of file IntRangeAnnotations.cpp.

References failure(), and success().