Lines Matching refs:getCond
573 LexicalScope ConditionScope(*this, S.getCond()->getSourceRange()); in EmitIfStmt()
584 if (ConstantFoldsToSimpleInteger(S.getCond(), CondConstant, in EmitIfStmt()
613 EmitBranchOnBoolExpr(S.getCond(), ThenBlock, ElseBlock, in EmitIfStmt()
691 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitWhileStmt()
708 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitWhileStmt()
775 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitDoStmt()
791 createProfileWeightsForLoop(S.getCond(), BackedgeCount)); in EmitDoStmt()
839 if (S.getCond()) { in EmitForStmt()
857 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitForStmt()
860 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitForStmt()
935 llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond()); in EmitCXXForRangeStmt()
938 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitCXXForRangeStmt()
1485 if (ConstantFoldsToSimpleInteger(S.getCond(), ConstantCondValue)) { in EmitSwitchStmt()
1530 llvm::Value *CondV = EmitScalarExpr(S.getCond()); in EmitSwitchStmt()
1600 auto *Call = dyn_cast<CallExpr>(S.getCond()); in EmitSwitchStmt()