Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp512 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() local
515 if (CondType->isDependentType() || E->isTypeDependent()) in ActOnCaseExpr()
522 return CheckConvertedConstantExpression(E, CondType, TempVal, in ActOnCaseExpr()
532 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast); in ActOnCaseExpr()
1281 QualType CondType = Cond->getType(); in checkEnumTypesInSwitchStmt() local
1284 const EnumType *CondEnumType = CondType->getAs<EnumType>(); in checkEnumTypesInSwitchStmt()
1297 if (S.Context.hasSameUnqualifiedType(CondType, CaseType)) in checkEnumTypesInSwitchStmt()
1301 << CondType << CaseType << Cond->getSourceRange() in checkEnumTypesInSwitchStmt()
1331 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt() local
1348 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt()
[all …]
H A DSemaExprCXX.cpp5659 QualType CondType = Cond.get()->getType(); in CheckVectorConditionalTypes() local
5660 const auto *CondVT = CondType->castAs<VectorType>(); in CheckVectorConditionalTypes()
5708 if (CondType->isExtVectorType()) in CheckVectorConditionalTypes()
5720 (!CondType->isExtVectorType() || ResultType->isExtVectorType()) && in CheckVectorConditionalTypes()
5727 Diag(QuestionLoc, diag::err_conditional_vector_size) << CondType in CheckVectorConditionalTypes()
5734 Diag(QuestionLoc, diag::err_conditional_vector_element_size) << CondType in CheckVectorConditionalTypes()
5749 QualType CondType = Cond.get()->getType(); in CheckSizelessVectorConditionalTypes() local
5750 const auto *CondBT = CondType->castAs<BuiltinType>(); in CheckSizelessVectorConditionalTypes()
5812 << CondType << ResultType; in CheckSizelessVectorConditionalTypes()
5819 << CondType << ResultType; in CheckSizelessVectorConditionalTypes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp3933 Type *CondType = CondVal->getType(); in visitSelectInst() local
3935 CondType->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
3937 ConstantInt::getTrue(CondType), SQ, in visitSelectInst()
3942 ConstantInt::getFalse(CondType), SQ, in visitSelectInst()
3947 ConstantInt::getTrue(CondType)) || in visitSelectInst()
3949 ConstantInt::getFalse(CondType))) in visitSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5395 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local
5400 popValue(Record, OpNum, NextValueNo, CondType, in parseFunctionBody()
5401 getVirtualTypeID(CondType), Cond, CurBB)) in parseFunctionBody()
5588 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local
5589 Value *Cond = getValue(Record, 2, NextValueNo, CondType, in parseFunctionBody()
5590 getVirtualTypeID(CondType), CurBB); in parseFunctionBody()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp5602 llvm::Type *CondType = ConvertType(condExpr->getType()); in VisitAbstractConditionalOperator() local
5603 auto *VecTy = cast<llvm::VectorType>(CondType); in VisitAbstractConditionalOperator()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp13460 auto *CondType = in getEntryCost() local
13462 unsigned CondNumElements = CondType->getNumElements(); in getEntryCost()
13471 *TTI, TTI::SK_PermuteSingleSrc, CondType, in getEntryCost()