-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into trace-ensuring-newspecs
- Loading branch information
Showing
40 changed files
with
495 additions
and
201 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* Copyright 2009-2021 EPFL, Lausanne */ | ||
|
||
package stainless | ||
package genc | ||
|
||
import extraction.throwing.trees._ | ||
|
||
import phases._ | ||
|
||
object GenerateC { | ||
|
||
def pipeline(implicit ctx: inox.Context) = | ||
NamedLeonPhase("ComputeDependencies", ComputeDependenciesPhase(ctx)) andThen | ||
NamedLeonPhase("ComputeFunCtxPhase", LeonPipeline.both(NoopPhase[Dependencies], ComputeFunCtxPhase(ctx))) andThen | ||
NamedLeonPhase("Scala2IRPhase", Scala2IRPhase(ctx)) andThen | ||
NamedLeonPhase("NormalisationPhase", NormalisationPhase(ctx)) andThen | ||
NamedLeonPhase("LiftingPhase", LiftingPhase(ctx)) andThen | ||
NamedLeonPhase("ReferencingPhase", ReferencingPhase(ctx)) andThen | ||
NamedLeonPhase("StructInliningPhase", StructInliningPhase(ctx)) andThen | ||
NamedLeonPhase("IR2CPhase", IR2CPhase(ctx)) andThen | ||
CFileOutputPhase(ctx) | ||
|
||
def run(symbols: Symbols)(implicit ctx: inox.Context) = pipeline.run(symbols) | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.