Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DDirectX.cpp68 Ints.push_back(/*IsSigned*/ ElemType->isSignedIntegerType()); in getHLSLType()
H A DMips.cpp382 Ty->isSignedIntegerType()); in EmitVAArg()
H A DSPIR.cpp542 Ty->isSignedIntegerType() ? "spirv.SignedImage" : "spirv.Image"; in getSPIRVImageTypeFromHLSLResource()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAMDGPU.cpp157 ArgTys[1]->isSignedIntegerType()) || in checkMovDPPFunctionCall()
158 (ArgTys[0]->isSignedIntegerType() && in checkMovDPPFunctionCall()
H A DSemaCast.cpp2110 if ((SrcTy->isUnsignedIntegerType() && DestTy->isSignedIntegerType()) || in CheckCompatibleReinterpretCast()
2111 (SrcTy->isSignedIntegerType() && DestTy->isUnsignedIntegerType())) { in CheckCompatibleReinterpretCast()
H A DSemaChecking.cpp469 if (Ty->isBitIntType() && Ty->isSignedIntegerType() && in BuiltinOverflow()
11031 (!E->getType()->isSignedIntegerType() || in isKnownToHaveUnsignedValue()
11032 !E->IgnoreParenImpCasts()->getType()->isSignedIntegerType()); in isKnownToHaveUnsignedValue()
11611 TruncatedValue.setIsSigned(BitfieldType->isSignedIntegerType()); in AnalyzeBitFieldAssignment()
11989 else if (E->getType()->isSignedIntegerType()) in DiagnoseIntInBoolContext()
12519 if (Target->isSignedIntegerType()) in CheckImplicitConversion()
12527 Source->isSignedIntegerType()) { in CheckImplicitConversion()
12560 Source->isSignedIntegerType() == Target->isSignedIntegerType()) { in CheckImplicitConversion()
H A DSemaTypeTraits.cpp846 (T->isSignedIntegerType() && !T->isEnumeralType()); in EvaluateUnaryTypeTrait()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMIGChecker.cpp171 .getCanonicalType()->isSignedIntegerType()) in isInMIGCall()
H A DBitwiseShiftChecker.cpp207 if (!operandExpr(Side)->getType()->isSignedIntegerType()) in checkOperandNegative()
H A DBuiltinFunctionChecker.cpp41 return ACtx.getIntTypeForBitwidth(BitWidth * 2, T->isSignedIntegerType()); in getSufficientTypeForOverflowOp()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp156 NestedType->isSignedIntegerType()); in VisitLocAsInteger()
H A DExprEngineC.cpp895 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); in VisitOffsetOfExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DFormatString.cpp607 if (CheckSign && A->isSignedIntegerType() != B->isSignedIntegerType()) in integerTypeMatch()
H A DPrintfFormatString.cpp928 if (QT->isSignedIntegerType()) in fixType()
960 } else if (QT->isSignedIntegerType()) { in fixType()
H A DScanfFormatString.cpp516 else if (PT->isSignedIntegerType()) in fixType()
H A DType.cpp2212 bool Type::isSignedIntegerType() const { in isSignedIntegerType() function in Type
2220 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerType()
2237 return ET->getDecl()->getIntegerType()->isSignedIntegerType(); in isSignedIntegerOrEnumerationType()
H A DJSONNodeDumper.cpp1628 /*Radix=*/10, IL->getType()->isSignedIntegerType()); in VisitIntegerLiteral()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLBuiltins.cpp167 if (QT->isSignedIntegerType()) in getDotProductIntrinsic()
408 assert(Ty->isSignedIntegerType()); in EmitHLSLBuiltinExpr()
H A DCGAtomic.cpp665 : (E->getValueType()->isSignedIntegerType() in EmitAtomicOp()
681 : (E->getValueType()->isSignedIntegerType() in EmitAtomicOp()
763 E->getValueType()->isSignedIntegerType(), in EmitAtomicOp()
H A DCGBuiltin.cpp868 bool Signed = Type->isSignedIntegerType(); in getIntegerWidthAndSignedness()
1137 bool IdxSigned = Idx->getType()->isSignedIntegerType(); in GetCountFieldAndIndex()
1240 bool IsSigned = CountFD->getType()->isSignedIntegerType(); in emitCountedByPointerSize()
1392 bool IsSigned = CountFD->getType()->isSignedIntegerType(); in emitCountedByMemberSize()
4038 bool IsSigned = Ty->isSignedIntegerType(); in EmitBuiltinExpr()
4057 Ty->isSignedIntegerType() ? Intrinsic::smax : Intrinsic::umax, Op0, in EmitBuiltinExpr()
4072 Ty->isSignedIntegerType() ? Intrinsic::smin : Intrinsic::umin, Op0, in EmitBuiltinExpr()
4118 if (QT->isSignedIntegerType()) in EmitBuiltinExpr()
4136 if (QT->isSignedIntegerType()) in EmitBuiltinExpr()
H A DCodeGenFunction.cpp645 HintQTy->isSignedIntegerType() || in EmitKernelMetadata()
646 (HintEltQTy && HintEltQTy->getElementType()->isSignedIntegerType()); in EmitKernelMetadata()
2557 SEType->isSignedIntegerType() in EmitVariablyModifiedType()
H A DCGException.cpp2085 FilterExpr->getType()->isSignedIntegerType()); in GenerateSEHFilterFunction()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h310 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSignedIntegerType)
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1016 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && in rewriteToNumericBoxedExpression()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprScalar.cpp590 kind == cir::UnaryOpKind::Minus && e->getType()->isSignedIntegerType(); in emitUnaryPlusOrMinus()

12