Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp158 if (DestType->isSignedIntegerType()) in isLossOfPrecision()
168 if (SubType->isSignedIntegerType()) in isLossOfPrecision()
190 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DPrintfFormatString.cpp805 if (QT->isSignedIntegerType()) in fixType()
838 else if (QT->isSignedIntegerType()) { in fixType()
H A DScanfFormatString.cpp514 else if (PT->isSignedIntegerType()) in fixType()
H A DTextNodeDumper.cpp728 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
H A DType.cpp1844 bool Type::isSignedIntegerType() const { in isSignedIntegerType() function in Type
1854 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerType()
1868 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerOrEnumerationType()
H A DItaniumMangle.cpp4158 if (E->getType()->isSignedIntegerType()) in mangleExpression()
4179 if (IE->getSubExpr()->getType()->isSignedIntegerType()) in mangleExpression()
H A DStmtPrinter.cpp1083 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
H A DASTContext.cpp5692 return FT->isSignedIntegerType() ? IntTy : UnsignedIntTy; in isPromotableBitField()
5731 FromIsSigned == PromoteTypes[Idx]->isSignedIntegerType())) in getPromotedIntegerType()
5739 if (Promotable->isSignedIntegerType()) in getPromotedIntegerType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGAtomic.cpp595 Op = E->getValueType()->isSignedIntegerType() ? llvm::AtomicRMWInst::Min in EmitAtomicOp()
601 Op = E->getValueType()->isSignedIntegerType() ? llvm::AtomicRMWInst::Max in EmitAtomicOp()
1116 LibCallName = E->getValueType()->isSignedIntegerType() in EmitAtomicExpr()
1124 LibCallName = E->getValueType()->isSignedIntegerType() in EmitAtomicExpr()
H A DCodeGenFunction.cpp738 HintQTy->isSignedIntegerType() || in EmitOpenCLKernelMetadata()
739 (HintEltQTy && HintEltQTy->getElementType()->isSignedIntegerType()); in EmitOpenCLKernelMetadata()
2107 size->getType()->isSignedIntegerType()) { in EmitVariablyModifiedType()
H A DCGException.cpp1905 FilterExpr->getType()->isSignedIntegerType()); in GenerateSEHFilterFunction()
H A DCGDebugInfo.cpp2688 bool IsSigned = ED->getIntegerType()->isSignedIntegerType(); in CreateTypeDefinition()
H A DCGExpr.cpp2721 (T->isSignedIntegerType() ? 1 : 0); in EmitCheckTypeDescriptor()
H A DTargetInfo.cpp7143 Ty->isSignedIntegerType()); in EmitVAArg()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DCanonicalType.h308 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSignedIntegerType)
H A DType.h2253 bool isSignedIntegerType() const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCast.cpp1813 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast()
1814 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
H A DSemaChecking.cpp9950 (!E->getType()->isSignedIntegerType() || in isKnownToHaveUnsignedValue()
9951 !E->IgnoreParenImpCasts()->getType()->isSignedIntegerType()); in isKnownToHaveUnsignedValue()
10371 bool SignedBitfield = BitfieldType->isSignedIntegerType(); in AnalyzeBitFieldAssignment()
10434 TruncatedValue.setIsSigned(BitfieldType->isSignedIntegerType()); in AnalyzeBitFieldAssignment()
11070 if (Target->isSignedIntegerType()) in CheckImplicitConversion()
11077 SourceRange.NonNegative && Source->isSignedIntegerType()) { in CheckImplicitConversion()
H A DSemaOverload.cpp2000 (FromType->isSignedIntegerType() || in IsIntegralPromotion()
2072 bool FromIsSigned = FromType->isSignedIntegerType(); in IsIntegralPromotion()
2086 FromIsSigned == PromoteTypes[Idx]->isSignedIntegerType())) { in IsIntegralPromotion()
2119 (FromType->isSignedIntegerType() && BitWidth <= ToSize)) { in IsIntegralPromotion()
H A DSemaExprCXX.cpp4613 return T->isSignedIntegerType(); in EvaluateUnaryTypeTrait()
H A DSemaInit.cpp1625 else if (elementType->isSignedIntegerType()) in CheckVectorType()
H A DSemaDeclAttr.cpp4012 OldElemTy->isSignedIntegerType()); in AddModeAttr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1019 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && in rewriteToNumericBoxedExpression()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp819 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); in VisitOffsetOfExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4858 return Node->isSignedIntegerType(); in AST_MATCHER()

12