MLIR
20.0.0git
|
#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 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 16 of file InferIntRangeInterfaceImpls.cpp.
|
static |
Definition at line 194 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 51 of file InferIntRangeInterfaceImpls.cpp.
References None.
|
static |
Definition at line 181 of file InferIntRangeInterfaceImpls.cpp.
References mlir::intrange::extSIRange(), mlir::intrange::extUIRange(), and mlir::intrange::truncRange().
Referenced by inferIndexCast().