forked from rems-project/asl-interpreter
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Scala backend & lifter-optimiser bdd copyprop #102
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Optional support for offline lifter to specify the PC value at lifttime.
Optional support for offline lifter to specify the PC value at lifttime.
Leverage interval information to reduce trivial comparisons during post-passes, then cleanup in RemoveUnused.
* Add scala backend for BASIL * Add C++ Backend for LLVM * add aslBackwardsVisitor * aslVisitor: change vstmt to return stmt list BREAKING! This change affects the signature of the Asl_visitor.visit_stmt method. For compatibility, a visit_stmt_single method is provided with equivalent behaviour to the old visit_stmt. There is also an added helper function to convert visitActions on single statements to visitActions on a list of statements. Both of these compatibility helpers WILL THROW if used with a visitor that returns non-singleton statement lists. This gives the user the flexibility to insert new statements or delete statements entirely. On the other hand, post-functions in ChangeDoChildrenPost will need to handle lists of functions as well. This follows the original CIL visitor: https://people.eecs.berkeley.edu/~necula/cil/api/Cil.cilVisitor.html * fix backwards visitor and rearrange code it is no longer a good idea for the backwards and forwards visitors to have a subtyping relation. * support -x 0 to print encoding name. (#78) this is very useful when looking for the name of an encoding, without cluttering the output with the disassembly trace. the default debug_level has been lowered to -1 to support -x 0 as a non-default level. we cannot print by default since that would clutter stdout when used as a library. Co-authored-by: rina <[email protected]>
7ee3e4b Is passing offline coverage, so something in 9ed5776 is broken (just disabling the offline-opt copyprop pass doesnt fix it) There's actually no reason to include rt-copyprop in this change set, I thought it was also part of the initial change, but we only used This was just due to a silly mistake in the merge, should all be good now. |
ailrst
changed the title
Scala backend & backend opt bdd copyprop
Scala backend & lifter-optimiser bdd copyprop
Jul 24, 2024
delete old hpp files in root reset meson.build to empty
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the Scala backend with a generic unimplemetned IBI. It should be possible for consumers to just use the JAR file, and call the lifter supplying an implementation of that interface to have it emit another IR, e.g. for basil IR
It also includes in the rt_pc and rt-copyprop branches since the scala lifter was developed with these changes