Home
last modified time | relevance | path

Searched refs:isIntegerType (Results 1 – 25 of 91) sorted by relevance

1234

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DTooSmallLoopVariableCheck.cpp101 assert(IntExprType->isIntegerType()); in calcMagnitudeBits()
122 if (!RHSEType->isIntegerType() || !LHSEType->isIntegerType()) in calcUpperBoundMagnitudeBits()
DInfiniteLoopCheck.cpp57 if (!Var->getType().getTypePtr()->isIntegerType()) in isVarThatIsPossiblyChanged()
DMisplacedWideningCastCheck.cpp87 return T->isIntegerType() ? Context.getIntWidth(T) : 1024U; in getMaxCalculationWidth()
/external/llvm-project/clang-tools-extra/clang-tidy/boost/
DUseToStringCheck.cpp19 return Node.isIntegerType() && !Node.isAnyCharacterType() && in AST_MATCHER()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DDurationConversionCastCheck.cpp53 if (MatchedCast->getTypeAsWritten()->isIntegerType() && in check()
/external/llvm-project/clang-tools-extra/clangd/
DExpectedTypes.cpp30 if (T->isIntegerType() && !T->isEnumeralType()) in toEquivClass()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DInitVariablesCheck.cpp84 if (TypePtr->isIntegerType()) in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp327 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) { in checkPreStmt()
334 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) { in checkPreStmt()
DConversionChecker.cpp137 if (!DestType->isRealType() || !SubType->isIntegerType()) in isLossOfPrecision()
DFuchsiaHandleChecker.cpp328 PVD->getType()->isIntegerType()) { in checkPreCall()
420 PVD->getType()->isIntegerType()) { in checkPostCall()
DUnixAPIChecker.cpp191 if (!QT->isIntegerType()) { in CheckOpenVariant()
/external/clang/lib/StaticAnalyzer/Checkers/
DPointerArithChecker.cpp327 if (Rhs->getType()->isIntegerType() && Lhs->getType()->isPointerType()) { in checkPreStmt()
334 if (Lhs->getType()->isIntegerType() && Rhs->getType()->isPointerType()) { in checkPreStmt()
DUnixAPIChecker.cpp101 if (!QT->isIntegerType()) { in CheckOpen()
/external/swiftshader/third_party/subzero/src/
DIceTypes.h93 bool isIntegerType(Type Ty); // scalar or vector
DPNaClTranslator.cpp1619 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()
DIceTypes.cpp192 bool isIntegerType(Type Ty) { in isIntegerType() function
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
DUninitializedPointee.cpp73 if (getDecl()->getType()->isIntegerType()) in printPrefix()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DNonConstParameterCheck.cpp105 !(T->getPointeeType()->isIntegerType() || in addParm()
/external/llvm-project/clang/lib/CodeGen/
DCGExprScalar.cpp880 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/
DSemaExpr.cpp1015 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 …]
DSemaStmtAsm.cpp473 if (InTy->isIntegerType() || InTy->isPointerType()) in ActOnGCCAsmStmt()
480 if (OutTy->isIntegerType() || OutTy->isPointerType()) in ActOnGCCAsmStmt()
DSemaChecking.cpp83 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/
DSemaExpr.cpp1039 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 …]
DSemaStmtAsm.cpp605 if (InTy->isIntegerType() || InTy->isPointerType()) in ActOnGCCAsmStmt()
612 if (OutTy->isIntegerType() || OutTy->isPointerType()) in ActOnGCCAsmStmt()
DSemaChecking.cpp139 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 …]

1234