| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 508 Expr *CondExpr = in ActOnCaseExpr() local 510 if (!CondExpr) in ActOnCaseExpr() 512 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() 973 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local 974 assert((CondExpr || ConstevalOrNegatedConsteval) && in ActOnIfStmt() 977 if (CondExpr && (getLangOpts().C99 || getLangOpts().CPlusPlus) && in ActOnIfStmt() 978 !Diags.isIgnored(diag::warn_comma_operator, CondExpr->getExprLoc())) in ActOnIfStmt() 979 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt() 1186 Expr *CondExpr = Cond.get().second; in ActOnStartOfSwitchStmt() local 1187 assert((Cond.isInvalid() || CondExpr) && "switch with no condition"); in ActOnStartOfSwitchStmt() [all …]
|
| H A D | SemaType.cpp | 2169 if (const auto *CondExpr = dyn_cast_if_present<ConditionalOperator>( in BuildArrayType() local 2172 CondExpr->getLHS()->getIntegerConstantExpr(Context); in BuildArrayType() 2174 CondExpr->getRHS()->getIntegerConstantExpr(Context); in BuildArrayType() 7584 Sema::ActOnEffectExpression(Expr *CondExpr, StringRef AttributeName) { in ActOnEffectExpression() argument 7585 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) in ActOnEffectExpression() 7589 CondExpr->getIntegerConstantExpr(Context); in ActOnEffectExpression() 7593 Diag(CondExpr->getExprLoc(), diag::err_attribute_argument_type) in ActOnEffectExpression() 7595 << CondExpr->getSourceRange(); in ActOnEffectExpression() 7626 Expr *CondExpr = nullptr; // only valid if dependent in handleNonBlockingNonAllocatingTypeAttr() local 7637 CondExpr = PAttr.getArgAsExpr(0); in handleNonBlockingNonAllocatingTypeAttr() [all …]
|
| H A D | SemaOpenMP.cpp | 8996 ExprResult CondExpr = in buildPreCond() local 9001 if (CondExpr.isUsable()) { in buildPreCond() 9002 if (!SemaRef.Context.hasSameUnqualifiedType(CondExpr.get()->getType(), in buildPreCond() 9004 CondExpr = SemaRef.PerformImplicitConversion( in buildPreCond() 9005 CondExpr.get(), SemaRef.Context.BoolTy, in buildPreCond() 9011 return CondExpr.isUsable() ? CondExpr.get() : Cond; in buildPreCond() 14492 ExprResult CondExpr = in ActOnOpenMPTileDirective() local 14495 if (!CondExpr.isUsable()) in ActOnOpenMPTileDirective() 14528 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective() 14553 ExprResult CondExpr = SemaRef.BuildBinOp( in ActOnOpenMPTileDirective() local [all …]
|
| H A D | SemaExpr.cpp | 8875 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument 8882 commonExpr = CondExpr; in ActOnConditionalOp() 8921 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp() 8927 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp() 16261 Expr *CondExpr, in ActOnChooseExpr() argument 16264 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr() 16270 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr() 16276 CondExpr, &condEval, diag::err_typecheck_choose_expr_requires_constant); in ActOnChooseExpr() 16279 CondExpr = CondICE.get(); in ActOnChooseExpr() 16290 return new (Context) ChooseExpr(BuiltinLoc, CondExpr, LHSExpr, RHSExpr, in ActOnChooseExpr()
|
| H A D | TreeTransform.h | 4582 ExprResult CondExpr = getDerived().TransformExpr(Expr); in TransformCondition() local 4584 if (CondExpr.isInvalid()) in TransformCondition() 4587 return getSema().ActOnCondition(nullptr, Loc, CondExpr.get(), Kind, in TransformCondition() 6511 if (Expr *CondExpr = PrevEC.Cond.getCondition()) { in TransformFunctionProtoType() local 6512 ExprResult NewExpr = getDerived().TransformExpr(CondExpr); in TransformFunctionProtoType()
|
| H A D | SemaExprCXX.cpp | 4413 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument 4428 ExprResult E = PerformContextuallyConvertToBool(CondExpr); in CheckCXXBooleanCondition()
|
| H A D | SemaTemplate.cpp | 3171 OpaqueValueExpr CondExpr(SourceLocation(), S.Context.BoolTy, in builtinCommonTypeImpl() local 3173 ExprResult Cond = &CondExpr; in builtinCommonTypeImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseOpenACC.cpp | 1029 ExprResult CondExpr = ParseOpenACCConditionExpr(); in ParseOpenACCClauseParams() local 1030 ParsedClause.setConditionDetails(CondExpr.isUsable() ? CondExpr.get() in ParseOpenACCClauseParams() 1033 if (CondExpr.isInvalid()) { in ParseOpenACCClauseParams() 1187 ExprResult CondExpr = ParseOpenACCConditionExpr(); in ParseOpenACCClauseParams() local 1188 ParsedClause.setConditionDetails(CondExpr.isUsable() ? CondExpr.get() in ParseOpenACCClauseParams() 1191 if (CondExpr.isInvalid()) { in ParseOpenACCClauseParams()
|
| H A D | ParseStmt.cpp | 1258 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition() local 1261 if (CondExpr.isInvalid()) in ParseParenExprOrCondition() 1264 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK, in ParseParenExprOrCondition() 1280 ExprResult CondExpr = Actions.CreateRecoveryExpr( in ParseParenExprOrCondition() local 1283 if (!CondExpr.isInvalid()) in ParseParenExprOrCondition() 1284 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK, in ParseParenExprOrCondition() 2113 ExprResult CondExpr = Actions.CreateRecoveryExpr( in ParseForStatement() local 2118 if (!CondExpr.isInvalid()) in ParseForStatement() 2120 CondExpr.get(), CK, in ParseForStatement()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenACCClause.cpp | 658 if (const Expr *CondExpr = C.getConditionExpr()) { in VisitSelfClause() local 660 printExpr(CondExpr); in VisitSelfClause()
|
| H A D | ExprConstant.cpp | 5826 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2997 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthMessageExpr() local 3001 CondExpr); in SynthMessageExpr() 3732 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthesizeBlockCall() local 3735 return CondExpr; in SynthesizeBlockCall()
|
| H A D | RewriteModernObjC.cpp | 4554 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthesizeBlockCall() local 4557 return CondExpr; in SynthesizeBlockCall()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 643 llvm::Value **CondExpr = nullptr, const Expr **ThreadLimitExpr = nullptr);
|
| H A D | CGOpenMPRuntime.cpp | 6469 const Expr *CondExpr = IfClause->getCondition(); in getNumThreads() local 6471 if (CondExpr->EvaluateAsBooleanCondition(Result, CGF.getContext())) { in getNumThreads() 6477 CodeGenFunction::LexicalScope Scope(CGF, CondExpr->getSourceRange()); in getNumThreads() 6489 *CondVal = CGF.EvaluateExprAsBool(CondExpr); in getNumThreads()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | MasmParser.cpp | 5509 const MCExpr *CondExpr; in parseDirectiveWhile() local 5511 if (parseExpression(CondExpr)) in parseDirectiveWhile() 5524 if (!CondExpr->evaluateAsAbsolute(Condition, getStreamer().getAssemblerPtr())) in parseDirectiveWhile()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 3157 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local 3158 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 7481 SourceLocation ColonLoc, Expr *CondExpr, 7519 ExprResult ActOnChooseExpr(SourceLocation BuiltinLoc, Expr *CondExpr, 8619 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false); 15332 ActOnEffectExpression(Expr *CondExpr, StringRef AttributeName);
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 6199 createNodeForSelectViaUMinSeq(ScalarEvolution *SE, const SCEV *CondExpr, in createNodeForSelectViaUMinSeq() argument 6201 assert(CondExpr->getType()->isIntegerTy(1) && in createNodeForSelectViaUMinSeq() 6220 CondExpr = SE->getNotSCEV(CondExpr); in createNodeForSelectViaUMinSeq() 6227 return SE->getAddExpr(C, SE->getUMinExpr(CondExpr, SE->getMinusSCEV(X, C), in createNodeForSelectViaUMinSeq()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 12683 Expr *CondExpr = readSubExpr(); in readOpenACCClause() local 12684 return OpenACCIfClause::Create(getContext(), BeginLoc, LParenLoc, CondExpr, in readOpenACCClause() 12691 Expr *CondExpr = readBool() ? readSubExpr() : nullptr; in readOpenACCClause() local 12693 CondExpr, EndLoc); in readOpenACCClause()
|