Lines Matching refs:getCond
809 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt()
820 if (ConstantFoldsToSimpleInteger(S.getCond(), CondConstant, in EmitIfStmt()
873 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, ThenCount, LH); in EmitIfStmt()
875 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitIfStmt()
1017 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitWhileStmt()
1027 checkIfLoopMustProgress(S.getCond(), hasEmptyLoopBody(S))); in EmitWhileStmt()
1031 incrementProfileCounter(S.getCond()); in EmitWhileStmt()
1040 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt()
1131 incrementProfileCounter(S.getCond()); in EmitDoStmt()
1139 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitDoStmt()
1152 checkIfLoopMustProgress(S.getCond(), hasEmptyLoopBody(S))); in EmitDoStmt()
1159 createProfileWeightsForLoop(S.getCond(), BackedgeCount)); in EmitDoStmt()
1206 checkIfLoopMustProgress(S.getCond(), hasEmptyLoopBody(S))); in EmitForStmt()
1225 if (S.getCond()) { in EmitForStmt()
1240 incrementProfileCounter(S.getCond()); in EmitForStmt()
1253 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitForStmt()
1255 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt()
1356 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitCXXForRangeStmt()
1358 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt()
2135 if (ConstantFoldsToSimpleInteger(S.getCond(), ConstantCondValue)) { in EmitSwitchStmt()
2180 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt()
2255 auto *Call = dyn_cast<CallExpr>(S.getCond()); in EmitSwitchStmt()