Home
last modified time | relevance | path

Searched refs:ConstantFoldsToSimpleInteger (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1555 bool CodeGenFunction::ConstantFoldsToSimpleInteger(const Expr *Cond, in ConstantFoldsToSimpleInteger() function in CodeGenFunction
1559 if (!ConstantFoldsToSimpleInteger(Cond, ResultInt, AllowLabels)) in ConstantFoldsToSimpleInteger()
1569 bool CodeGenFunction::ConstantFoldsToSimpleInteger(const Expr *Cond, in ConstantFoldsToSimpleInteger() function in CodeGenFunction
1688 if (ConstantFoldsToSimpleInteger(CondBOp->getLHS(), ConstantBool) && in EmitBranchOnBoolExpr()
1698 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr()
1739 if (ConstantFoldsToSimpleInteger(CondBOp->getLHS(), ConstantBool) && in EmitBranchOnBoolExpr()
1749 if (ConstantFoldsToSimpleInteger(CondBOp->getRHS(), ConstantBool) && in EmitBranchOnBoolExpr()
H A DCGStmt.cpp786 if (ConstantFoldsToSimpleInteger(S.getCond(), CondConstant, in EmitIfStmt()
1927 if (ConstantFoldsToSimpleInteger(S.getCond(), ConstantCondValue)) { in EmitSwitchStmt()
H A DCGStmtOpenMP.cpp2522 if (CGF.ConstantFoldsToSimpleInteger(S.getPreCond(), CondConstant)) { in emitOMPSimdRegion()
3234 if (ConstantFoldsToSimpleInteger(S.getPreCond(), CondConstant)) { in EmitOMPWorksharingLoop()
4543 if (ConstantFoldsToSimpleInteger(Cond, CondConstant)) in EmitOMPTaskBasedDirective()
5529 if (ConstantFoldsToSimpleInteger(S.getPreCond(), CondConstant)) { in EmitOMPDistributeLoop()
6595 if (CGF.ConstantFoldsToSimpleInteger(IfCond, Val) && !Val) in emitCommonOMPTargetDirective()
7584 if (CGF.ConstantFoldsToSimpleInteger(S.getPreCond(), CondConstant)) { in EmitOMPTaskLoopBasedDirective()
H A DCGExprScalar.cpp4342 if (CGF.ConstantFoldsToSimpleInteger(E->getLHS(), LHSCondVal)) { in VisitBinLAnd()
4458 if (CGF.ConstantFoldsToSimpleInteger(E->getLHS(), LHSCondVal)) { in VisitBinLOr()
4583 if (CGF.ConstantFoldsToSimpleInteger(condExpr, CondExprBool)) { in VisitAbstractConditionalOperator()
H A DCodeGenFunction.h4532 bool ConstantFoldsToSimpleInteger(const Expr *Cond, bool &Result,
4538 bool ConstantFoldsToSimpleInteger(const Expr *Cond, llvm::APSInt &Result,
H A DCGExpr.cpp4616 if (CGF.ConstantFoldsToSimpleInteger(condExpr, CondExprBool)) { in HandleConditionalOperatorLValueSimpleCase()
H A DCGOpenMPRuntime.cpp2008 if (CGF.ConstantFoldsToSimpleInteger(Cond, CondConstant)) { in emitIfClause()