Lines Matching refs:getCond
603 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt()
614 if (ConstantFoldsToSimpleInteger(S.getCond(), CondConstant, in EmitIfStmt()
643 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, in EmitIfStmt()
711 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitWhileStmt()
728 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitWhileStmt()
797 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitDoStmt()
813 createProfileWeightsForLoop(S.getCond(), BackedgeCount)); in EmitDoStmt()
862 if (S.getCond()) { in EmitForStmt()
880 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitForStmt()
883 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitForStmt()
961 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitCXXForRangeStmt()
964 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitCXXForRangeStmt()
1562 if (ConstantFoldsToSimpleInteger(S.getCond(), ConstantCondValue)) { in EmitSwitchStmt()
1607 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt()
1677 auto *Call = dyn_cast<CallExpr>(S.getCond()); in EmitSwitchStmt()