| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ImplicitWideningOfMultiplicationResultCheck.cpp | 118 if (Ty->isSignedIntegerType() == ETy->isSignedIntegerType()) in handleImplicitCastExpr() 120 else if (Ty->isSignedIntegerType()) { in handleImplicitCastExpr() 127 assert(ETy->isSignedIntegerType() && in handleImplicitCastExpr() 183 QualType SizeTy = IndexExprType->isSignedIntegerType() ? SSizeTy : USizeTy; in handlePointerOffsetting() 187 IndexExprType->isSignedIntegerType() ? "ptrdiff_t" : "size_t"; in handlePointerOffsetting()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ConversionChecker.cpp | 168 if (DestType->isSignedIntegerType()) in isLossOfPrecision() 178 if (SubType->isSignedIntegerType()) in isLossOfPrecision() 200 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
|
| H A D | MIGChecker.cpp | 167 .getCanonicalType()->isSignedIntegerType()) in isInMIGCall()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SVals.cpp | 163 NestedType->isSignedIntegerType()); in VisitNonLocLocAsInteger()
|
| H A D | ExprEngineC.cpp | 862 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); in VisitOffsetOfExpr()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGAtomic.cpp | 639 Op = E->getValueType()->isSignedIntegerType() ? llvm::AtomicRMWInst::Min in EmitAtomicOp() 650 Op = E->getValueType()->isSignedIntegerType() ? llvm::AtomicRMWInst::Max in EmitAtomicOp() 703 E->getValueType()->isSignedIntegerType(), in EmitAtomicOp() 1246 LibCallName = E->getValueType()->isSignedIntegerType() in EmitAtomicExpr() 1259 LibCallName = E->getValueType()->isSignedIntegerType() in EmitAtomicExpr() 1323 E->getValueType()->isSignedIntegerType(), in EmitAtomicExpr()
|
| H A D | CodeGenFunction.cpp | 592 HintQTy->isSignedIntegerType() || in EmitKernelMetadata() 593 (HintEltQTy && HintEltQTy->getElementType()->isSignedIntegerType()); in EmitKernelMetadata() 2280 SEType->isSignedIntegerType() in EmitVariablyModifiedType()
|
| H A D | CGException.cpp | 2069 FilterExpr->getType()->isSignedIntegerType()); in GenerateSEHFilterFunction()
|
| H A D | CGBuiltin.cpp | 695 bool Signed = Type->isSignedIntegerType(); in getIntegerWidthAndSignedness() 3073 bool IsSigned = Ty->isSignedIntegerType(); in EmitBuiltinExpr() 3091 Result = Builder.CreateBinaryIntrinsic(Ty->isSignedIntegerType() in EmitBuiltinExpr() 3107 Result = Builder.CreateBinaryIntrinsic(Ty->isSignedIntegerType() in EmitBuiltinExpr() 3120 if (QT->isSignedIntegerType()) in EmitBuiltinExpr() 3135 if (QT->isSignedIntegerType()) in EmitBuiltinExpr()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | PrintfFormatString.cpp | 856 if (QT->isSignedIntegerType()) in fixType() 889 else if (QT->isSignedIntegerType()) { in fixType()
|
| H A D | ScanfFormatString.cpp | 516 else if (PT->isSignedIntegerType()) in fixType()
|
| H A D | Type.cpp | 2018 bool Type::isSignedIntegerType() const { in isSignedIntegerType() function in Type 2028 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerType() 2047 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerOrEnumerationType()
|
| H A D | JSONNodeDumper.cpp | 1466 /*Radix=*/10, IL->getType()->isSignedIntegerType()); in VisitIntegerLiteral()
|
| H A D | TextNodeDumper.cpp | 1092 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
|
| H A D | ItaniumMangle.cpp | 4974 if (E->getType()->isSignedIntegerType()) in mangleExpression() 4996 if (IE->getSubExpr()->getType()->isSignedIntegerType()) in mangleExpression()
|
| H A D | StmtPrinter.cpp | 1269 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
|
| H A D | ASTContext.cpp | 7029 return FT->isSignedIntegerType() ? IntTy : UnsignedIntTy; in isPromotableBitField() 7068 FromIsSigned == PromoteTypes[Idx]->isSignedIntegerType())) in getPromotedIntegerType() 7076 if (Promotable->isSignedIntegerType()) in getPromotedIntegerType() 12254 getIntWidth(Ty), Ty->isSignedIntegerType()); in getFixedPointSemantics()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 309 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSignedIntegerType)
|
| H A D | Type.h | 2422 bool isSignedIntegerType() const;
|
| /llvm-project-15.0.7/lldb/unittests/Symbol/ |
| H A D | TestTypeSystemClang.cpp | 190 EXPECT_TRUE(type_ptr->isSignedIntegerType()); in VerifyEncodingAndBitSize()
|
| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 1018 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && in rewriteToNumericBoxedExpression()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 2027 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast() 2028 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
|
| H A D | SemaChecking.cpp | 377 if (Ty->isBitIntType() && Ty->isSignedIntegerType() && in SemaBuiltinOverflow() 12502 (!E->getType()->isSignedIntegerType() || in isKnownToHaveUnsignedValue() 12503 !E->IgnoreParenImpCasts()->getType()->isSignedIntegerType()); in isKnownToHaveUnsignedValue() 12979 bool SignedBitfield = BitfieldType->isSignedIntegerType(); in AnalyzeBitFieldAssignment() 13042 TruncatedValue.setIsSigned(BitfieldType->isSignedIntegerType()); in AnalyzeBitFieldAssignment() 13533 else if (E->getType()->isSignedIntegerType()) in DiagnoseIntInBoolContext() 13940 if (Target->isSignedIntegerType()) in CheckImplicitConversion() 13948 Source->isSignedIntegerType()) { in CheckImplicitConversion()
|
| H A D | SemaOverload.cpp | 2078 (FromType->isSignedIntegerType() || in IsIntegralPromotion() 2150 bool FromIsSigned = FromType->isSignedIntegerType(); in IsIntegralPromotion() 2164 FromIsSigned == PromoteTypes[Idx]->isSignedIntegerType())) { in IsIntegralPromotion() 2198 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 6261 return Node->isSignedIntegerType(); in AST_MATCHER()
|