Searched refs:isBooleanType (Results 1 – 25 of 40) sorted by relevance
12
42 static bool isBooleanType(QualType Ty) { in isBooleanType() function43 if (Ty->isBooleanType()) // C++ or C99 in isBooleanType()66 if (!isBooleanType(valTy)) in checkBind()
189 bool isBooleanType(Type Ty) { in isBooleanType() function247 return Ty != IceType_void && !isBooleanType(Ty); in isLoadStoreType()
92 bool isBooleanType(Type Ty); // scalar or vector
105 if (castTy->isBooleanType()) { in evalCastFromNonLoc()142 if (castTy->isBooleanType()) { in evalCastFromLoc()467 assert(resultTy->isBooleanType() || in evalBinOpNN()469 assert(symIntExpr->getType()->isBooleanType() || in evalBinOpNN()
477 if (castTy->isBooleanType()) { in evalCast()
1484 else if (Ty->isBooleanType()) in VisitConditionVariable()
180 if (T.isBooleanType() && in getScalarZeroExpressionForType()
1012 if (DestType->isBooleanType()) { in TryStaticCast()1827 && !SrcType->isBooleanType() in checkIntToPointerCast()2059 !DestType->isBooleanType(); in TryReinterpretCast()2315 (SrcType->isBooleanType() == DestType->isBooleanType()) && in DiagnoseBadFunctionCast()
533 (OutTy->isBooleanType() ? CK_IntegralToBoolean : CK_IntegralCast); in ActOnGCCAsmStmt()
218 if (getToType(1)->isBooleanType() && in isPointerConversionToBool()1533 if (!ToType->isBooleanType()) in IsStandardConversion()1652 } else if (ToType->isBooleanType() && in IsStandardConversion()1841 if (FromType->isPromotableIntegerType() && !FromType->isBooleanType() && in IsIntegralPromotion()1967 if (FromType->isBooleanType() && To->getKind() == BuiltinType::Int) { in IsIntegralPromotion()5086 SCS.getToType(2)->isBooleanType(); in CheckConvertedConstantConversions()
5135 } else if (ParamType->isBooleanType()) { in CheckTemplateArgument()5165 if (ParamType->isBooleanType()) { in CheckTemplateArgument()5561 } else if (T->isBooleanType()) { in BuildExpressionFromIntegralTemplateArgument()
3222 if (!QT->isIntegerType() || QT->isBooleanType() || QT->isCharType()) { in CheckLoopHintExpr()5878 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()6959 if (E->getType()->isBooleanType()) in ExprLooksBoolean()9563 !LHS.get()->getType()->isBooleanType() && in CheckLogicalOperands()9573 if ((getLangOpts().Bool && !RHS.get()->getType()->isBooleanType() && in CheckLogicalOperands()10186 if (S.getLangOpts().CPlusPlus && ResType->isBooleanType()) { in CheckIncrementDecrementOperand()
753 if (DstType->isBooleanType()) in EmitScalarConversion()858 if (SrcType->isBooleanType() && TreatBooleanAsSigned) { in EmitScalarConversion()905 if (DstTy->isBooleanType()) { in EmitComplexToScalarConversion()1073 if (DstEltType->isBooleanType()) { in VisitConvertVectorExpr()1521 assert(!DestTy->isBooleanType() && "bool should use PointerToBool"); in VisitCastExpr()1638 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec()1654 if (!type->isBooleanType() && type->isIntegerType() && in EmitScalarPrePostIncDec()1692 if (isInc && type->isBooleanType()) { in EmitScalarPrePostIncDec()2115 if (!type->isBooleanType() && type->isIntegerType() && in EmitCompoundAssignLValue()
40 return Node->isBooleanType(); in AST_MATCHER()
56 if (T->isBooleanType() && !Policy.MSVCFormatting) { in printIntegral()
350 if (Ty->isBooleanType()) in printPretty()
1715 if (FromIntType->isBooleanType()) { in PrintAPSInt()1759 if (IntType->isBooleanType()) { in PrintAPSInt()
1163 mangleIntegerLiteral(Value, E->getType()->isBooleanType()); in mangleExpression()1270 TA.getIntegralType()->isBooleanType()); in mangleTemplateArg()
116 if (E->getType()->isBooleanType()) return true; in isKnownToHaveBooleanValue()1573 assert(!getType()->isBooleanType() && "unheralded conversion to bool"); in CastConsistency()
292 bool isBoolean = ResultTy->isBooleanType(); in create_OSAtomicCompareAndSwap()
257 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
1629 bool isBooleanType() const;5746 inline bool Type::isBooleanType() const {
1007 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression()
META-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/ ...
4356 return Node.isBooleanType(); in AST_MATCHER()