History log of /llvm-project/mlir/lib/Query/Matcher/RegistryManager.cpp (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0
# 884221ed 16-Sep-2024 JOE1994 <joseph942010@gmail.com>

[mlir] Tidy uses of llvm::raw_stream_ostream (NFC)

As specified in the docs,
1) raw_string_ostream is always unbuffered and
2) the underlying buffer may be used directly

( 65b13610a5226b84889b923ba

[mlir] Tidy uses of llvm::raw_stream_ostream (NFC)

As specified in the docs,
1) raw_string_ostream is always unbuffered and
2) the underlying buffer may be used directly

( 65b13610a5226b84889b923bae884ba395ad084d for further reference )

* Don't call raw_string_ostream::flush(), which is essentially a no-op.
* Avoid unneeded calls to raw_string_ostream::str(), to avoid excess indirection.

show more ...


Revision tags: llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1
# 58b44c81 03-Mar-2024 Jacques Pienaar <jpienaar@google.com>

Reapply "Reapply "[mlir-query] Add function extraction feature to mlir-query""

Fix ASAN by erasing the op extracted post printing.

This reverts commit 732a5cba8c739ed40a7280b5d74ca717910c2c4c.


# 732a5cba 03-Mar-2024 Jacques Pienaar <jpienaar@google.com>

Revert "Reapply "[mlir-query] Add function extraction feature to mlir-query""

Commit fails on sanitizers.

This reverts commit 22f34ea3b05537235956c99fe942aa95b88762c0.


# 22f34ea3 03-Mar-2024 Jacques Pienaar <jpienaar@google.com>

Reapply "[mlir-query] Add function extraction feature to mlir-query"

Fix build deps.

This reverts commit de55c2f869925a3ed7f26e168424021c6bc46799.


# de55c2f8 29-Feb-2024 Mehdi Amini <joker.eph@gmail.com>

Revert "[mlir-query] Add function extraction feature to mlir-query"

This reverts commit c66f2d0c4a46ba66fb98a2cab4e63ad90888a261.

The bot is broken.


# c66f2d0c 29-Feb-2024 Devajith Valaparambil Sreeramaswamy <devajithvs@gmail.com>

[mlir-query] Add function extraction feature to mlir-query

This enables specifying the extract modifier to extract all matches into
a function. This currently does this very directly by converting a

[mlir-query] Add function extraction feature to mlir-query

This enables specifying the extract modifier to extract all matches into
a function. This currently does this very directly by converting all
operands to function arguments (ones due to results of other matched ops
are dropped) and all results as return values.

Differential Revision: https://reviews.llvm.org/D158693

show more ...


Revision tags: llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3
# 02d9f4d1 13-Oct-2023 Devajith <devajithvs@gmail.com>

[mlir][mlir-query] Introduce mlir-query tool with autocomplete support

This commit adds the initial version of the mlir-query tool, which leverages the pre-existing matchers defined in mlir/include/

[mlir][mlir-query] Introduce mlir-query tool with autocomplete support

This commit adds the initial version of the mlir-query tool, which leverages the pre-existing matchers defined in mlir/include/mlir/IR/Matchers.h

The tool provides the following set of basic queries:

hasOpAttrName(string)
hasOpName(string)
isConstantOp()
isNegInfFloat()
isNegZeroFloat()
isNonZero()
isOne()
isOneFloat()
isPosInfFloat()
isPosZeroFloat()
isZero()
isZeroFloat()

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D155127

show more ...