Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp168 if (DestType->isSignedIntegerType()) in isLossOfPrecision()
178 if (SubType->isSignedIntegerType()) in isLossOfPrecision()
200 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
H A DMIGChecker.cpp168 .getCanonicalType()->isSignedIntegerType()) in isInMIGCall()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp163 NestedType->isSignedIntegerType()); in VisitNonLocLocAsInteger()
H A DExprEngineC.cpp863 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); in VisitOffsetOfExpr()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGAtomic.cpp639 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 DCodeGenFunction.cpp600 HintQTy->isSignedIntegerType() || in EmitKernelMetadata()
601 (HintEltQTy && HintEltQTy->getElementType()->isSignedIntegerType()); in EmitKernelMetadata()
2306 SEType->isSignedIntegerType() in EmitVariablyModifiedType()
H A DCGException.cpp2066 FilterExpr->getType()->isSignedIntegerType()); in GenerateSEHFilterFunction()
H A DCGBuiltin.cpp710 bool Signed = Type->isSignedIntegerType(); in getIntegerWidthAndSignedness()
3112 bool IsSigned = Ty->isSignedIntegerType(); in EmitBuiltinExpr()
3130 Result = Builder.CreateBinaryIntrinsic(Ty->isSignedIntegerType() in EmitBuiltinExpr()
3146 Result = Builder.CreateBinaryIntrinsic(Ty->isSignedIntegerType() in EmitBuiltinExpr()
3159 if (QT->isSignedIntegerType()) in EmitBuiltinExpr()
3174 if (QT->isSignedIntegerType()) in EmitBuiltinExpr()
H A DCGExpr.cpp3056 (T->isSignedIntegerType() ? 1 : 0); in EmitCheckTypeDescriptor()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DPrintfFormatString.cpp859 if (QT->isSignedIntegerType()) in fixType()
891 } else if (QT->isSignedIntegerType()) { in fixType()
H A DScanfFormatString.cpp518 else if (PT->isSignedIntegerType()) in fixType()
H A DType.cpp2042 bool Type::isSignedIntegerType() const { in isSignedIntegerType() function in Type
2052 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerType()
2071 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerOrEnumerationType()
H A DJSONNodeDumper.cpp1498 /*Radix=*/10, IL->getType()->isSignedIntegerType()); in VisitIntegerLiteral()
H A DTextNodeDumper.cpp1092 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
H A DItaniumMangle.cpp4976 if (E->getType()->isSignedIntegerType()) in mangleExpression()
4998 if (IE->getSubExpr()->getType()->isSignedIntegerType()) in mangleExpression()
H A DStmtPrinter.cpp1275 bool isSigned = Node->getType()->isSignedIntegerType(); in VisitIntegerLiteral()
H A DASTContext.cpp7135 return FT->isSignedIntegerType() ? IntTy : UnsignedIntTy; in isPromotableBitField()
7173 (FromSize == ToSize && FromIsSigned == PT->isSignedIntegerType())) in getPromotedIntegerType()
7181 if (Promotable->isSignedIntegerType()) in getPromotedIntegerType()
13259 getIntWidth(Ty), Ty->isSignedIntegerType()); in getFixedPointSemantics()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DCanonicalType.h308 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSignedIntegerType)
H A DType.h2483 bool isSignedIntegerType() const;
/openbsd-src/gnu/llvm/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1019 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && in rewriteToNumericBoxedExpression()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCast.cpp2043 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast()
2044 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
H A DSemaChecking.cpp412 if (Ty->isBitIntType() && Ty->isSignedIntegerType() && in SemaBuiltinOverflow()
12825 (!E->getType()->isSignedIntegerType() || in isKnownToHaveUnsignedValue()
12826 !E->IgnoreParenImpCasts()->getType()->isSignedIntegerType()); in isKnownToHaveUnsignedValue()
13301 bool SignedBitfield = BitfieldType->isSignedIntegerType(); in AnalyzeBitFieldAssignment()
13376 TruncatedValue.setIsSigned(BitfieldType->isSignedIntegerType()); in AnalyzeBitFieldAssignment()
13865 else if (E->getType()->isSignedIntegerType()) in DiagnoseIntInBoolContext()
14272 if (Target->isSignedIntegerType()) in CheckImplicitConversion()
14280 Source->isSignedIntegerType()) { in CheckImplicitConversion()
H A DSemaOverload.cpp2185 (FromType->isSignedIntegerType() || in IsIntegralPromotion()
2257 bool FromIsSigned = FromType->isSignedIntegerType(); in IsIntegralPromotion()
2271 FromIsSigned == PromoteTypes[Idx]->isSignedIntegerType())) { in IsIntegralPromotion()
2305 (FromType->isSignedIntegerType() && *BitWidth <= ToSize)) { in IsIntegralPromotion()
H A DSemaInit.cpp1787 else if (elementType->isSignedIntegerType()) in CheckVectorType()
9459 << DestType->isSignedIntegerType() << S.getLangOpts().CPlusPlus20; in Diagnose()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6258 return Node->isSignedIntegerType(); in AST_MATCHER()

12