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

Irreducible loops cleanup #257

Merged
merged 8 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions src/main/scala/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ object Main {
@arg(name = "summarise-procedures", doc = "Generates summaries of procedures which are used in pre/post-conditions (requires --analyse flag)")
summariseProcedures: Flag,
@arg(name = "memory-regions", doc = "Performs static analysis to separate memory into discrete regions in Boogie output (requires --analyse flag) (mra|dsa)")
memoryRegions: Option[String]
memoryRegions: Option[String],
@arg(name = "no-irreducible-loops", doc = "Disable producing irreducible loops when --analyse is passed (does nothing without --analyse)")
noIrreducibleLoops: Flag
)

def main(args: Array[String]): Unit = {
Expand Down Expand Up @@ -93,7 +95,8 @@ object Main {
conf.analysisResultsDot,
conf.threadSplit.value,
conf.summariseProcedures.value,
memoryRegionsMode
memoryRegionsMode,
!conf.noIrreducibleLoops.value
))
} else {
None
Expand Down
Loading
Loading