Home
last modified time | relevance | path

Searched refs:CondType (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp475 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() local
478 if (CondType->isDependentType() || E->isTypeDependent()) in ActOnCaseExpr()
485 return CheckConvertedConstantExpression(E, CondType, TempVal, in ActOnCaseExpr()
495 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast); in ActOnCaseExpr()
1189 QualType CondType = Cond->getType(); in checkEnumTypesInSwitchStmt() local
1192 const EnumType *CondEnumType = CondType->getAs<EnumType>(); in checkEnumTypesInSwitchStmt()
1205 if (S.Context.hasSameUnqualifiedType(CondType, CaseType)) in checkEnumTypesInSwitchStmt()
1209 << CondType << CaseType << Cond->getSourceRange() in checkEnumTypesInSwitchStmt()
1229 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt() local
1246 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt()
[all …]
H A DSemaExprCXX.cpp6166 QualType CondType = Cond.get()->getType(); in CheckVectorConditionalTypes() local
6167 const auto *CondVT = CondType->castAs<VectorType>(); in CheckVectorConditionalTypes()
6217 if (CondType->isExtVectorType()) in CheckVectorConditionalTypes()
6229 (!CondType->isExtVectorType() || ResultType->isExtVectorType()) && in CheckVectorConditionalTypes()
6236 Diag(QuestionLoc, diag::err_conditional_vector_size) << CondType in CheckVectorConditionalTypes()
6243 Diag(QuestionLoc, diag::err_conditional_vector_element_size) << CondType in CheckVectorConditionalTypes()
6258 QualType CondType = Cond.get()->getType(); in CheckSizelessVectorConditionalTypes() local
6259 const auto *CondBT = CondType->castAs<BuiltinType>(); in CheckSizelessVectorConditionalTypes()
6320 << CondType << ResultType; in CheckSizelessVectorConditionalTypes()
6327 << CondType << ResultType; in CheckSizelessVectorConditionalTypes()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4925 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local
4930 popValue(Record, OpNum, NextValueNo, CondType, in parseFunctionBody()
4931 getVirtualTypeID(CondType), Cond, CurBB)) in parseFunctionBody()
5110 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local
5111 Value *Cond = getValue(Record, 2, NextValueNo, CondType, in parseFunctionBody()
5112 getVirtualTypeID(CondType), CurBB); in parseFunctionBody()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprScalar.cpp4653 llvm::Type *CondType = ConvertType(condExpr->getType()); in VisitAbstractConditionalOperator() local
4654 auto *VecTy = cast<llvm::VectorType>(CondType); in VisitAbstractConditionalOperator()