Searched refs:isUnsigned (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h28 : 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 DBasicValueFactory.h79 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 DSValBuilder.h252 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 DPPExpressions.cpp43 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 DLiteralSupport.cpp479 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 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 DSVals.cpp262 if (C.getValue().isUnsigned())
266 os << ' ' << (C.getValue().isUnsigned() ? 'U' : 'S')
H A DSimpleConstraintManager.cpp238 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned())
H A DSymbolManager.cpp36 if (getRHS().isUnsigned())
42 if (getLHS().isUnsigned())
H A DSimpleSValBuilder.cpp874 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 DAPSInt.h30 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 DTargetBuiltins.h112 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; } function in class:clang::NeonTypeFlags
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp199 bool VariantValue::isUnsigned() const { function in class:clang::ast_matchers::dynamic::VariantValue
204 assert(isUnsigned());
H A DMarshallers.h73 static bool is(const VariantValue &Value) { return Value.isUnsigned(); }
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h218 bool isUnsigned() const;
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
H A DInstrTypes.h786 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 DLiteralSupport.h56 bool isUnsigned; member in class:clang::NumericLiteralParser
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1362 if (ICI.isUnsigned()) {
2613 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) ||
2617 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) ||
2694 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned())
H A DInstCombineSelect.cpp482 } else if (ICI->isUnsigned()) {
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp1274 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 DSemaChecking.cpp364 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 DInstructionSimplify.cpp2209 (CmpInst::isUnsigned(Pred) && LBO->hasNoUnsignedWrap()) ||
2215 (CmpInst::isUnsigned(Pred) && RBO->hasNoUnsignedWrap()) ||
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1362 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 DPPCFastISel.cpp703 if (!PPCEmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned(),
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1513 assert(I.isUnsigned());

Completed in 322 milliseconds

12