Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Sema/ !
H A DSemaStmt.cpp481 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() local
484 if (CondType->isDependentType() || E->isTypeDependent()) in ActOnCaseExpr()
491 return CheckConvertedConstantExpression(E, CondType, TempVal, in ActOnCaseExpr()
501 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast); in ActOnCaseExpr()
1220 QualType CondType = Cond->getType(); in checkEnumTypesInSwitchStmt() local
1223 const EnumType *CondEnumType = CondType->getAs<EnumType>(); in checkEnumTypesInSwitchStmt()
1236 if (S.Context.hasSameUnqualifiedType(CondType, CaseType)) in checkEnumTypesInSwitchStmt()
1240 << CondType << CaseType << Cond->getSourceRange() in checkEnumTypesInSwitchStmt()
1260 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt() local
1277 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt()
[all …]
H A DSemaExprCXX.cpp6653 QualType CondType = Cond.get()->getType(); in CheckVectorConditionalTypes() local
6654 const auto *CondVT = CondType->castAs<VectorType>(); in CheckVectorConditionalTypes()
6702 if (CondType->isExtVectorType()) in CheckVectorConditionalTypes()
6714 (!CondType->isExtVectorType() || ResultType->isExtVectorType()) && in CheckVectorConditionalTypes()
6721 Diag(QuestionLoc, diag::err_conditional_vector_size) << CondType in CheckVectorConditionalTypes()
6728 Diag(QuestionLoc, diag::err_conditional_vector_element_size) << CondType in CheckVectorConditionalTypes()
6743 QualType CondType = Cond.get()->getType(); in CheckSizelessVectorConditionalTypes() local
6744 const auto *CondBT = CondType->castAs<BuiltinType>(); in CheckSizelessVectorConditionalTypes()
6805 << CondType << ResultType; in CheckSizelessVectorConditionalTypes()
6812 << CondType << ResultType; in CheckSizelessVectorConditionalTypes()
/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ !
H A DInstCombineSelect.cpp3603 Type *CondType = CondVal->getType(); in visitSelectInst() local
3605 CondType->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
3607 ConstantInt::getTrue(CondType), SQ, in visitSelectInst()
3612 ConstantInt::getFalse(CondType), SQ, in visitSelectInst()
/src/contrib/llvm-project/llvm/lib/Bitcode/Reader/ !
H A DBitcodeReader.cpp5306 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local
5311 popValue(Record, OpNum, NextValueNo, CondType, in parseFunctionBody()
5312 getVirtualTypeID(CondType), Cond, CurBB)) in parseFunctionBody()
5496 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local
5497 Value *Cond = getValue(Record, 2, NextValueNo, CondType, in parseFunctionBody()
5498 getVirtualTypeID(CondType), CurBB); in parseFunctionBody()
/src/contrib/llvm-project/clang/lib/CodeGen/ !
H A DCGExprScalar.cpp5264 llvm::Type *CondType = ConvertType(condExpr->getType()); in VisitAbstractConditionalOperator() local
5265 auto *VecTy = cast<llvm::VectorType>(CondType); in VisitAbstractConditionalOperator()