/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | TooSmallLoopVariableCheck.cpp | 101 assert(IntExprType->isIntegerType()); in calcMagnitudeBits() 122 if (!RHSEType->isIntegerType() || !LHSEType->isIntegerType()) in calcUpperBoundMagnitudeBits()
|
D | InfiniteLoopCheck.cpp | 57 if (!Var->getType().getTypePtr()->isIntegerType()) in isVarThatIsPossiblyChanged()
|
D | MisplacedWideningCastCheck.cpp | 87 return T->isIntegerType() ? Context.getIntWidth(T) : 1024U; in getMaxCalculationWidth()
|
/external/llvm-project/clang-tools-extra/clang-tidy/boost/ |
D | UseToStringCheck.cpp | 19 return Node.isIntegerType() && !Node.isAnyCharacterType() && in AST_MATCHER()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationConversionCastCheck.cpp | 53 if (MatchedCast->getTypeAsWritten()->isIntegerType() && in check()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | ExpectedTypes.cpp | 30 if (T->isIntegerType() && !T->isEnumeralType()) in toEquivClass()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | InitVariablesCheck.cpp | 84 if (TypePtr->isIntegerType()) in check()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | PointerArithChecker.cpp | 327 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) { in checkPreStmt() 334 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) { in checkPreStmt()
|
D | ConversionChecker.cpp | 137 if (!DestType->isRealType() || !SubType->isIntegerType()) in isLossOfPrecision()
|
D | FuchsiaHandleChecker.cpp | 328 PVD->getType()->isIntegerType()) { in checkPreCall() 420 PVD->getType()->isIntegerType()) { in checkPostCall()
|
D | UnixAPIChecker.cpp | 191 if (!QT->isIntegerType()) { in CheckOpenVariant()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PointerArithChecker.cpp | 327 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) { in checkPreStmt() 334 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) { in checkPreStmt()
|
D | UnixAPIChecker.cpp | 101 if (!QT->isIntegerType()) { in CheckOpen()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTypes.h | 93 bool isIntegerType(Type Ty); // scalar or vector
|
D | PNaClTranslator.cpp | 1619 if (Ice::isIntegerType(OpTy)) in isValidIntegerLogicalOp() 1760 if (Ice::isIntegerType(Ty)) { in convertBinopOpcode() 1768 if (Ice::isIntegerType(Ty)) { in convertBinopOpcode() 1776 if (Ice::isIntegerType(Ty)) { in convertBinopOpcode() 1787 if (Ice::isIntegerType(Ty)) { in convertBinopOpcode() 1798 if (Ice::isIntegerType(Ty)) { in convertBinopOpcode() 1846 return Ice::isIntegerType(SourceType) && Ice::isIntegerType(TargetType) && in isIntTruncCastValid() 1875 if (!(Ice::isFloatingType(SourceType) && Ice::isIntegerType(TargetType))) in isFloatToIntCastValid() 2382 if (isIntegerType(Op1Type)) { in ProcessRecord()
|
D | IceTypes.cpp | 192 bool isIntegerType(Type Ty) { in isIntegerType() function
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
D | UninitializedPointee.cpp | 73 if (getDecl()->getType()->isIntegerType()) in printPrefix()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | NonConstParameterCheck.cpp | 105 !(T->getPointeeType()->isIntegerType() || in addParm()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 880 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && in EmitConversionToBool() 1000 return SrcType->isIntegerType() && DstType->isIntegerType(); in PromotionIsPotentiallyEligibleForImplicitIntegerConversionCheck() 1215 if (DstType->isFixedPointType() || DstType->isIntegerType()) in EmitScalarConversion() 1221 if (SrcType->isIntegerType()) in EmitScalarConversion() 1290 assert(SrcType->isIntegerType() && "Not ptr->ptr or int->ptr conversion?"); in EmitScalarConversion() 1441 if (DstTy->isIntegerType()) in EmitFixedPointConversion() 1445 else if (SrcTy->isIntegerType()) in EmitFixedPointConversion() 2213 assert(DestTy->isIntegerType() && "Expected dest type to be an integer"); in VisitCastExpr() 2218 assert(E->getType()->isIntegerType() && in VisitCastExpr() 2397 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec() [all …]
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 1015 if (IntTy->isIntegerType()) { in handleIntegerToComplexFloatConversion() 1090 if (IntTy->isIntegerType()) { in handleIntToFloatConversion() 3222 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr() 4460 if (!IndexExpr->getType()->isIntegerType() && !IndexExpr->isTypeDependent()) in CreateBuiltinArraySubscriptExpr() 6403 !Int.get()->getType()->isIntegerType()) in checkPointerIntegerMismatch() 6446 if (!LHSType->isIntegerType() && !LHSType->isRealFloatingType()) { in OpenCLArithmeticConversions() 6452 if (!RHSType->isIntegerType() && !RHSType->isRealFloatingType()) { in OpenCLArithmeticConversions() 6525 if (EleTy->isIntegerType()) return false; in checkOpenCLConditionVector() 7440 if (RHSType->isIntegerType()) { in CheckAssignmentConstraints() 7486 if (RHSType->isIntegerType()) { in CheckAssignmentConstraints() [all …]
|
D | SemaStmtAsm.cpp | 473 if (InTy->isIntegerType() || InTy->isPointerType()) in ActOnGCCAsmStmt() 480 if (OutTy->isIntegerType() || OutTy->isPointerType()) in ActOnGCCAsmStmt()
|
D | SemaChecking.cpp | 83 if (!Ty->isIntegerType()) { in SemaBuiltinAnnotation() 126 if (!Ty->isIntegerType()) { in SemaBuiltinOverflow() 140 if (!(PtrTy && PtrTy->getPointeeType()->isIntegerType() && in SemaBuiltinOverflow() 394 if (!Arg1->getType()->isIntegerType()) { in SemaOpenCLBuiltinEnqueueKernel() 445 if (!Arg3->getType()->isIntegerType()) { in SemaOpenCLBuiltinEnqueueKernel() 592 if (!Arg2->getType()->isIntegerType() && in SemaBuiltinRWPipe() 626 if (!Call->getArg(1)->getType()->isIntegerType() && in SemaBuiltinReserveRWPipe() 1317 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() && in CheckARMBuiltinExclusiveCall() 2436 if (IsAddSub && !ValType->isIntegerType() && !ValType->isPointerType()) { in SemaAtomicOpsOverloaded() 2441 if (!IsAddSub && !ValType->isIntegerType()) { in SemaAtomicOpsOverloaded() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 1039 if (IntTy->isIntegerType()) { in handleIntegerToComplexFloatConversion() 1114 if (IntTy->isIntegerType()) { in handleIntToFloatConversion() 3632 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr() 4769 if (!IndexExpr->getType()->isIntegerType() && in CreateBuiltinMatrixSubscriptExpr() 5526 if (!IndexExpr->getType()->isIntegerType() && !IndexExpr->isTypeDependent()) in CreateBuiltinArraySubscriptExpr() 7906 !Int.get()->getType()->isIntegerType()) in checkPointerIntegerMismatch() 7949 if (!LHSType->isIntegerType() && !LHSType->isRealFloatingType()) { in OpenCLArithmeticConversions() 7955 if (!RHSType->isIntegerType() && !RHSType->isRealFloatingType()) { in OpenCLArithmeticConversions() 8028 if (EleTy->isIntegerType()) return false; in checkOpenCLConditionVector() 9143 if (RHSType->isIntegerType()) { in CheckAssignmentConstraints() [all …]
|
D | SemaStmtAsm.cpp | 605 if (InTy->isIntegerType() || InTy->isPointerType()) in ActOnGCCAsmStmt() 612 if (OutTy->isIntegerType() || OutTy->isPointerType()) in ActOnGCCAsmStmt()
|
D | SemaChecking.cpp | 139 if (!Ty->isIntegerType()) { in SemaBuiltinAnnotation() 217 return Ty->isIntegerType() && !Ty->isEnumeralType() && !Ty->isBooleanType(); in SemaBuiltinAlignment() 299 if (!Ty->isIntegerType()) { in SemaBuiltinOverflow() 317 !PtrTy->getPointeeType()->isIntegerType() || in SemaBuiltinOverflow() 974 if (!Arg1->getType()->isIntegerType()) { in SemaOpenCLBuiltinEnqueueKernel() 1025 if (!Arg3->getType()->isIntegerType()) { in SemaOpenCLBuiltinEnqueueKernel() 1178 if (!Arg2->getType()->isIntegerType() && in SemaBuiltinRWPipe() 1212 if (!Call->getArg(1)->getType()->isIntegerType() && in SemaBuiltinReserveRWPipe() 2362 if (!ValType->isIntegerType() && !ValType->isAnyPointerType() && in CheckARMBuiltinExclusiveCall() 4900 if (IsAddSub && !ValType->isIntegerType() in BuildAtomicExpr() [all …]
|