Searched refs:getSingleElement (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10/llvmCore-3425.0.34/include/llvm/Support/
H A DConstantRange.h108 /// getSingleElement - If this set contains a single element, return it,
111 const APInt *getSingleElement() const { function in class:llvm::ConstantRange
119 bool isSingleElement() const { return getSingleElement() != 0; }
/macosx-10.10/llvmCore-3425.0.34/unittests/Support/
H A DConstantRangeTest.cpp103 EXPECT_EQ(Full.getSingleElement(), static_cast<APInt *>(NULL));
104 EXPECT_EQ(Empty.getSingleElement(), static_cast<APInt *>(NULL));
105 EXPECT_EQ(*One.getSingleElement(), APInt(16, 0xa));
106 EXPECT_EQ(Some.getSingleElement(), static_cast<APInt *>(NULL));
107 EXPECT_EQ(Wrap.getSingleElement(), static_cast<APInt *>(NULL));
/macosx-10.10/llvmCore-3425.0.34/lib/Analysis/
H A DLazyValueInfo.cpp876 Result.getConstantRange().getSingleElement())
1039 if (const APInt *SingleVal = CR.getSingleElement())
1055 if (const APInt *SingleVal = CR.getSingleElement())

Completed in 149 milliseconds