@@ -734,15 +734,15 @@ private predicate variableReadPseudo(ControlFlow::BasicBlock bb, int i, Ssa::Sou
734734}
735735
736736pragma [ noinline]
737- private predicate adjacentDefRead (
737+ deprecated private predicate adjacentDefRead (
738738 Definition def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2 ,
739739 SsaInput:: SourceVariable v
740740) {
741741 Impl:: adjacentDefRead ( def , bb1 , i1 , bb2 , i2 ) and
742742 v = def .getSourceVariable ( )
743743}
744744
745- private predicate adjacentDefReachesRead (
745+ deprecated private predicate adjacentDefReachesRead (
746746 Definition def , SsaInput:: SourceVariable v , SsaInput:: BasicBlock bb1 , int i1 ,
747747 SsaInput:: BasicBlock bb2 , int i2
748748) {
@@ -760,18 +760,7 @@ private predicate adjacentDefReachesRead(
760760 )
761761}
762762
763- /** Same as `adjacentDefRead`, but skips uncertain reads. */
764- pragma [ nomagic]
765- private predicate adjacentDefSkipUncertainReads (
766- Definition def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2
767- ) {
768- exists ( SsaInput:: SourceVariable v |
769- adjacentDefReachesRead ( def , v , bb1 , i1 , bb2 , i2 ) and
770- SsaInput:: variableRead ( bb2 , i2 , v , true )
771- )
772- }
773-
774- private predicate adjacentDefReachesUncertainRead (
763+ deprecated private predicate adjacentDefReachesUncertainRead (
775764 Definition def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2
776765) {
777766 exists ( SsaInput:: SourceVariable v |
@@ -956,17 +945,6 @@ private module Cached {
956945 )
957946 }
958947
959- cached
960- predicate lastRefBeforeRedef ( Definition def , ControlFlow:: BasicBlock bb , int i , Definition next ) {
961- Impl:: lastRefRedef ( def , bb , i , next ) and
962- not SsaInput:: variableRead ( bb , i , def .getSourceVariable ( ) , false )
963- or
964- exists ( SsaInput:: BasicBlock bb0 , int i0 |
965- Impl:: lastRefRedef ( def , bb0 , i0 , next ) and
966- adjacentDefReachesUncertainRead ( def , bb , i , bb0 , i0 )
967- )
968- }
969-
970948 cached
971949 Definition uncertainWriteDefinitionInput ( UncertainWriteDefinition def ) {
972950 Impl:: uncertainWriteDefinitionInput ( def , result )
0 commit comments