MLIR 22.0.0git
InferIntRangeInterfaceImpls.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "int-range-analysis"

Functions

static std::function< ConstantIntRanges(ArrayRef< ConstantIntRanges >)> inferWithoutOverflowFlags (InferRangeWithOvfFlagsFn inferWithOvfFn)
static ConstantIntRanges makeLikeDest (const ConstantIntRanges &range, unsigned srcWidth, unsigned destWidth, bool isSigned)
static ConstantIntRanges inferIndexCast (const ConstantIntRanges &range, Type sourceType, Type destType, bool isSigned)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "int-range-analysis"

Definition at line 15 of file InferIntRangeInterfaceImpls.cpp.

Function Documentation

◆ inferIndexCast()

◆ inferWithoutOverflowFlags()

std::function< ConstantIntRanges(ArrayRef< ConstantIntRanges >)> inferWithoutOverflowFlags ( InferRangeWithOvfFlagsFn inferWithOvfFn)
static

Definition at line 50 of file InferIntRangeInterfaceImpls.cpp.

References mlir::intrange::None.

◆ makeLikeDest()

ConstantIntRanges makeLikeDest ( const ConstantIntRanges & range,
unsigned srcWidth,
unsigned destWidth,
bool isSigned )
static