diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2025-06-24 09:52:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-24 09:52:47 -0700 |
commit | f18cfb9108fda51c7c8233c32b4e2193a0a13766 (patch) | |
tree | b1a2683e015838bf02fbec181ec013e14dc59c7d /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 3bc1fc6493240b457f5b04281c28759a6ee1b6e0 (diff) | |
download | llvm-f18cfb9108fda51c7c8233c32b4e2193a0a13766.zip llvm-f18cfb9108fda51c7c8233c32b4e2193a0a13766.tar.gz llvm-f18cfb9108fda51c7c8233c32b4e2193a0a13766.tar.bz2 |
[InstrProf] Factor out getRecord() and use NamedInstrProfRecord (#145417)
Factor out code in `populateCounters()` and `populateCoverage()` used to
grab the record into `PGOUseFunc::getRecord()` to reduce code
duplication. And return `NamedInstrProfRecord` in `getInstrProfRecord()`
to avoid an unnecessary cast. No functional change is intented.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions