Searched refs:CondType (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 476 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() local 479 if (CondType->isDependentType() || E->isTypeDependent()) in ActOnCaseExpr() 486 return CheckConvertedConstantExpression(E, CondType, TempVal, in ActOnCaseExpr() 496 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast); in ActOnCaseExpr() 1197 QualType CondType = Cond->getType(); in checkEnumTypesInSwitchStmt() local 1200 const EnumType *CondEnumType = CondType->getAs<EnumType>(); in checkEnumTypesInSwitchStmt() 1213 if (S.Context.hasSameUnqualifiedType(CondType, CaseType)) in checkEnumTypesInSwitchStmt() 1217 << CondType << CaseType << Cond->getSourceRange() in checkEnumTypesInSwitchStmt() 1237 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt() local 1254 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt() [all …]
|
H A D | SemaExprCXX.cpp | 6405 QualType CondType = Cond.get()->getType(); in CheckVectorConditionalTypes() local 6406 const auto *CondVT = CondType->castAs<VectorType>(); in CheckVectorConditionalTypes() 6454 if (CondType->isExtVectorType()) in CheckVectorConditionalTypes() 6466 (!CondType->isExtVectorType() || ResultType->isExtVectorType()) && in CheckVectorConditionalTypes() 6473 Diag(QuestionLoc, diag::err_conditional_vector_size) << CondType in CheckVectorConditionalTypes() 6480 Diag(QuestionLoc, diag::err_conditional_vector_element_size) << CondType in CheckVectorConditionalTypes() 6495 QualType CondType = Cond.get()->getType(); in CheckSizelessVectorConditionalTypes() local 6496 const auto *CondBT = CondType->castAs<BuiltinType>(); in CheckSizelessVectorConditionalTypes() 6557 << CondType << ResultType; in CheckSizelessVectorConditionalTypes() 6564 << CondType << ResultType; in CheckSizelessVectorConditionalTypes()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 3382 Type *CondType = CondVal->getType(); in visitSelectInst() local 3384 CondType->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst() 3386 ConstantInt::getTrue(CondType), SQ, in visitSelectInst() 3391 ConstantInt::getFalse(CondType), SQ, in visitSelectInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 5129 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local 5134 popValue(Record, OpNum, NextValueNo, CondType, in parseFunctionBody() 5135 getVirtualTypeID(CondType), Cond, CurBB)) in parseFunctionBody() 5319 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local 5320 Value *Cond = getValue(Record, 2, NextValueNo, CondType, in parseFunctionBody() 5321 getVirtualTypeID(CondType), CurBB); in parseFunctionBody()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 4922 llvm::Type *CondType = ConvertType(condExpr->getType()); in VisitAbstractConditionalOperator() local 4923 auto *VecTy = cast<llvm::VectorType>(CondType); in VisitAbstractConditionalOperator()
|