diff options
author | Rahul Joshi <rjoshi@nvidia.com> | 2025-05-01 10:00:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-01 10:00:54 -0700 |
commit | f24606376d449fa14bc72953951c52005f590434 (patch) | |
tree | 71a69a21fa6d423a2aea154f0d6b536c89375a7b /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | acc40ed0a747ad8f5dbb93788da7ce104c36c0a3 (diff) | |
download | llvm-f24606376d449fa14bc72953951c52005f590434.zip llvm-f24606376d449fa14bc72953951c52005f590434.tar.gz llvm-f24606376d449fa14bc72953951c52005f590434.tar.bz2 |
[NFC][LLVM][CodeGen] Refactor MIR Printer (#137361)
- Move `MIPrinter` class to anonymous namespace, and remove it as a
friend of `MachineBasicBlock`.
- Move `canPredictBranchProbabilities` to `MachineBasicBlock` and change
it to use the new `BranchProbability::normalizeProbabilities` function
that accepts a range, and also to use `llvm::equal()` to check equality
of the two vectors.
- Use `ListSeparator` to print comma separate lists instead of manual
code to do that.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions