reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
167 } else if (isConstantRange() && getConstantRange().isSingleElement()) { 168 return *getConstantRange().getSingleElement(); 274 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange()); 274 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange()); 277 else if (NewR == getConstantRange()) 306 const auto &CR = getConstantRange(); 307 const auto &OtherCR = Other.getConstantRange();lib/Analysis/LazyValueInfo.cpp
68 Val.getConstantRange().isSingleElement()) 120 A.getConstantRange().intersectWith(B.getConstantRange()); 120 A.getConstantRange().intersectWith(B.getConstantRange()); 887 const ConstantRange &TrueCR = TrueVal.getConstantRange(); 888 const ConstantRange &FalseCR = FalseVal.getConstantRange(); 1010 Range = Val.getConstantRange(); 1481 EdgeVal = EdgeLatticeVal.getConstantRange(); 1707 const ConstantRange &CR = Result.getConstantRange(); 1724 return Result.getConstantRange(); 1744 const ConstantRange &CR = Result.getConstantRange(); 1763 return Result.getConstantRange(); 1787 const ConstantRange &CR = Val.getConstantRange();lib/Analysis/ValueLattice.cpp
21 return OS << "constantrange<" << Val.getConstantRange().getLower() << ", " 22 << Val.getConstantRange().getUpper() << ">";unittests/Analysis/ValueLatticeTest.cpp
60 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); 61 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); 66 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); 67 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); 73 EXPECT_EQ(LV1.getConstantRange().getLower().getLimitedValue(), 1U); 74 EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U); 76 EXPECT_EQ(LV2.getConstantRange().getLower().getLimitedValue(), 1U); 77 EXPECT_EQ(LV2.getConstantRange().getUpper().getLimitedValue(), 100U);