File tree Expand file tree Collapse file tree 12 files changed +12
-12
lines changed
utils/bazel/llvm-project-overlay/mlir Expand file tree Collapse file tree 12 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #ifndef MLIR_TRANSFORMS_TOPOLOGICALSORTUTILS_H
10
- #define MLIR_TRANSFORMS_TOPOLOGICALSORTUTILS_H
9
+ #ifndef MLIR_ANALYSIS_TOPOLOGICALSORTUTILS_H
10
+ #define MLIR_ANALYSIS_TOPOLOGICALSORTUTILS_H
11
11
12
12
#include " mlir/IR/Block.h"
13
13
@@ -106,4 +106,4 @@ bool computeTopologicalSorting(
106
106
107
107
} // end namespace mlir
108
108
109
- #endif // MLIR_TRANSFORMS_TOPOLOGICALSORTUTILS_H
109
+ #endif // MLIR_ANALYSIS_TOPOLOGICALSORTUTILS_H
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ set(LLVM_OPTIONAL_SOURCES
6
6
Liveness.cpp
7
7
CFGLoopInfo.cpp
8
8
SliceAnalysis.cpp
9
+ TopologicalSortUtils.cpp
9
10
10
11
AliasAnalysis/LocalAliasAnalysis.cpp
11
12
@@ -28,6 +29,7 @@ add_mlir_library(MLIRAnalysis
28
29
Liveness.cpp
29
30
CFGLoopInfo.cpp
30
31
SliceAnalysis.cpp
32
+ TopologicalSortUtils.cpp
31
33
32
34
AliasAnalysis/LocalAliasAnalysis.cpp
33
35
Original file line number Diff line number Diff line change 1
- // ===- TopologicalSortUtils.h - Topological sort utilities ------*- C++ -* -===//
1
+ // ===- TopologicalSortUtils.cpp - Topological sort utilities ------------- -===//
2
2
//
3
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
// See https://llvm.org/LICENSE.txt for license information.
5
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " mlir/Transforms /TopologicalSortUtils.h"
9
+ #include " mlir/Analysis /TopologicalSortUtils.h"
10
10
#include " mlir/IR/OpDefinition.h"
11
11
12
12
using namespace mlir ;
Original file line number Diff line number Diff line change 8
8
9
9
#include " mlir/Transforms/Passes.h"
10
10
11
+ #include " mlir/Analysis/TopologicalSortUtils.h"
11
12
#include " mlir/IR/RegionKindInterface.h"
12
- #include " mlir/Transforms/TopologicalSortUtils.h"
13
13
14
14
namespace mlir {
15
15
#define GEN_PASS_DEF_TOPOLOGICALSORT
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ add_mlir_library(MLIRTransformUtils
10
10
LoopInvariantCodeMotionUtils.cpp
11
11
OneToNTypeConversion.cpp
12
12
RegionUtils.cpp
13
- TopologicalSortUtils.cpp
14
13
15
14
ADDITIONAL_HEADER_DIRS
16
15
${MLIR_MAIN_INCLUDE_DIR} /mlir/Transforms
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " mlir/Transforms/RegionUtils.h"
10
+ #include " mlir/Analysis/TopologicalSortUtils.h"
10
11
#include " mlir/IR/Block.h"
11
12
#include " mlir/IR/IRMapping.h"
12
13
#include " mlir/IR/Operation.h"
15
16
#include " mlir/IR/Value.h"
16
17
#include " mlir/Interfaces/ControlFlowInterfaces.h"
17
18
#include " mlir/Interfaces/SideEffectInterfaces.h"
18
- #include " mlir/Transforms/TopologicalSortUtils.h"
19
19
20
20
#include " llvm/ADT/DepthFirstIterator.h"
21
21
#include " llvm/ADT/PostOrderIterator.h"
Original file line number Diff line number Diff line change 8
8
9
9
#include " mlir/Transforms/ViewOpGraph.h"
10
10
11
+ #include " mlir/Analysis/TopologicalSortUtils.h"
11
12
#include " mlir/IR/Block.h"
12
13
#include " mlir/IR/BuiltinTypes.h"
13
14
#include " mlir/IR/Operation.h"
14
15
#include " mlir/Pass/Pass.h"
15
16
#include " mlir/Support/IndentedOstream.h"
16
- #include " mlir/Transforms/TopologicalSortUtils.h"
17
17
#include " llvm/Support/Format.h"
18
18
#include " llvm/Support/GraphWriter.h"
19
19
#include < map>
File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ add_mlir_library(MLIRTestAnalysis
10
10
TestMemRefDependenceCheck.cpp
11
11
TestMemRefStrideCalculation.cpp
12
12
TestSlice.cpp
13
+ TestTopologicalSort.cpp
13
14
14
15
DataFlow/TestDeadCodeAnalysis.cpp
15
16
DataFlow/TestDenseBackwardDataFlowAnalysis.cpp
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
+ #include " mlir/Analysis/TopologicalSortUtils.h"
9
10
#include " mlir/IR/Builders.h"
10
11
#include " mlir/IR/BuiltinOps.h"
11
12
#include " mlir/Pass/Pass.h"
12
- #include " mlir/Transforms/TopologicalSortUtils.h"
13
13
14
14
using namespace mlir ;
15
15
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ add_mlir_library(MLIRTestTransforms
26
26
TestInlining.cpp
27
27
TestIntRangeInference.cpp
28
28
TestMakeIsolatedFromAbove.cpp
29
- TestTopologicalSort.cpp
30
29
${MLIRTestTransformsPDLSrc}
31
30
32
31
EXCLUDE_FROM_LIBMLIR
Original file line number Diff line number Diff line change @@ -7579,7 +7579,6 @@ cc_library(
7579
7579
"include/mlir/Transforms/LoopInvariantCodeMotionUtils.h" ,
7580
7580
"include/mlir/Transforms/OneToNTypeConversion.h" ,
7581
7581
"include/mlir/Transforms/RegionUtils.h" ,
7582
- "include/mlir/Transforms/TopologicalSortUtils.h" ,
7583
7582
],
7584
7583
includes = ["include" ],
7585
7584
deps = [
You can’t perform that action at this time.
0 commit comments