diff options
author | Michael Maitland <michaeltmaitland@gmail.com> | 2025-05-30 00:39:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-30 00:39:45 -0400 |
commit | 7454098a9ed46ca5ad310bf3ec9347eb08eba007 (patch) | |
tree | 3bb6e26269acdce13cfd804038c53540cb4386ce /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | f5d3470d425f9ee99436bfdc0c1ae1ce03bab385 (diff) | |
download | llvm-7454098a9ed46ca5ad310bf3ec9347eb08eba007.zip llvm-7454098a9ed46ca5ad310bf3ec9347eb08eba007.tar.gz llvm-7454098a9ed46ca5ad310bf3ec9347eb08eba007.tar.bz2 |
[mlir][Value] Add getNumUses, hasNUses, and hasNUsesOrMore to Value (#142084)
We already have hasOneUse. Like llvm::Value we provide helper methods to
query the number of uses of a Value. Add unittests for Value, because
that was missing.
---------
Co-authored-by: Michael Maitland <michaelmaitland@meta.com>
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions