Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions mlir/include/mlir/Analysis/DataFlow/StridedMetadataRangeAnalysis.h

This file was deleted.

1 change: 0 additions & 1 deletion mlir/include/mlir/Dialect/MemRef/IR/MemRef.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "mlir/Interfaces/CastInterfaces.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "mlir/Interfaces/InferIntRangeInterface.h"
#include "mlir/Interfaces/InferStridedMetadataInterface.h"
#include "mlir/Interfaces/InferTypeOpInterface.h"
#include "mlir/Interfaces/MemOpInterfaces.h"
#include "mlir/Interfaces/MemorySlotInterfaces.h"
Expand Down
2 changes: 0 additions & 2 deletions mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ include "mlir/Dialect/MemRef/IR/MemRefBase.td"
include "mlir/Interfaces/CastInterfaces.td"
include "mlir/Interfaces/ControlFlowInterfaces.td"
include "mlir/Interfaces/InferIntRangeInterface.td"
include "mlir/Interfaces/InferStridedMetadataInterface.td"
include "mlir/Interfaces/InferTypeOpInterface.td"
include "mlir/Interfaces/MemOpInterfaces.td"
include "mlir/Interfaces/MemorySlotInterfaces.td"
Expand Down Expand Up @@ -2086,7 +2085,6 @@ def MemRef_StoreOp : MemRef_Op<"store",

def SubViewOp : MemRef_OpWithOffsetSizesAndStrides<"subview", [
DeclareOpInterfaceMethods<OpAsmOpInterface, ["getAsmResultNames"]>,
DeclareOpInterfaceMethods<InferStridedMetadataOpInterface>,
DeclareOpInterfaceMethods<MemorySpaceCastConsumerOpInterface>,
DeclareOpInterfaceMethods<ViewLikeOpInterface>,
AttrSizedOperandSegments,
Expand Down
1 change: 0 additions & 1 deletion mlir/include/mlir/Interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ add_mlir_interface(DestinationStyleOpInterface)
add_mlir_interface(FunctionInterfaces)
add_mlir_interface(IndexingMapOpInterface)
add_mlir_interface(InferIntRangeInterface)
add_mlir_interface(InferStridedMetadataInterface)
add_mlir_interface(InferTypeOpInterface)
add_mlir_interface(LoopLikeInterface)
add_mlir_interface(MemOpInterfaces)
Expand Down
12 changes: 1 addition & 11 deletions mlir/include/mlir/Interfaces/InferIntRangeInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ class IntegerValueRange {
IntegerValueRange(ConstantIntRanges value) : value(std::move(value)) {}

/// Create an integer value range lattice value.
explicit IntegerValueRange(
std::optional<ConstantIntRanges> value = std::nullopt)
IntegerValueRange(std::optional<ConstantIntRanges> value = std::nullopt)
: value(std::move(value)) {}

/// Whether the range is uninitialized. This happens when the state hasn't
Expand Down Expand Up @@ -168,15 +167,6 @@ using SetIntRangeFn =
using SetIntLatticeFn =
llvm::function_ref<void(Value, const IntegerValueRange &)>;

/// Helper callback type to get the integer range of a value.
using GetIntRangeFn = function_ref<IntegerValueRange(Value)>;

/// Helper function to collect the integer range values of an array of op fold
/// results.
SmallVector<IntegerValueRange> getIntValueRanges(ArrayRef<OpFoldResult> values,
GetIntRangeFn getIntRange,
int32_t indexBitwidth);

class InferIntRangeInterface;

namespace intrange::detail {
Expand Down
145 changes: 0 additions & 145 deletions mlir/include/mlir/Interfaces/InferStridedMetadataInterface.h

This file was deleted.

45 changes: 0 additions & 45 deletions mlir/include/mlir/Interfaces/InferStridedMetadataInterface.td

This file was deleted.

1 change: 0 additions & 1 deletion mlir/lib/Analysis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ add_mlir_library(MLIRAnalysis
DataFlow/IntegerRangeAnalysis.cpp
DataFlow/LivenessAnalysis.cpp
DataFlow/SparseAnalysis.cpp
DataFlow/StridedMetadataRangeAnalysis.cpp

ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
Expand Down
Loading
Loading