Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create JSON output in LLVM #14

Open
10 tasks
mcopik opened this issue Feb 13, 2020 · 0 comments
Open
10 tasks

Create JSON output in LLVM #14

mcopik opened this issue Feb 13, 2020 · 0 comments
Labels
enhancement New feature or request priority

Comments

@mcopik
Copy link
Collaborator

mcopik commented Feb 13, 2020

Right now our runtime outputs JSON which is suboptimal. Instead, it should just dump binary data straight to a profile file and another pass over the file should use it and generate full output. The approach would be similar to PGO and it would help to decrease overheads while removing JSON processing from the run.

New features:

  • Add environment variable to define output file.
  • Dump binary output from a run.
  • Pass flag to only generate output instead of instrumenting file.
  • Insert full debug information into every loop. Right now the report is hard to read because of the agnostic output.
  • Generate full statistics for functions pruned statically, functions pruned dynamically and dependencies for each function.
  • Include entire postprocessing inside LLVM pass.
  • Use hash of the file to determine if it changed.
  • Include information to split loop across functions.
  • Sort loops according to their order in a function.
  • Provide debug information for each callstack.
@mcopik mcopik added enhancement New feature or request priority labels Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority
Projects
None yet
Development

No branches or pull requests

1 participant