|
MLIR 22.0.0git
|
#include "mlir/Dialect/Index/IR/IndexOps.h"#include "mlir/Interfaces/InferIntRangeInterface.h"#include "mlir/Interfaces/Utils/InferIntRangeCommon.h"#include <optional>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) |
| #define DEBUG_TYPE "int-range-analysis" |
Definition at line 15 of file InferIntRangeInterfaceImpls.cpp.
|
static |
Definition at line 193 of file InferIntRangeInterfaceImpls.cpp.
References mlir::intrange::extRange(), mlir::ConstantIntRanges::getStorageBitwidth(), mlir::intrange::indexMinWidth, mlir::Type::isIndex(), makeLikeDest(), and mlir::ConstantIntRanges::rangeUnion().
|
static |
Definition at line 50 of file InferIntRangeInterfaceImpls.cpp.
References mlir::intrange::None.
|
static |
Definition at line 180 of file InferIntRangeInterfaceImpls.cpp.
References mlir::intrange::extSIRange(), mlir::intrange::extUIRange(), and mlir::intrange::truncRange().
Referenced by inferIndexCast().