Home
last modified time | relevance | path

Searched refs:isArithmeticType (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAMDGPU.cpp143 if (!ArgTys[I]->isArithmeticType() || ArgTys[I]->isAnyComplexType()) { in checkMovDPPFunctionCall()
H A DSemaCast.cpp3247 if (!DestType->isArithmeticType()) { in CheckCStyleCast()
3248 if (!SrcType->isIntegralType(Self.Context) && SrcType->isArithmeticType()) { in CheckCStyleCast()
3257 } else if (!SrcType->isArithmeticType()) { in CheckCStyleCast()
3259 DestType->isArithmeticType()) { in CheckCStyleCast()
H A DSemaExpr.cpp1670 if (!LHSType->isArithmeticType() || !RHSType->isArithmeticType()) in UsualArithmeticConversions()
4161 if (!(T->isArithmeticType() || T->isVoidType() || T->isVectorType())) { in CheckVecStepTraitOperandType()
4803 if (V.get()->getType()->isArithmeticType()) in CheckRealImagOperand()
8584 if (LHSTy->isArithmeticType() && RHSTy->isArithmeticType()) { in CheckConditionalOperands()
9342 if (RHSType->isArithmeticType()) { in CheckAssignmentConstraints()
9433 if (LHSType->isArithmeticType() && RHSType->isArithmeticType() && in CheckAssignmentConstraints()
10187 if (!VectorEltTy->isArithmeticType() || !ScalarTy->isArithmeticType()) in tryGCCVectorConvertAndSplat()
10763 if (IsDiv && LHSTy->isConstantMatrixType() && RHSTy->isArithmeticType()) in CheckMultiplyDivideOperands()
10773 if (compType.isNull() || !compType->isArithmeticType()) in CheckMultiplyDivideOperands()
11173 if (!compType.isNull() && compType->isArithmeticType()) { in CheckAdditionOperands()
[all …]
H A DSemaObjCProperty.cpp1380 lhsType->isArithmeticType()) { in ActOnPropertyImplDecl()
1726 if (lhsType != rhsType && lhsType->isArithmeticType()) in DiagnosePropertyAccessorMismatch()
H A DSemaHLSL.cpp1894 if (Ty->isArithmeticType() || Ty->isVectorType()) { in DiagnoseLocalRegisterBinding()
3204 if (QT->isArithmeticType()) { in IsTypedResourceElementCompatible()
H A DSemaTypeTraits.cpp769 return T->isArithmeticType() && !T->isEnumeralType(); in EvaluateUnaryTypeTrait()
H A DSemaOverload.cpp2085 if (ToType->isBooleanType() && FromType->isArithmeticType()) { in IsVectorElementConversion()
2171 if (FromType->isArithmeticType()) { in IsVectorConversion()
2421 (FromType->isArithmeticType() || in IsStandardConversion()
2437 } else if ((FromType->isAnyComplexType() && ToType->isArithmeticType()) || in IsStandardConversion()
2438 (ToType->isAnyComplexType() && FromType->isArithmeticType())) { in IsStandardConversion()
9054 HasArithmeticOrEnumeralTypes || Ty->isArithmeticType(); in AddTypesConvertedFrom()
H A DSemaExprCXX.cpp6075 if (LTy->isArithmeticType() && RTy->isArithmeticType()) { in CXXCheckConditionalOperands()
H A DSemaOpenMP.cpp19158 (S.getLangOpts().CPlusPlus && Type->isArithmeticType()))) { in actOnOMPReductionKindClause()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h621 (LTy->isArithmeticType() && RTy->isArithmeticType())) { in doTypeConversion()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h284 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isArithmeticType)
H A DType.h2554 bool isArithmeticType() const; // C99 6.2.5p18 (integer + floating)
8325 (isArithmeticType() && !isEnumeralType());
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExpr.cpp647 assert(e->getSubExpr()->getType()->isArithmeticType()); in emitUnaryOpLValue()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp2336 bool Type::isArithmeticType() const { in isArithmeticType() function in Type
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp4029 assert(BO->getRHS()->getType().getCanonicalType()->isArithmeticType() && in EmitDiv()
H A DCGExpr.cpp3389 assert(E->getSubExpr()->getType()->isArithmeticType()); in EmitUnaryOpLValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc10891 {"_ZNK5clang4Type16isArithmeticTypeEv", "clang::Type::isArithmeticType() const"},