Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp157 if (DestType->isSignedIntegerType()) in isLossOfPrecision()
167 if (SubType->isSignedIntegerType()) in isLossOfPrecision()
189 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
H A DMIGChecker.cpp166 .getCanonicalType()->isSignedIntegerType()) in isInMIGCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp623 Op = E->getValueType()->isSignedIntegerType() ? llvm::AtomicRMWInst::Min in EmitAtomicOp()
633 Op = E->getValueType()->isSignedIntegerType() ? llvm::AtomicRMWInst::Max in EmitAtomicOp()
682 E->getValueType()->isSignedIntegerType(), in EmitAtomicOp()
1191 LibCallName = E->getValueType()->isSignedIntegerType() in EmitAtomicExpr()
1203 LibCallName = E->getValueType()->isSignedIntegerType() in EmitAtomicExpr()
1266 E->getValueType()->isSignedIntegerType(), in EmitAtomicExpr()
H A DCodeGenFunction.cpp605 HintQTy->isSignedIntegerType() || in EmitOpenCLKernelMetadata()
606 (HintEltQTy && HintEltQTy->getElementType()->isSignedIntegerType()); in EmitOpenCLKernelMetadata()
2214 size->getType()->isSignedIntegerType()) { in EmitVariablyModifiedType()
H A DCGException.cpp2062 FilterExpr->getType()->isSignedIntegerType()); in GenerateSEHFilterFunction()
H A DCGExpr.cpp2995 (T->isSignedIntegerType() ? 1 : 0); in EmitCheckTypeDescriptor()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp172 NestedType->isSignedIntegerType()); in VisitNonLocLocAsInteger()
H A DExprEngineC.cpp859 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); in VisitOffsetOfExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DPrintfFormatString.cpp855 if (QT->isSignedIntegerType()) in fixType()
888 else if (QT->isSignedIntegerType()) { in fixType()
H A DScanfFormatString.cpp516 else if (PT->isSignedIntegerType()) in fixType()
H A DType.cpp2006 bool Type::isSignedIntegerType() const { in isSignedIntegerType() function in Type
2016 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerType()
2033 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerOrEnumerationType()
H A DJSONNodeDumper.cpp1459 /*Radix=*/10, IL->getType()->isSignedIntegerType()); in VisitIntegerLiteral()
H A DTextNodeDumper.cpp1077 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
H A DStmtPrinter.cpp1125 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
H A DASTContext.cpp6401 return FT->isSignedIntegerType() ? IntTy : UnsignedIntTy; in isPromotableBitField()
6440 FromIsSigned == PromoteTypes[Idx]->isSignedIntegerType())) in getPromotedIntegerType()
6448 if (Promotable->isSignedIntegerType()) in getPromotedIntegerType()
11570 getIntWidth(Ty), Ty->isSignedIntegerType()); in getFixedPointSemantics()
H A DItaniumMangle.cpp4904 if (E->getType()->isSignedIntegerType()) in mangleExpression()
4926 if (IE->getSubExpr()->getType()->isSignedIntegerType()) in mangleExpression()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h309 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSignedIntegerType)
H A DType.h2346 bool isSignedIntegerType() const;
/freebsd-13.1/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1018 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && in rewriteToNumericBoxedExpression()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp2025 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast()
2026 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
H A DSemaChecking.cpp335 if (Ty->isExtIntType() && Ty->isSignedIntegerType() && in SemaBuiltinOverflow()
11463 (!E->getType()->isSignedIntegerType() || in isKnownToHaveUnsignedValue()
11464 !E->IgnoreParenImpCasts()->getType()->isSignedIntegerType()); in isKnownToHaveUnsignedValue()
11940 bool SignedBitfield = BitfieldType->isSignedIntegerType(); in AnalyzeBitFieldAssignment()
12003 TruncatedValue.setIsSigned(BitfieldType->isSignedIntegerType()); in AnalyzeBitFieldAssignment()
12494 else if (E->getType()->isSignedIntegerType()) in DiagnoseIntInBoolContext()
12878 if (Target->isSignedIntegerType()) in CheckImplicitConversion()
12886 Source->isSignedIntegerType()) { in CheckImplicitConversion()
H A DSemaOverload.cpp2077 (FromType->isSignedIntegerType() || in IsIntegralPromotion()
2149 bool FromIsSigned = FromType->isSignedIntegerType(); in IsIntegralPromotion()
2163 FromIsSigned == PromoteTypes[Idx]->isSignedIntegerType())) { in IsIntegralPromotion()
2197 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
H A DSemaExprCXX.cpp4926 (T->isSignedIntegerType() && !T->isEnumeralType()); in EvaluateUnaryTypeTrait()
H A DSemaInit.cpp1773 else if (elementType->isSignedIntegerType()) in CheckVectorType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6064 return Node->isSignedIntegerType(); in AST_MATCHER()

12