Searched refs:isUnsigned (Results 1 - 25 of 43) sorted by last modified time

12

/external/llvm/unittests/ADT/
H A DAPSIntTest.cpp19 EXPECT_TRUE(A.isUnsigned());
23 EXPECT_FALSE(A.isUnsigned());
26 EXPECT_FALSE(C.isUnsigned());
31 EXPECT_TRUE(D.isUnsigned());
35 EXPECT_TRUE(A.isUnsigned());
40 EXPECT_TRUE(A.isUnsigned());
/external/llvm/include/llvm/ADT/
H A DAPSInt.h30 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true)
31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
33 explicit APSInt(APInt I, bool isUnsigned = true)
34 : APInt(std::move(I)), IsUnsigned(isUnsigned) {}
50 bool isUnsigned() const { return IsUnsigned; } function in class:llvm::APSInt
/external/llvm/include/llvm/IR/
H A DInstrTypes.h791 bool isUnsigned() const { function in class:llvm::CmpInst
792 return isUnsigned(getPredicate());
809 static bool isUnsigned(unsigned short predicate);
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2207 (CmpInst::isUnsigned(Pred) && LBO->hasNoUnsignedWrap()) ||
2213 (CmpInst::isUnsigned(Pred) && RBO->hasNoUnsignedWrap()) ||
2260 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) {
H A DScalarEvolution.cpp4789 if (ExitCond->getOperand(0)->getType()->isUnsigned())
/external/llvm/lib/IR/
H A DInstructions.cpp3288 bool CmpInst::isUnsigned(unsigned short predicate) { function in class:CmpInst
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp773 if (!EmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned()))
1004 if (!EmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned()))
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1273 if (!ARMEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned()))
1489 if (!ARMEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned()))
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp704 if (!PPCEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned(),
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1366 if (ICI.isUnsigned()) {
2866 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) ||
2870 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) ||
2947 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned())
H A DInstCombineSelect.cpp533 } else if (ICI->isUnsigned()) {
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1624 assert(I.isUnsigned());
/external/deqp/modules/gles31/functional/
H A Des31fShaderIntegerFunctionTests.cpp142 const bool isUnsigned = glu::isDataTypeUintOrUVec(dataType); local
144 if (isUnsigned)
/external/clang/lib/Sema/
H A DSemaExpr.cpp3223 bool AllowUnsigned = Literal.isUnsigned || Literal.getRadix() != 10;
3238 /*Signed=*/!Literal.isUnsigned);
3249 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0)
3264 if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0)
3281 if (!Literal.isUnsigned && (ResultVal[LongLongSize-1] == 0 ||
7174 index.isUnsigned()))
H A DSemaExprCXX.cpp1362 Value.isUnsigned())) {
H A DSemaInit.cpp1387 elementIndex.isUnsigned());
1392 elementIndex.setIsUnsigned(maxElements.isUnsigned());
1420 elementIndex.setIsUnsigned(maxElements.isUnsigned());
1451 llvm::APSInt Zero(maxElements.getBitWidth(), maxElements.isUnsigned());
2191 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned());
2194 DesignatedEndIndex.setIsUnsigned(MaxElements.isUnsigned());
H A DSemaOverload.cpp1851 APSInt ToSize(BitWidth.getBitWidth(), BitWidth.isUnsigned());
H A DSemaTemplate.cpp4954 else if (OldValue.isUnsigned())
/external/clang/lib/Serialization/
H A DASTReader.cpp7884 bool isUnsigned = Record[Idx++];
7885 return llvm::APSInt(ReadAPInt(Record, Idx), isUnsigned);
H A DASTWriter.cpp4646 Record.push_back(Value.isUnsigned());
/external/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp90 bool isUnsigned) {
91 llvm::APSInt V(X, isUnsigned);
96 bool isUnsigned) {
97 llvm::APSInt V(BitWidth, isUnsigned);
89 getValue(const llvm::APInt& X, bool isUnsigned) argument
95 getValue(uint64_t X, unsigned BitWidth, bool isUnsigned) argument
H A DRegionStore.cpp830 assert(ExtentInt.isNonNegative() || ExtentInt.isUnsigned());
H A DSVals.cpp262 if (C.getValue().isUnsigned())
266 os << ' ' << (C.getValue().isUnsigned() ? 'U' : 'S')
H A DSimpleConstraintManager.cpp238 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned())
H A DSimpleSValBuilder.cpp873 assert(leftI.isUnsigned());
874 llvm::APSInt rightI(rhsInt->getValue(), /* isUnsigned */ true);
881 llvm::APSInt Multiplicand(rightI.getBitWidth(), /* isUnsigned */ true);

Completed in 602 milliseconds

12