SSA: Remove empty predicates and dead code.

This commit is contained in:
Anders Schack-Mulligen
2025-03-27 16:03:00 +01:00
parent 308d15401f
commit 5a986f5327
7 changed files with 3 additions and 114 deletions

View File

@@ -1029,16 +1029,6 @@ private module DataFlowIntegrationInput implements Impl::DataFlowIntegrationInpu
def instanceof Ssa::ImplicitParameterDefinition
}
predicate ssaDefAssigns(WriteDefinition def, Expr value) {
// exclude flow directly from RHS to SSA definition, as we instead want to
// go from RHS to matching assingnable definition, and from there to SSA definition
none()
}
class Parameter = Ssa::ImplicitParameterDefinition;
predicate ssaDefInitializesParam(WriteDefinition def, Parameter p) { none() }
/**
* Allows for flow into uncertain defintions that are not call definitions,
* as we, conservatively, consider such definitions to be certain.