Home
last modified time | relevance | path

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

12

/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.cpp196 bool isIntegerType(Type Ty) { in isIntegerType() function
DIceInstARM32.cpp1647 if (isIntegerType(DestTy)) { in emit()
1688 if (isIntegerType(DestTy)) { in emitIAS()
1721 if (isIntegerType(DestTy)) { in emit()
1754 if (isIntegerType(SrcTy)) { in emitIAS()
DIceTargetLoweringARM32.cpp3261 assert(isIntegerType(DestTy)); in lowerArithmetic()
3275 assert(isIntegerType(DestTy)); in lowerArithmetic()
3288 assert(isIntegerType(DestTy)); in lowerArithmetic()
3870 assert(isIntegerType(Dest->getType()) && in lowerCall()
/external/v8/tools/clang/plugins/
DCheckIPCVisitor.cpp220 if (type->isIntegerType()) { in CheckType()
/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 …]
DSemaCast.cpp2218 && (SrcExpr.get()->getType()->isIntegerType() in CheckCXXCStyleCast()
2314 if (SrcType->isIntegerType() && DestType->isIntegerType() && in DiagnoseBadFunctionCast()
2470 (SrcType->isIntegerType() || SrcType->isFloatingType())) { in CheckCStyleCast()
DSemaExprObjC.cpp830 if (!Method->parameters()[1]->getType()->isIntegerType()) { in BuildObjCArrayLiteral()
986 if (!CountType->isIntegerType()) { in BuildObjCDictionaryLiteral()
2599 ReceiverType->isIntegerType())) { in BuildInstanceMessage()
DSemaCodeComplete.cpp6480 (ReturnType->isIntegerType() || ReturnType->isBooleanType())) || in AddObjCKeyValueCompletions()
6482 (Property->getType()->isIntegerType() || in AddObjCKeyValueCompletions()
6555 (ReturnType.isNull() || ReturnType->isIntegerType())) { in AddObjCKeyValueCompletions()
7024 ReturnType->isIntegerType() || in AddObjCKeyValueCompletions()
/external/clang/lib/Analysis/
DBodyFarm.cpp183 if (!PredicateTy->isIntegerType()) in create_dispatch_once()
/external/clang/include/clang/AST/
DCanonicalType.h255 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIntegerType)
DExpr.h2105 return cast<Expr>(getRHS()->getType()->isIntegerType() ? getLHS():getRHS()); in getBase()
2109 return cast<Expr>(getRHS()->getType()->isIntegerType() ? getLHS():getRHS()); in getBase()
2113 return cast<Expr>(getRHS()->getType()->isIntegerType() ? getRHS():getLHS()); in getIdx()
2117 return cast<Expr>(getRHS()->getType()->isIntegerType() ? getRHS():getLHS()); in getIdx()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp587 assert((SrcType->isIntegerType() || isa<llvm::PointerType>(Src->getType())) && in EmitConversionToBool()
795 assert(SrcType->isIntegerType() && "Not ptr->ptr or int->ptr conversion?"); in EmitScalarConversion()
1654 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec()
1696 } else if (type->isIntegerType()) { in EmitScalarPrePostIncDec()
2115 if (!type->isBooleanType() && type->isIntegerType() && in EmitCompoundAssignLValue()
2262 Ops.Ty->isIntegerType()) { in EmitDiv()
2298 if (Ops.Ty->isIntegerType()) in EmitRem()
DTargetInfo.cpp3706 bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg()
3708 Ty->isIntegerType() || Ty->isPointerType() || Ty->isAggregateType(); in EmitVAArg()
6484 if ((Ty->isIntegerType() && in EmitVAArg()
6513 llvm::Type *IntTy = (OrigTy->isIntegerType() ? Temp.getElementType() in EmitVAArg()
7121 if (Size < 64 && Ty->isIntegerType()) in classifyType()
DCGExpr.cpp1569 assert((LV.getType()->isIntegerType() || LV.getType()->isPointerType()) && in EmitLoadOfGlobalRegLValue()
1821 assert((Dst.getType()->isIntegerType() || Dst.getType()->isPointerType()) && in EmitStoreThroughGlobalRegLValue()
2318 if (T->isIntegerType()) { in EmitCheckTypeDescriptor()
/external/clang/lib/AST/
DExpr.cpp713 assert(type->isIntegerType() && "Illegal type in IntegerLiteral"); in IntegerLiteral()
1823 if (!AT || !AT->getElementType()->isIntegerType()) in isStringLiteralInit()
3168 CE->getSubExpr()->getType()->isIntegerType()) // from int. in isNullPointerConstant()
3220 if (!getType()->isIntegerType() || in isNullPointerConstant()
DExprConstant.cpp2223 assert(CharType->isIntegerType() && "unexpected character type"); in extractStringLiteralCharacter()
2240 assert(CharType->isIntegerType() && "unexpected character type"); in expandStringLiteral()
3000 if (!SubobjType->isIntegerType() || !RHS.isInt()) { in found()
3125 if (!SubobjType->isIntegerType()) { in found()
5878 if (SETy->isIntegerType()) { in VisitCastExpr()
5919 } else if (EltTy->isIntegerType()) { in VisitCastExpr()
5963 } else if (EltTy->isIntegerType()) { in VisitInitListExpr()
5992 if (EltTy->isIntegerType()) in ZeroInitialization()
8489 assert(SubExpr->getType()->isIntegerType() && in VisitImaginaryLiteral()
DType.cpp410 if (Complex->getElementType()->isIntegerType()) in getAsComplexIntegerType()
1601 return VT->getElementType()->isIntegerType(); in hasIntegerRepresentation()
1603 return isIntegerType(); in hasIntegerRepresentation()
DExprCXX.cpp673 if (ParamTy->isIntegerType()) in getLiteralOperatorKind()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4067 return Node->isIntegerType(); in AST_MATCHER()

12