Searched refs:CondType (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 475 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 D | SemaExprCXX.cpp | 6288 QualType CondType = Cond.get()->getType(); in CheckVectorConditionalTypes() local 6289 const auto *CondVT = CondType->castAs<VectorType>(); in CheckVectorConditionalTypes() 6337 if (CondType->isExtVectorType()) in CheckVectorConditionalTypes() 6349 (!CondType->isExtVectorType() || ResultType->isExtVectorType()) && in CheckVectorConditionalTypes() 6356 Diag(QuestionLoc, diag::err_conditional_vector_size) << CondType in CheckVectorConditionalTypes() 6363 Diag(QuestionLoc, diag::err_conditional_vector_element_size) << CondType in CheckVectorConditionalTypes() 6378 QualType CondType = Cond.get()->getType(); in CheckSizelessVectorConditionalTypes() local 6379 const auto *CondBT = CondType->castAs<BuiltinType>(); in CheckSizelessVectorConditionalTypes() 6440 << CondType << ResultType; in CheckSizelessVectorConditionalTypes() 6447 << CondType << ResultType; in CheckSizelessVectorConditionalTypes()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 3099 Type *CondType = CondVal->getType(); in visitSelectInst() local 3101 CondType->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst() 3103 ConstantInt::getTrue(CondType), SQ, in visitSelectInst() 3108 ConstantInt::getFalse(CondType), SQ, in visitSelectInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 5090 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local 5095 popValue(Record, OpNum, NextValueNo, CondType, in parseFunctionBody() 5096 getVirtualTypeID(CondType), Cond, CurBB)) in parseFunctionBody() 5275 Type *CondType = Type::getInt1Ty(Context); in parseFunctionBody() local 5276 Value *Cond = getValue(Record, 2, NextValueNo, CondType, in parseFunctionBody() 5277 getVirtualTypeID(CondType), CurBB); in parseFunctionBody()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 4824 llvm::Type *CondType = ConvertType(condExpr->getType()); in VisitAbstractConditionalOperator() local 4825 auto *VecTy = cast<llvm::VectorType>(CondType); in VisitAbstractConditionalOperator()
|