MLIR  19.0.0git
Macros | Functions
InferIntRangeInterfaceImpls.cpp File Reference
#include "mlir/Dialect/Index/IR/IndexOps.h"
#include "mlir/Interfaces/InferIntRangeInterface.h"
#include "mlir/Interfaces/Utils/InferIntRangeCommon.h"
#include "llvm/Support/Debug.h"
#include <optional>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "int-range-analysis"
 

Functions

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 16 of file InferIntRangeInterfaceImpls.cpp.

Function Documentation

◆ inferIndexCast()

static ConstantIntRanges inferIndexCast ( const ConstantIntRanges range,
Type  sourceType,
Type  destType,
bool  isSigned 
)
static

◆ makeLikeDest()

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