/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | APSIntType.h | 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 31 bool isUnsigned() const { return IsUnsigned; } function in class:clang::ento::APSIntType 49 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));
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 43 bool isUnsigned() const { return Val.isUnsigned(); } function in class:__anon3321::PPValue 253 Result.Val.setIsUnsigned(Literal.isUnsigned); 259 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 | 479 isUnsigned = false; 547 if (isUnsigned) break; // Cannot be repeated. 548 isUnsigned = true; 633 isUnsigned = false;
|
/freebsd-10-stable/contrib/llvm/tools/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 | 874 assert(leftI.isUnsigned()); 875 llvm::APSInt rightI(rhsInt->getValue(), /* isUnsigned */ true); 882 llvm::APSInt Multiplicand(rightI.getBitWidth(), /* isUnsigned */ true);
|
/freebsd-10-stable/contrib/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(const APInt &I, bool isUnsigned = true) 34 : APInt(I), IsUnsigned(isUnsigned) {} 56 bool isUnsigned() const { return IsUnsigned; } function in class:llvm::APSInt
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/ |
H A D | TargetBuiltins.h | 112 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; } function in class:clang::NeonTypeFlags
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/ |
H A D | VariantValue.cpp | 199 bool VariantValue::isUnsigned() const { function in class:clang::ast_matchers::dynamic::VariantValue 204 assert(isUnsigned());
|
H A D | Marshallers.h | 73 static bool is(const VariantValue &Value) { return Value.isUnsigned(); }
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | VariantValue.h | 218 bool isUnsigned() const;
|
/freebsd-10-stable/contrib/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 786 bool isUnsigned() const { function in class:llvm::CmpInst 787 return isUnsigned(getPredicate()); 804 static bool isUnsigned(unsigned short predicate);
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/ |
H A D | LiteralSupport.h | 56 bool isUnsigned; member in class:clang::NumericLiteralParser
|
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1362 if (ICI.isUnsigned()) { 2613 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) || 2617 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) || 2694 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned())
|
H A D | InstCombineSelect.cpp | 482 } else if (ICI->isUnsigned()) {
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaInit.cpp | 1274 elementIndex.isUnsigned()); 1279 elementIndex.setIsUnsigned(maxElements.isUnsigned()); 1307 elementIndex.setIsUnsigned(maxElements.isUnsigned()); 1338 llvm::APSInt Zero(maxElements.getBitWidth(), maxElements.isUnsigned()); 2075 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned()); 2078 DesignatedEndIndex.setIsUnsigned(MaxElements.isUnsigned());
|
H A D | SemaChecking.cpp | 364 return Flags.isUnsigned() ? Context.UnsignedCharTy : Context.SignedCharTy; 366 return Flags.isUnsigned() ? Context.UnsignedShortTy : Context.ShortTy; 368 return Flags.isUnsigned() ? Context.UnsignedIntTy : Context.IntTy; 370 return Flags.isUnsigned() ? Context.UnsignedLongLongTy : Context.LongLongTy; 6366 if (index.isUnsigned() || !index.isNegative()) {
|
/freebsd-10-stable/contrib/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 2209 (CmpInst::isUnsigned(Pred) && LBO->hasNoUnsignedWrap()) || 2215 (CmpInst::isUnsigned(Pred) && RBO->hasNoUnsignedWrap()) ||
|
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 1362 if (!ARMEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned())) 1576 if (!ARMEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned()))
|
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCFastISel.cpp | 703 if (!PPCEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned(),
|
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 1513 assert(I.isUnsigned());
|