commit | 50b691de429a0bbb4b272e87d58070bbae237f2a | [log] [tgz] |
---|---|---|
author | Xinliang David Li <davidxl@google.com> | Wed Oct 28 04:20:31 2015 +0000 |
committer | Xinliang David Li <davidxl@google.com> | Wed Oct 28 04:20:31 2015 +0000 |
tree | c074afac559742d426520934556c66e52570484e | |
parent | 1d1d5f60906cc89e0e46dbd51e85f622dc806a65 [diff] |
[PGO] Indexed Prof Reader refactoring (NFC) Change InstrProfReaderIndex from typedef into a wrapper class with helper methods. This makes the index profile reader code more readable. It also hides the implementation detail of the index format and make it more flexible to allow support different (or more than one) format in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251491 91177308-0d34-0410-b5e6-96231b3b80d8