Searched refs:isSignWrappedSet (Results 1 – 4 of 4) sorted by relevance
/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/include/llvm/IR/ |
D | ConstantRange.h | 125 bool isSignWrappedSet() const;
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 203 bool ConstantRange::isSignWrappedSet() const { in isSignWrappedSet() function in ConstantRange 517 if (isFullSet() || isSignWrappedSet()) { in signExtend()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 402 R.isFullSet() || R.isSignWrappedSet()) in validateAndTransform()
|