/external/llvm/unittests/ADT/ |
H A D | APSIntTest.cpp | 19 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/clang/test/CodeGen/ |
H A D | pascal-wchar-string.c | 38 // CHECK: store volatile i32 1, i32* %isUnsigned 40 volatile int isUnsigned = (wchar_t)-1 > (wchar_t)0; local
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
H A D | VariantValueTest.cpp | 26 EXPECT_TRUE(Value.isUnsigned()); 43 EXPECT_FALSE(Value.isUnsigned()); 51 EXPECT_FALSE(Value.isUnsigned()); 81 EXPECT_FALSE(Value.isUnsigned()); 87 EXPECT_FALSE(Value.isUnsigned()); 95 EXPECT_TRUE(Value.isUnsigned()); 103 EXPECT_FALSE(Value.isUnsigned());
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | APSIntType.h | 29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 32 bool isUnsigned() const { return IsUnsigned; } function in class:clang::ento::APSIntType 50 llvm::APSInt Result(Value, Value.isUnsigned());
|
H A D | BasicValueFactory.h | 79 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 91 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 120 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) { argument 121 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 153 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) { 154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 157 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) { argument 158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
|
H A D | SValBuilder.h | 252 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { argument 253 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); 263 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) { argument 264 return nonloc::ConcreteInt(BasicVals.getIntValue(integer, isUnsigned)); 267 NonLoc makeIntValWithPtrWidth(uint64_t integer, bool isUnsigned) { argument 269 BasicVals.getIntWithPtrWidth(integer, isUnsigned));
|
/external/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 43 bool isUnsigned() const { return Val.isUnsigned(); } function in class:__anon17946::PPValue 252 Result.Val.setIsUnsigned(Literal.isUnsigned); 258 if (!Literal.isUnsigned && Result.Val.isNegative()) { 372 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); 548 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned()); 551 if (ValueLive && Res.isUnsigned()) { 552 if (!LHS.isUnsigned() && LHS.Val.isNegative()) 557 if (!RHS.isUnsigned() [all...] |
H A D | LiteralSupport.cpp | 521 isUnsigned = false; 589 if (isUnsigned) break; // Cannot be repeated. 590 isUnsigned = true; 680 isUnsigned = false;
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BasicValueFactory.cpp | 90 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 D | SVals.cpp | 262 if (C.getValue().isUnsigned()) 266 os << ' ' << (C.getValue().isUnsigned() ? 'U' : 'S')
|
H A D | SimpleConstraintManager.cpp | 238 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned())
|
H A D | SymbolManager.cpp | 36 if (getRHS().isUnsigned()) 42 if (getLHS().isUnsigned())
|
H A D | SimpleSValBuilder.cpp | 873 assert(leftI.isUnsigned()); 874 llvm::APSInt rightI(rhsInt->getValue(), /* isUnsigned */ true); 881 llvm::APSInt Multiplicand(rightI.getBitWidth(), /* isUnsigned */ true);
|
/external/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 30 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/clang/include/clang/Basic/ |
H A D | TargetBuiltins.h | 134 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; } function in class:clang::NeonTypeFlags
|
/external/clang/lib/ASTMatchers/Dynamic/ |
H A D | VariantValue.cpp | 209 bool VariantValue::isUnsigned() const { function in class:clang::ast_matchers::dynamic::VariantValue 214 assert(isUnsigned());
|
H A D | Marshallers.h | 110 static bool is(const VariantValue &Value) { return Value.isUnsigned(); }
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | VariantValue.h | 217 bool isUnsigned() const;
|
/external/clang/include/clang/Lex/ |
H A D | LiteralSupport.h | 61 bool isUnsigned; member in class:clang::NumericLiteralParser
|
/external/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 791 bool isUnsigned() const { function in class:llvm::CmpInst 792 return isUnsigned(getPredicate()); 809 static bool isUnsigned(unsigned short predicate);
|
/external/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 391 return Flags.isUnsigned() ? Context.UnsignedCharTy : Context.SignedCharTy; 393 return Flags.isUnsigned() ? Context.UnsignedShortTy : Context.ShortTy; 395 return Flags.isUnsigned() ? Context.UnsignedIntTy : Context.IntTy; 398 return Flags.isUnsigned() ? Context.UnsignedLongTy : Context.LongTy; 400 return Flags.isUnsigned() ? Context.UnsignedLongLongTy 5476 if (Value.isUnsigned() || Value.isNonNegative()) { 7111 if (index.isUnsigned() || !index.isNegative()) {
|
H A D | SemaInit.cpp | 1387 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());
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderIntegerFunctionTests.cpp | 142 const bool isUnsigned = glu::isDataTypeUintOrUVec(dataType); local 144 if (isUnsigned)
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1366 if (ICI.isUnsigned()) { 2866 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) || 2870 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || 2947 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned())
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64FastISel.cpp | 773 if (!EmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned())) 1004 if (!EmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned()))
|