Home
last modified time | relevance | path

Searched refs:CondExpr (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp472 Expr *CondExpr = in ActOnCaseExpr() local
474 if (!CondExpr) in ActOnCaseExpr()
898 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local
904 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt()
1102 Expr *CondExpr = Cond.get().second; in ActOnStartOfSwitchStmt() local
1105 if (CondExpr && !CondExpr->isTypeDependent()) { in ActOnStartOfSwitchStmt()
1117 << CondExpr->getSourceRange(); in ActOnStartOfSwitchStmt()
1234 Expr *CondExpr = SS->getCond(); in ActOnFinishSwitchStmt() local
1235 if (!CondExpr) return StmtError(); in ActOnFinishSwitchStmt()
1253 = CondExpr->isTypeDependent() || CondExpr->isValueDependent(); in ActOnFinishSwitchStmt()
[all …]
H A DSemaExpr.cpp9700 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
9706 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp()
9721 CondExpr = CondResult.get(); in ActOnConditionalOp()
9731 commonExpr = CondExpr; in ActOnConditionalOp()
9770 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp()
9776 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp()
16901 Expr *CondExpr, in ActOnChooseExpr() argument
16904 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr()
16910 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr()
16919 CondExpr = CondICE.get(); in ActOnChooseExpr()
[all …]
H A DSemaOpenMP.cpp9152 ExprResult CondExpr = in buildPreCond() local
9157 if (CondExpr.isUsable()) { in buildPreCond()
9158 if (!SemaRef.Context.hasSameUnqualifiedType(CondExpr.get()->getType(), in buildPreCond()
9160 CondExpr = SemaRef.PerformImplicitConversion( in buildPreCond()
9166 return CondExpr.isUsable() ? CondExpr.get() : Cond; in buildPreCond()
15095 ExprResult CondExpr = BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), in ActOnOpenMPTileDirective() local
15097 if (!CondExpr.isUsable()) in ActOnOpenMPTileDirective()
15125 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
15156 ExprResult CondExpr = BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), in ActOnOpenMPTileDirective() local
15158 if (!CondExpr.isUsable()) in ActOnOpenMPTileDirective()
[all …]
H A DSemaType.cpp2597 if (const auto *CondExpr = dyn_cast_if_present<ConditionalOperator>( in BuildArrayType() local
2600 CondExpr->getLHS()->getIntegerConstantExpr(Context); in BuildArrayType()
2602 CondExpr->getRHS()->getIntegerConstantExpr(Context); in BuildArrayType()
H A DSemaExprCXX.cpp4071 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument
4086 ExprResult E = PerformContextuallyConvertToBool(CondExpr); in CheckCXXBooleanCondition()
H A DTreeTransform.h4289 ExprResult CondExpr = getDerived().TransformExpr(Expr); in TransformCondition() local
4291 if (CondExpr.isInvalid()) in TransformCondition()
4294 return getSema().ActOnCondition(nullptr, Loc, CondExpr.get(), Kind, in TransformCondition()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenACC.cpp673 ExprResult CondExpr = ParseOpenACCConditionalExpr(*this); in ParseOpenACCClauseParams() local
676 if (CondExpr.isInvalid()) in ParseOpenACCClauseParams()
768 ExprResult CondExpr = ParseOpenACCConditionalExpr(*this); in ParseOpenACCClauseParams() local
771 if (CondExpr.isInvalid()) in ParseOpenACCClauseParams()
H A DParseStmt.cpp1339 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition() local
1342 if (CondExpr.isInvalid()) in ParseParenExprOrCondition()
1345 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK, in ParseParenExprOrCondition()
1361 ExprResult CondExpr = Actions.CreateRecoveryExpr( in ParseParenExprOrCondition() local
1364 if (!CondExpr.isInvalid()) in ParseParenExprOrCondition()
1365 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK, in ParseParenExprOrCondition()
2216 ExprResult CondExpr = Actions.CreateRecoveryExpr( in ParseForStatement() local
2221 if (!CondExpr.isInvalid()) in ParseForStatement()
2223 CondExpr.get(), CK, in ParseForStatement()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2999 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthMessageExpr() local
3003 CondExpr); in SynthMessageExpr()
3740 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthesizeBlockCall() local
3743 return CondExpr; in SynthesizeBlockCall()
H A DRewriteModernObjC.cpp4572 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthesizeBlockCall() local
4575 return CondExpr; in SynthesizeBlockCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h661 llvm::Value **CondExpr = nullptr, const Expr **ThreadLimitExpr = nullptr);
H A DCGOpenMPRuntime.cpp6208 const Expr *CondExpr = IfClause->getCondition(); in getNumThreads() local
6210 if (CondExpr->EvaluateAsBooleanCondition(Result, CGF.getContext())) { in getNumThreads()
6216 CodeGenFunction::LexicalScope Scope(CGF, CondExpr->getSourceRange()); in getNumThreads()
6228 *CondVal = CGF.EvaluateExprAsBool(CondExpr); in getNumThreads()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp3041 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local
3042 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp6971 const MCExpr *CondExpr; in parseDirectiveWhile() local
6973 if (parseExpression(CondExpr)) in parseDirectiveWhile()
6986 if (!CondExpr->evaluateAsAbsolute(Condition, getStreamer().getAssemblerPtr())) in parseDirectiveWhile()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp6180 createNodeForSelectViaUMinSeq(ScalarEvolution *SE, const SCEV *CondExpr, in createNodeForSelectViaUMinSeq() argument
6182 assert(CondExpr->getType()->isIntegerTy(1) && in createNodeForSelectViaUMinSeq()
6201 CondExpr = SE->getNotSCEV(CondExpr); in createNodeForSelectViaUMinSeq()
6208 return SE->getAddExpr(C, SE->getUMinExpr(CondExpr, SE->getMinusSCEV(X, C), in createNodeForSelectViaUMinSeq()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h6089 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
6128 Expr *CondExpr, Expr *LHSExpr,
13285 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp5515 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local