aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSnehasish Kumar <snehasishk@google.com>2022-01-31 14:15:36 -0800
committerSnehasish Kumar <snehasishk@google.com>2022-01-31 15:04:42 -0800
commit186dcd4aab77f45552252a3b17cd16a6d8b32233 (patch)
tree6405a7dc187c46dbc0ad1a38e1f1a1a394243441 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent8306968b592d942cc49bde2e387061e673a9fbb7 (diff)
downloadllvm-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