Revision tags: llvmorg-21-init |
|
#
c70f2462 |
| 16-Jan-2025 |
Mircea Trofin <mtrofin@google.com> |
[ctxprof] add `toYAML` conversion to llvm-ctxprof-utils (#123131)
Also modified test file to match "toYaml" formatting.
|
Revision tags: llvmorg-19.1.7 |
|
#
63293558 |
| 11-Jan-2025 |
Mircea Trofin <mtrofin@google.com> |
[ctxprof] Move test serialization to yaml (#122545)
We have a textual representation of contextual profiles for test scenarios, mainly. This patch moves that to YAML instead of JSON. YAML is more su
[ctxprof] Move test serialization to yaml (#122545)
We have a textual representation of contextual profiles for test scenarios, mainly. This patch moves that to YAML instead of JSON. YAML is more succinct and readable (some of the .ll tests should be illustrative). In addition, JSON is parse-able by the YAML reader.
A subsequent patch will address deserialization.
(thanks, @kazutakahirata, for showing me how to use the llvm YAML reader/writer APIs, which I incorrectly thought to be more low-level than the JSON ones!)
show more ...
|
#
37f42cfb |
| 10-Jan-2025 |
Mircea Trofin <mtrofin@google.com> |
[nfc] Update header in llvm-ctxprof-utils (#122544)
|
Revision tags: llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1 |
|
#
0de1e3e7 |
| 24-Sep-2024 |
Zibi Sarbinowski <zibi@ca.ibm.com> |
[;SystemZ][z/OS] Fix llvm-ctxprof to open input files in text mode (#109691)
Reading text files on z/OS relies on auto conversion to handle
ASCII/EBCDIC correctly. For this to work files need to be
[;SystemZ][z/OS] Fix llvm-ctxprof to open input files in text mode (#109691)
Reading text files on z/OS relies on auto conversion to handle
ASCII/EBCDIC correctly. For this to work files need to be opened in text
mode is that is the type of the file. This PR fixes `llvm-ctxprof`
utility in this regards which in turn fixes the following LIT failure on
z/OS:
`FAIL: LLVM :: Analysis/CtxProfAnalysis/flatten-zero-path.ll`
show more ...
|
Revision tags: llvmorg-19.1.0, llvmorg-19.1.0-rc4 |
|
#
1022323c |
| 27-Aug-2024 |
Mircea Trofin <mtrofin@google.com> |
[ctx_prof] Move the "from json" logic more centrally to reuse it from test. (#106129)
Making the synthesis of a contextual profile file from a JSON descriptor more reusable, for unittest authoring p
[ctx_prof] Move the "from json" logic more centrally to reuse it from test. (#106129)
Making the synthesis of a contextual profile file from a JSON descriptor more reusable, for unittest authoring purposes.
The functionality round-trips through the binary format - no reason, currently, to support other ways of loading contextual profiles.
show more ...
|
Revision tags: llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2 |
|
#
7f3dcf4b |
| 26-Jul-2024 |
Mircea Trofin <mtrofin@google.com> |
[ctx_prof] Don't use `GENERATE_DRIVER` (#100777)
|
Revision tags: llvmorg-19.1.0-rc1 |
|
#
a737b870 |
| 25-Jul-2024 |
Mircea Trofin <mtrofin@google.com> |
[ctx_prof] test tool: generate ctxprof bistream from json (#100379)
This is a tool to simplify testing. It generates a valid contextual profile file from a json representation.
The tool is author
[ctx_prof] test tool: generate ctxprof bistream from json (#100379)
This is a tool to simplify testing. It generates a valid contextual profile file from a json representation.
The tool is authored to allow for future evolution, e.g. if we want to support profile merging or other tasks, not necessarily scoped to testing.
show more ...
|