Skip to content

Commit af3bb15

Browse files
committed
Rename slicing matchers file to SliceMatchers.h
1 parent 03fab11 commit af3bb15

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

mlir/include/mlir/Query/Matcher/ExtraMatchers.h renamed to mlir/include/mlir/Query/Matcher/SliceMatchers.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
//===- ExtraMatchers.h - Various common matchers --------------------------===//
1+
//===- SliceMatchers.h - Matchers for slicing analysis ----------*- 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-
// This file provides matchers for MLIRQuery with more involved pattern-matching
10-
// logic.
9+
// This file provides matchers for MLIRQuery that peform slicing analysis
1110
//
1211
//===----------------------------------------------------------------------===//
1312

14-
#ifndef MLIR_TOOLS_MLIRQUERY_MATCHERS_EXTRAMATCHERS_H
15-
#define MLIR_TOOLS_MLIRQUERY_MATCHERS_EXTRAMATCHERS_H
13+
#ifndef MLIR_TOOLS_MLIRQUERY_MATCHERS_SLICEMATCHERS_H
14+
#define MLIR_TOOLS_MLIRQUERY_MATCHERS_SLICEMATCHERS_H
1615

1716
#include "mlir/Analysis/SliceAnalysis.h"
1817

@@ -139,4 +138,4 @@ inline BackwardSliceMatcher<Matcher> m_GetAllDefinitions(Matcher innerMatcher,
139138

140139
} // namespace mlir::query::matcher
141140

142-
#endif // MLIR_TOOLS_MLIRQUERY_MATCHERS_EXTRAMATCHERS_H
141+
#endif // MLIR_TOOLS_MLIRQUERY_MATCHERS_SLICEMATCHERS_H

mlir/tools/mlir-query/mlir-query.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include "mlir/IR/MLIRContext.h"
1616
#include "mlir/IR/Matchers.h"
1717
#include "mlir/InitAllDialects.h"
18-
#include "mlir/Query/Matcher/ExtraMatchers.h"
1918
#include "mlir/Query/Matcher/Registry.h"
19+
#include "mlir/Query/Matcher/SliceMatchers.h"
2020
#include "mlir/Tools/mlir-query/MlirQueryMain.h"
2121

2222
using namespace mlir;

0 commit comments

Comments
 (0)