Home
last modified time | relevance | path

Searched refs:isAllNegative (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstantRange.h270 bool isAllNegative() const;
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp174 (CR1.isAllNegative() && CR2.isAllNegative()); in areInsensitiveToSignednessOfICmpPredicate()
182 return (CR1.isAllNonNegative() && CR2.isAllNegative()) || in areInsensitiveToSignednessOfInvertedICmpPredicate()
183 (CR1.isAllNegative() && CR2.isAllNonNegative()); in areInsensitiveToSignednessOfInvertedICmpPredicate()
410 bool ConstantRange::isAllNegative() const { in isAllNegative() function in ConstantRange
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantRangeTest.cpp2289 EXPECT_TRUE(Empty.isAllNegative()); in TEST_F()
2291 EXPECT_FALSE(Full.isAllNegative()); in TEST_F()
2307 EXPECT_EQ(AllNegative, CR.isAllNegative()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp4963 (LHSRange.isAllNegative() || RHSRange.isAllNegative()); in computeOverflowForSignedAdd()