Home
last modified time | relevance | path

Searched refs:isSignedIntegerType (Results 1 – 25 of 35) sorted by relevance

12

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp164 if (DestType->isSignedIntegerType()) in isLossOfPrecision()
174 if (SubType->isSignedIntegerType()) in isLossOfPrecision()
196 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
H A DMIGChecker.cpp171 .getCanonicalType()->isSignedIntegerType()) in isInMIGCall()
H A DBitwiseShiftChecker.cpp208 if (!operandExpr(Side)->getType()->isSignedIntegerType()) in checkOperandNegative()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp157 NestedType->isSignedIntegerType()); in VisitLocAsInteger()
H A DExprEngineC.cpp856 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); in VisitOffsetOfExpr()
/src/contrib/llvm-project/clang/lib/AST/
H A DPrintfFormatString.cpp926 if (QT->isSignedIntegerType()) in fixType()
958 } else if (QT->isSignedIntegerType()) { in fixType()
H A DScanfFormatString.cpp516 else if (PT->isSignedIntegerType()) in fixType()
H A DType.cpp2146 bool Type::isSignedIntegerType() const { in isSignedIntegerType() function in Type
2156 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerType()
2175 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerOrEnumerationType()
H A DJSONNodeDumper.cpp1614 /*Radix=*/10, IL->getType()->isSignedIntegerType()); in VisitIntegerLiteral()
H A DTextNodeDumper.cpp1437 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
H A DStmtPrinter.cpp1331 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
H A DItaniumMangle.cpp5551 if (E->getType()->isSignedIntegerType()) in mangleExpression()
5573 if (IE->getSubExpr()->getType()->isSignedIntegerType()) in mangleExpression()
H A DASTContext.cpp7598 return FT->isSignedIntegerType() ? IntTy : UnsignedIntTy; in isPromotableBitField()
7636 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()
7644 if (Promotable->isSignedIntegerType()) in getPromotedIntegerType()
13987 getIntWidth(Ty), Ty->isSignedIntegerType()); in getFixedPointSemantics()
/src/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DMips.cpp363 Ty->isSignedIntegerType()); in EmitVAArg()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp247 if (ElTy->isSignedIntegerType()) { in calculateElementType()
H A DCGAtomic.cpp660 : (E->getValueType()->isSignedIntegerType() in EmitAtomicOp()
676 : (E->getValueType()->isSignedIntegerType() in EmitAtomicOp()
738 E->getValueType()->isSignedIntegerType(), in EmitAtomicOp()
H A DCodeGenFunction.cpp645 HintQTy->isSignedIntegerType() || in EmitKernelMetadata()
646 (HintEltQTy && HintEltQTy->getElementType()->isSignedIntegerType()); in EmitKernelMetadata()
2450 SEType->isSignedIntegerType() in EmitVariablyModifiedType()
H A DCGException.cpp2085 FilterExpr->getType()->isSignedIntegerType()); in GenerateSEHFilterFunction()
H A DCGExprConstant.cpp1092 llvm::APInt A = FromType->isSignedIntegerType() in ProduceIntToIntCast()
/src/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h308 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSignedIntegerType)
/src/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1016 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && in rewriteToNumericBoxedExpression()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp471 if (Ty->isBitIntType() && Ty->isSignedIntegerType() && in BuiltinOverflow()
9792 (!E->getType()->isSignedIntegerType() || in isKnownToHaveUnsignedValue()
9793 !E->IgnoreParenImpCasts()->getType()->isSignedIntegerType()); in isKnownToHaveUnsignedValue()
10269 bool SignedBitfield = BitfieldType->isSignedIntegerType(); in AnalyzeBitFieldAssignment()
10344 TruncatedValue.setIsSigned(BitfieldType->isSignedIntegerType()); in AnalyzeBitFieldAssignment()
10715 else if (E->getType()->isSignedIntegerType()) in DiagnoseIntInBoolContext()
11134 if (Target->isSignedIntegerType()) in CheckImplicitConversion()
11142 Source->isSignedIntegerType()) { in CheckImplicitConversion()
11175 Source->isSignedIntegerType() == Target->isSignedIntegerType()) { in CheckImplicitConversion()
H A DSemaCast.cpp2083 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast()
2084 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
H A DSemaOverload.cpp2458 (FromType->isSignedIntegerType() || in IsIntegralPromotion()
2530 bool FromIsSigned = FromType->isSignedIntegerType(); in IsIntegralPromotion()
2544 FromIsSigned == PromoteTypes[Idx]->isSignedIntegerType())) { in IsIntegralPromotion()
2578 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
/src/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6531 return Node->isSignedIntegerType(); in AST_MATCHER()

12