| /freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| 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) { in getIntValue() argument 121 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; in getIntValue() 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) { in getIntWithPtrWidth() argument 158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
|
| D | APSIntType.h | 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} in APSIntType() 31 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function 49 llvm::APSInt Result(Value, Value.isUnsigned()); in convert()
|
| D | SValBuilder.h | 252 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { in makeIntVal() argument 253 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); in makeIntVal() 263 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) { in makeIntVal() argument 264 return nonloc::ConcreteInt(BasicVals.getIntValue(integer, isUnsigned)); in makeIntVal() 267 NonLoc makeIntValWithPtrWidth(uint64_t integer, bool isUnsigned) { in makeIntValWithPtrWidth() argument 269 BasicVals.getIntWithPtrWidth(integer, isUnsigned)); in makeIntValWithPtrWidth()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/ |
| D | PPExpressions.cpp | 43 bool isUnsigned() const { return Val.isUnsigned(); } in isUnsigned() function in __anon48d76fa70111::PPValue 253 Result.Val.setIsUnsigned(Literal.isUnsigned); in EvaluateValue() 259 if (!Literal.isUnsigned && Result.Val.isNegative()) { in EvaluateValue() 372 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue() 548 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned()); in EvaluateDirectiveSubExpr() 551 if (ValueLive && Res.isUnsigned()) { in EvaluateDirectiveSubExpr() 552 if (!LHS.isUnsigned() && LHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 557 if (!RHS.isUnsigned() && RHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 563 LHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() 564 RHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() [all …]
|
| D | LiteralSupport.cpp | 479 isUnsigned = false; in NumericLiteralParser() 547 if (isUnsigned) break; // Cannot be repeated. in NumericLiteralParser() 548 isUnsigned = true; in NumericLiteralParser() 633 isUnsigned = false; in NumericLiteralParser()
|
| /freebsd-10-stable/contrib/llvm/include/llvm/ADT/ |
| D | APSInt.h | 30 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true) 31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {} 33 explicit APSInt(const APInt &I, bool isUnsigned = true) 34 : APInt(I), IsUnsigned(isUnsigned) {} in APInt() 56 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| D | BasicValueFactory.cpp | 90 bool isUnsigned) { in getValue() argument 91 llvm::APSInt V(X, isUnsigned); in getValue() 96 bool isUnsigned) { in getValue() argument 97 llvm::APSInt V(BitWidth, isUnsigned); in getValue()
|
| D | SimpleConstraintManager.cpp | 238 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymRel()
|
| D | SVals.cpp | 262 if (C.getValue().isUnsigned()) in dumpToStream() 266 os << ' ' << (C.getValue().isUnsigned() ? 'U' : 'S') in dumpToStream()
|
| D | SymbolManager.cpp | 36 if (getRHS().isUnsigned()) in dumpToStream() 42 if (getLHS().isUnsigned()) in dumpToStream()
|
| D | SimpleSValBuilder.cpp | 874 assert(leftI.isUnsigned()); in evalBinOpLN()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/ |
| D | VariantValue.cpp | 199 bool VariantValue::isUnsigned() const { in isUnsigned() function in clang::ast_matchers::dynamic::VariantValue 204 assert(isUnsigned()); in getUnsigned()
|
| D | Marshallers.h | 73 static bool is(const VariantValue &Value) { return Value.isUnsigned(); }
|
| /freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/ |
| D | TargetBuiltins.h | 112 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; } in isUnsigned() function
|
| /freebsd-10-stable/contrib/llvm/include/llvm/IR/ |
| D | InstrTypes.h | 786 bool isUnsigned() const { 787 return isUnsigned(getPredicate()); 804 static bool isUnsigned(unsigned short predicate);
|
| /freebsd-10-stable/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/ |
| D | VariantValue.h | 218 bool isUnsigned() const;
|
| /freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/ |
| D | LiteralSupport.h | 56 bool isUnsigned; variable
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/ |
| D | TemplateBase.cpp | 62 Integer.IsUnsigned = Value.isUnsigned(); in TemplateArgument()
|
| /freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineCompares.cpp | 1362 if (ICI.isUnsigned()) { in visitICmpInstWithInstAndIntCst() 2613 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) || in visitICmpInst() 2617 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || in visitICmpInst() 2694 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned()) in visitICmpInst()
|
| D | InstCombineSelect.cpp | 482 } else if (ICI->isUnsigned()) { in visitSelectInstWithICmp()
|
| /freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/ |
| D | SemaInit.cpp | 1274 elementIndex.isUnsigned()); in CheckArrayType() 1279 elementIndex.setIsUnsigned(maxElements.isUnsigned()); in CheckArrayType() 1307 elementIndex.setIsUnsigned(maxElements.isUnsigned()); in CheckArrayType() 1338 llvm::APSInt Zero(maxElements.getBitWidth(), maxElements.isUnsigned()); in CheckArrayType() 2075 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer() 2078 DesignatedEndIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()
|
| D | SemaChecking.cpp | 364 return Flags.isUnsigned() ? Context.UnsignedCharTy : Context.SignedCharTy; in getNeonEltType() 366 return Flags.isUnsigned() ? Context.UnsignedShortTy : Context.ShortTy; in getNeonEltType() 368 return Flags.isUnsigned() ? Context.UnsignedIntTy : Context.IntTy; in getNeonEltType() 370 return Flags.isUnsigned() ? Context.UnsignedLongLongTy : Context.LongLongTy; in getNeonEltType() 6366 if (index.isUnsigned() || !index.isNegative()) { in CheckArrayAccess()
|
| D | SemaExpr.cpp | 3137 bool AllowUnsigned = Literal.isUnsigned || Literal.getRadix() != 10; in ActOnNumericConstant() 3148 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant() 3163 if (!Literal.isUnsigned && ResultVal[LongSize-1] == 0) in ActOnNumericConstant() 3180 if (!Literal.isUnsigned && (ResultVal[LongLongSize-1] == 0 || in ActOnNumericConstant() 3193 if (Literal.isUnsigned) in ActOnNumericConstant() 6968 index.isUnsigned())) in diagnoseStringPlusInt()
|
| /freebsd-10-stable/contrib/llvm/lib/Analysis/ |
| D | InstructionSimplify.cpp | 2209 (CmpInst::isUnsigned(Pred) && LBO->hasNoUnsignedWrap()) || in SimplifyICmpInst() 2215 (CmpInst::isUnsigned(Pred) && RBO->hasNoUnsignedWrap()) || in SimplifyICmpInst()
|
| /freebsd-10-stable/contrib/llvm/lib/Target/ARM/ |
| D | ARMFastISel.cpp | 1362 if (!ARMEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned())) in SelectBranch() 1576 if (!ARMEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned())) in SelectCmp()
|