Skip to content

Commit 8dbfe3c

Browse files
committed
rename to SliceWalk.*
1 parent 6e19a0d commit 8dbfe3c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

mlir/include/mlir/IR/SliceSupport.h renamed to mlir/include/mlir/IR/SliceWalk.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
//===- SliceSupport.h - Helpers for performing IR slicing -------*- C++ -*-===//
1+
//===- SliceWalk.h - Helpers for performing IR slice walks ---*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef MLIR_IR_SLICESUPPORT_H
10-
#define MLIR_IR_SLICESUPPORT_H
9+
#ifndef MLIR_IR_SLICEWALK_IR
10+
#define MLIR_IR_SLICEWALK_IR
1111

1212
#include "mlir/IR/ValueRange.h"
1313

@@ -96,4 +96,4 @@ std::optional<SmallVector<Value>> getControlFlowPredecessors(Value value);
9696

9797
} // namespace mlir
9898

99-
#endif // MLIR_IR_SLICESUPPORT_H
99+
#endif // MLIR_IR_SLICEWALK_IR

mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "mlir/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.h"
1515
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
1616
#include "mlir/IR/Matchers.h"
17-
#include "mlir/IR/SliceSupport.h"
17+
#include "mlir/IR/SliceWalk.h"
1818
#include "mlir/Interfaces/DataLayoutInterfaces.h"
1919
#include "mlir/Transforms/InliningUtils.h"
2020
#include "llvm/ADT/ScopeExit.h"

mlir/lib/IR/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ add_mlir_library(MLIRIR
3232
PatternMatch.cpp
3333
Region.cpp
3434
RegionKindInterface.cpp
35-
SliceSupport.cpp
35+
SliceWalk.cpp
3636
SymbolTable.cpp
3737
TensorEncoding.cpp
3838
Types.cpp

mlir/lib/IR/SliceSupport.cpp renamed to mlir/lib/IR/SliceWalk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "mlir/IR/SliceSupport.h"
1+
#include "mlir/IR/SliceWalk.h"
22
#include "mlir/Interfaces/ControlFlowInterfaces.h"
33

44
using namespace mlir;

0 commit comments

Comments
 (0)