/external/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 155 EXPECT_TRUE(Full.isSignWrappedSet()); in TEST_F() 156 EXPECT_FALSE(Empty.isSignWrappedSet()); in TEST_F() 157 EXPECT_FALSE(One.isSignWrappedSet()); in TEST_F() 158 EXPECT_FALSE(Some.isSignWrappedSet()); in TEST_F() 159 EXPECT_TRUE(Wrap.isSignWrappedSet()); in TEST_F() 161 EXPECT_FALSE(ConstantRange(APInt(8, 127), APInt(8, 128)).isSignWrappedSet()); in TEST_F() 162 EXPECT_TRUE(ConstantRange(APInt(8, 127), APInt(8, 129)).isSignWrappedSet()); in TEST_F() 163 EXPECT_FALSE(ConstantRange(APInt(8, 128), APInt(8, 129)).isSignWrappedSet()); in TEST_F() 164 EXPECT_TRUE(ConstantRange(APInt(8, 10), APInt(8, 9)).isSignWrappedSet()); in TEST_F() 165 EXPECT_TRUE(ConstantRange(APInt(8, 10), APInt(8, 250)).isSignWrappedSet()); in TEST_F() [all …]
|
/external/llvm-project/llvm/unittests/IR/ |
D | ConstantRangeTest.cpp | 313 EXPECT_FALSE(Full.isSignWrappedSet()); in TEST_F() 314 EXPECT_FALSE(Empty.isSignWrappedSet()); in TEST_F() 315 EXPECT_FALSE(One.isSignWrappedSet()); in TEST_F() 316 EXPECT_FALSE(Some.isSignWrappedSet()); in TEST_F() 317 EXPECT_TRUE(Wrap.isSignWrappedSet()); in TEST_F() 319 EXPECT_FALSE(ConstantRange(APInt(8, 127), APInt(8, 128)).isSignWrappedSet()); in TEST_F() 320 EXPECT_TRUE(ConstantRange(APInt(8, 127), APInt(8, 129)).isSignWrappedSet()); in TEST_F() 321 EXPECT_FALSE(ConstantRange(APInt(8, 128), APInt(8, 129)).isSignWrappedSet()); in TEST_F() 322 EXPECT_TRUE(ConstantRange(APInt(8, 10), APInt(8, 9)).isSignWrappedSet()); in TEST_F() 323 EXPECT_TRUE(ConstantRange(APInt(8, 10), APInt(8, 250)).isSignWrappedSet()); in TEST_F() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantRange.cpp | 321 bool ConstantRange::isSignWrappedSet() const { in isSignWrappedSet() function in ConstantRange 362 return !isSignWrappedSet() && Lower.isNonNegative(); in isAllNonNegative() 384 if (isFullSet() || isSignWrappedSet()) in getSignedMin() 452 if (!CR1.isSignWrappedSet() && CR2.isSignWrappedSet()) in getPreferredRange() 454 if (CR1.isSignWrappedSet() && !CR2.isSignWrappedSet()) in getPreferredRange() 712 if (isFullSet() || isSignWrappedSet()) { in signExtend() 1505 if (isSignWrappedSet()) { in abs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 320 bool ConstantRange::isSignWrappedSet() const { in isSignWrappedSet() function in ConstantRange 361 return !isSignWrappedSet() && Lower.isNonNegative(); in isAllNonNegative() 383 if (isFullSet() || isSignWrappedSet()) in getSignedMin() 436 if (!CR1.isSignWrappedSet() && CR2.isSignWrappedSet()) in getPreferredRange() 438 if (CR1.isSignWrappedSet() && !CR2.isSignWrappedSet()) in getPreferredRange() 696 if (isFullSet() || isSignWrappedSet()) { in signExtend() 1403 if (isSignWrappedSet()) { in abs()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | StackSafetyAnalysis.cpp | 77 assert(!L.isSignWrappedSet()); in addOverflowNever() 78 assert(!R.isSignWrappedSet()); in addOverflowNever() 83 assert(!Result.isSignWrappedSet()); in addOverflowNever() 88 assert(!L.isSignWrappedSet()); in unionNoWrap() 89 assert(!R.isSignWrappedSet()); in unionNoWrap() 92 if (Result.isSignWrappedSet()) in unionNoWrap()
|
D | ScalarEvolution.cpp | 6044 bool IsWrappedSet = IsSigned ? RangeBetween.isSignWrappedSet() in getRangeForAffineNoSelfWrappingAR()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 151 bool isSignWrappedSet() const;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ConstantRange.h | 199 bool isSignWrappedSet() const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 191 bool isSignWrappedSet() const;
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 249 bool ConstantRange::isSignWrappedSet() const { in isSignWrappedSet() function in ConstantRange 563 if (isFullSet() || isSignWrappedSet()) { in signExtend()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 390 R.isFullSet() || R.isSignWrappedSet()) in validateAndTransform()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 396 R.isFullSet() || R.isSignWrappedSet()) in validateAndTransform()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 395 R.isFullSet() || R.isSignWrappedSet()) in validateAndTransform()
|
/external/llvm-project/polly/lib/Analysis/ |
D | ScopInfo.cpp | 188 if (Range.isSignWrappedSet()) { in addRangeBoundsToSet() 746 if (Range.isUpperWrapped() || Range.isSignWrappedSet()) in computeBoundsOnAccessRelation() 749 bool isWrapping = Range.isSignWrappedSet(); in computeBoundsOnAccessRelation()
|