[llvm] 5877020 - [DA] Clean up unnecessary member function declarations (#170106)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 03:57:13 PST 2025


Author: Ryotaro Kasuga
Date: 2025-12-01T11:57:09Z
New Revision: 58770200a7045dd46dfb8c85299eee504d95026c

URL: https://github.com/llvm/llvm-project/commit/58770200a7045dd46dfb8c85299eee504d95026c
DIFF: https://github.com/llvm/llvm-project/commit/58770200a7045dd46dfb8c85299eee504d95026c.diff

LOG: [DA] Clean up unnecessary member function declarations (#170106)

Follow-up for #169047. The previous PR moved some functions from DA to
Delinearization, but the member function declarations were not updated
accordingly. This patch removes them.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/DependenceAnalysis.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/DependenceAnalysis.h b/llvm/include/llvm/Analysis/DependenceAnalysis.h
index 8286d8e8e45cc..ad46d2f1466cf 100644
--- a/llvm/include/llvm/Analysis/DependenceAnalysis.h
+++ b/llvm/include/llvm/Analysis/DependenceAnalysis.h
@@ -506,17 +506,6 @@ class DependenceInfo {
   bool isKnownPredicate(ICmpInst::Predicate Pred, const SCEV *X,
                         const SCEV *Y) const;
 
-  /// isKnownLessThan - Compare to see if S is less than Size
-  /// Another wrapper for isKnownNegative(S - max(Size, 1)) with some extra
-  /// checking if S is an AddRec and we can prove lessthan using the loop
-  /// bounds.
-  bool isKnownLessThan(const SCEV *S, const SCEV *Size) const;
-
-  /// isKnownNonNegative - Compare to see if S is known not to be negative
-  /// Uses the fact that S comes from Ptr, which may be an inbound GEP,
-  /// Proving there is no wrapping going on.
-  bool isKnownNonNegative(const SCEV *S, const Value *Ptr) const;
-
   /// collectUpperBound - All subscripts are the same type (on my machine,
   /// an i64). The loop bound may be a smaller type. collectUpperBound
   /// find the bound, if available, and zero extends it to the Type T.


        


More information about the llvm-commits mailing list