Home
last modified time | relevance | path

Searched refs:isSignWrappedSet (Results 1 – 14 of 14) sorted by relevance

/external/llvm/unittests/IR/
DConstantRangeTest.cpp155 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/
DConstantRangeTest.cpp313 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/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp320 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/IR/
DConstantRange.cpp321 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/llvm-project/llvm/lib/Analysis/
DStackSafetyAnalysis.cpp77 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()
DScalarEvolution.cpp6044 bool IsWrappedSet = IsSigned ? RangeBetween.isSignWrappedSet() in getRangeForAffineNoSelfWrappingAR()
/external/llvm/include/llvm/IR/
DConstantRange.h151 bool isSignWrappedSet() const;
/external/llvm-project/llvm/include/llvm/IR/
DConstantRange.h199 bool isSignWrappedSet() const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h191 bool isSignWrappedSet() const;
/external/llvm/lib/IR/
DConstantRange.cpp249 bool ConstantRange::isSignWrappedSet() const { in isSignWrappedSet() function in ConstantRange
563 if (isFullSet() || isSignWrappedSet()) { in signExtend()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp390 R.isFullSet() || R.isSignWrappedSet()) in validateAndTransform()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp395 R.isFullSet() || R.isSignWrappedSet()) in validateAndTransform()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp396 R.isFullSet() || R.isSignWrappedSet()) in validateAndTransform()
/external/llvm-project/polly/lib/Analysis/
DScopInfo.cpp188 if (Range.isSignWrappedSet()) { in addRangeBoundsToSet()
746 if (Range.isUpperWrapped() || Range.isSignWrappedSet()) in computeBoundsOnAccessRelation()
749 bool isWrapping = Range.isSignWrappedSet(); in computeBoundsOnAccessRelation()