@@ -734,15 +734,15 @@ private predicate variableReadPseudo(ControlFlow::BasicBlock bb, int i, Ssa::Sou
734
734
}
735
735
736
736
pragma [ noinline]
737
- private predicate adjacentDefRead (
737
+ deprecated private predicate adjacentDefRead (
738
738
Definition def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2 ,
739
739
SsaInput:: SourceVariable v
740
740
) {
741
741
Impl:: adjacentDefRead ( def , bb1 , i1 , bb2 , i2 ) and
742
742
v = def .getSourceVariable ( )
743
743
}
744
744
745
- private predicate adjacentDefReachesRead (
745
+ deprecated private predicate adjacentDefReachesRead (
746
746
Definition def , SsaInput:: SourceVariable v , SsaInput:: BasicBlock bb1 , int i1 ,
747
747
SsaInput:: BasicBlock bb2 , int i2
748
748
) {
@@ -760,18 +760,7 @@ private predicate adjacentDefReachesRead(
760
760
)
761
761
}
762
762
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 (
775
764
Definition def , SsaInput:: BasicBlock bb1 , int i1 , SsaInput:: BasicBlock bb2 , int i2
776
765
) {
777
766
exists ( SsaInput:: SourceVariable v |
@@ -956,17 +945,6 @@ private module Cached {
956
945
)
957
946
}
958
947
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
-
970
948
cached
971
949
Definition uncertainWriteDefinitionInput ( UncertainWriteDefinition def ) {
972
950
Impl:: uncertainWriteDefinitionInput ( def , result )
0 commit comments