Home
last modified time | relevance | path

Searched refs:getSingleElement (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h111 const APInt *getSingleElement() const { in getSingleElement() function
119 bool isSingleElement() const { return getSingleElement() != 0; } in isSingleElement()
/external/llvm/include/llvm/IR/
DConstantRange.h163 const APInt *getSingleElement() const { in getSingleElement() function
171 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantRange.h156 const APInt *getSingleElement() const { in getSingleElement() function
171 bool isSingleElement() const { return getSingleElement() != nullptr; } in isSingleElement()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantRangeTest.cpp103 EXPECT_EQ(Full.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
104 EXPECT_EQ(Empty.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
108 EXPECT_EQ(*One.getSingleElement(), APInt(16, 0xa)); in TEST_F()
109 EXPECT_EQ(Some.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
110 EXPECT_EQ(Wrap.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
116 EXPECT_EQ(*OneInverse.getSingleMissingElement(), *One.getSingleElement()); in TEST_F()
794 NSWForAllValues.getSingleElement()->isMinValue()); in TEST()
800 NSWForAllValues.getSingleElement()->isMaxValue()); in TEST()
806 NUWForAllValues.getSingleElement()->isMinValue()); in TEST()
812 NUWForAllValues.getSingleElement()->isMaxValue()); in TEST()
[all …]
/external/llvm/unittests/IR/
DConstantRangeTest.cpp103 EXPECT_EQ(Full.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
104 EXPECT_EQ(Empty.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
105 EXPECT_EQ(*One.getSingleElement(), APInt(16, 0xa)); in TEST_F()
106 EXPECT_EQ(Some.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
107 EXPECT_EQ(Wrap.getSingleElement(), static_cast<APInt *>(nullptr)); in TEST_F()
665 NSWForAllValues.getSingleElement()->isMinValue()); in TEST()
671 NSWForAllValues.getSingleElement()->isMinValue()); in TEST()
677 NSWForAllValues.getSingleElement()->isMinValue()); in TEST()
/external/antlr/tool/src/main/java/org/antlr/misc/
DIntSet.java73 int getSingleElement(); in getSingleElement() method
DIntervalSet.java518 public int getSingleElement() { in getSingleElement() method in IntervalSet
DBitSet.java272 public int getSingleElement() { in getSingleElement() method in BitSet
/external/swiftshader/third_party/LLVM/unittests/Support/
DConstantRangeTest.cpp103 EXPECT_EQ(Full.getSingleElement(), static_cast<APInt *>(NULL)); in TEST_F()
104 EXPECT_EQ(Empty.getSingleElement(), static_cast<APInt *>(NULL)); in TEST_F()
105 EXPECT_EQ(*One.getSingleElement(), APInt(16, 0xa)); in TEST_F()
106 EXPECT_EQ(Some.getSingleElement(), static_cast<APInt *>(NULL)); in TEST_F()
107 EXPECT_EQ(Wrap.getSingleElement(), static_cast<APInt *>(NULL)); in TEST_F()
/external/antlr/tool/src/main/java/org/antlr/analysis/
DLL1DFA.java145 int atom = edgeSet.getSingleElement(); in getLabelForSet()
DLabel.java135 int singleAtom = labelSet.getSingleElement(); in Label()
DNFAToDFAConverter.java1386 int nakedAlt = ndSet.subtract(predSet).getSingleElement(); in tryToResolveWithSemanticPredicates()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DValueLattice.h169 return *getConstantRange().getSingleElement(); in asConstantInteger()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantRange.cpp153 } else if (auto *OnlyElt = getSingleElement()) { in getEquivalentICmp()
210 if (auto *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
235 if (auto *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DBitSet.js381 getSingleElement: function() {
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLazyValueInfo.cpp1031 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1047 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
/external/llvm/lib/Analysis/
DLazyValueInfo.cpp1492 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1526 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLazyValueInfo.cpp1561 if (const APInt *SingleVal = CR.getSingleElement()) in getConstant()
1598 if (const APInt *SingleVal = CR.getSingleElement()) in getConstantOnEdge()
/external/llvm/lib/IR/
DConstantRange.cpp196 if (auto *C = Other.getSingleElement()) in makeGuaranteedNoWrapRegion()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3360 if (auto *AI = Intersection.getSingleElement()) in visitICmpInst()
3362 if (auto *AD = Difference.getSingleElement()) in visitICmpInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1409 if (auto *AI = Intersection.getSingleElement()) in foldICmpWithConstant()
1411 if (auto *AD = Difference.getSingleElement()) in foldICmpWithConstant()