diff options
author | Snehasish Kumar <snehasishk@google.com> | 2022-01-31 14:15:36 -0800 |
---|---|---|
committer | Snehasish Kumar <snehasishk@google.com> | 2022-01-31 15:04:42 -0800 |
commit | 186dcd4aab77f45552252a3b17cd16a6d8b32233 (patch) | |
tree | 6405a7dc187c46dbc0ad1a38e1f1a1a394243441 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 8306968b592d942cc49bde2e387061e673a9fbb7 (diff) | |
download | llvm-186dcd4aab77f45552252a3b17cd16a6d8b32233.zip llvm-186dcd4aab77f45552252a3b17cd16a6d8b32233.tar.gz llvm-186dcd4aab77f45552252a3b17cd16a6d8b32233.tar.bz2 |
[instrprof][NFC] Refactor out the common logic for getProfileKind.
The logic for getProfileKind for RawInstrProfReader and
InstrProfReaderIndex is similar. To avoid duplication, move the logic
from the header to InstrProfReader.cpp and introduce a static method
which implements the common code.
Differential Revision: https://reviews.llvm.org/D118656
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions