diff options
author | Guray Ozen <guray.ozen@gmail.com> | 2022-11-16 17:23:43 +0100 |
---|---|---|
committer | Guray Ozen <guray.ozen@gmail.com> | 2022-11-16 17:53:11 +0100 |
commit | 5ce68f4284c694392238f1c8c5308d08d9a56251 (patch) | |
tree | d324ae6b86bf3da7f5a2b00b166252be140853f6 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 6f48e68d398d3dd5ffcdd9d86824cce01a6e2b3c (diff) | |
download | llvm-5ce68f4284c694392238f1c8c5308d08d9a56251.zip llvm-5ce68f4284c694392238f1c8c5308d08d9a56251.tar.gz llvm-5ce68f4284c694392238f1c8c5308d08d9a56251.tar.bz2 |
[mlir] Introduce `replaceUsesOfWith` to `RewriterBase`
Finding uses of a value and replacing them with a new one is a common method. I have not seen an safe and easy shortcut that does that. This revision attempts to address that by intoroducing `replaceUsesOfWith` to `RewriterBase`.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D138110
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions