Lines Matching refs:addSuccessor
629 void addSuccessor(CFGBlock *B, CFGBlock *S, bool IsReachable = true) { in addSuccessor() function in __anon9e93f42b0111::CFGBuilder
630 B->addSuccessor(CFGBlock::AdjacentBlock(S, IsReachable), in addSuccessor()
636 void addSuccessor(CFGBlock *B, CFGBlock *ReachableBlock, CFGBlock *AltBlock) { in addSuccessor() function in __anon9e93f42b0111::CFGBuilder
637 B->addSuccessor(CFGBlock::AdjacentBlock(ReachableBlock, AltBlock), in addSuccessor()
1072 addSuccessor(B, JT.block); in buildCFG()
1087 addSuccessor(B, LI->second.block); in buildCFG()
1101 addSuccessor(B, Succ); in createBlock()
1111 addSuccessor(B, &cfg->getExit(), Succ); in createNoReturnBlock()
1693 addSuccessor(RHSBlock, TrueBlock); in VisitLogicalOperator()
1700 addSuccessor(RHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
1701 addSuccessor(RHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
1744 addSuccessor(LHSBlock, TrueBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
1745 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
1748 addSuccessor(LHSBlock, RHSBlock, !KnownVal.isFalse()); in VisitLogicalOperator()
1749 addSuccessor(LHSBlock, FalseBlock, !KnownVal.isTrue()); in VisitLogicalOperator()
1813 addSuccessor(Block, BreakJumpTarget.block); in VisitBreakStmt()
1904 addSuccessor(Block, TryTerminatedBlock); in VisitCallExpr()
1906 addSuccessor(Block, &cfg->getExit()); in VisitCallExpr()
1935 addSuccessor(Block, KnownVal.isFalse() ? nullptr : LHSBlock); in VisitChooseExpr()
1936 addSuccessor(Block, KnownVal.isTrue() ? nullptr : RHSBlock); in VisitChooseExpr()
2016 addSuccessor(Block, LHSBlock, !KnownVal.isFalse()); in VisitConditionalOperator()
2017 addSuccessor(Block, RHSBlock, !KnownVal.isTrue()); in VisitConditionalOperator()
2151 addSuccessor(Block, blockAfterStaticInit); in VisitDeclSubExpr()
2152 addSuccessor(Block, B); in VisitDeclSubExpr()
2232 addSuccessor(ThenBlock, sv.get()); in VisitIfStmt()
2263 addSuccessor(Block, ThenBlock, /* isReachable = */ !KnownVal.isFalse()); in VisitIfStmt()
2264 addSuccessor(Block, ElseBlock, /* isReachable = */ !KnownVal.isTrue()); in VisitIfStmt()
2298 addSuccessor(Block, &cfg->getExit()); in VisitReturnStmt()
2375 addSuccessor(Block, JT.block); in VisitGotoStmt()
2521 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitForStmt()
2524 addSuccessor(ExitConditionBlock, in VisitForStmt()
2530 addSuccessor(TransitionBlock, EntryConditionBlock); in VisitForStmt()
2654 addSuccessor(ExitConditionBlock, BodyBlock); in VisitObjCForCollectionStmt()
2659 addSuccessor(ExitConditionBlock, LoopSuccessor); in VisitObjCForCollectionStmt()
2834 addSuccessor(ExitConditionBlock, KnownVal.isFalse() ? nullptr : BodyBlock); in VisitWhileStmt()
2837 addSuccessor(ExitConditionBlock, in VisitWhileStmt()
2843 addSuccessor(TransitionBlock, EntryConditionBlock); in VisitWhileStmt()
2873 addSuccessor(Block, &cfg->getExit()); in VisitObjCAtThrowStmt()
2890 addSuccessor(Block, TryTerminatedBlock); in VisitCXXThrowExpr()
2893 addSuccessor(Block, &cfg->getExit()); in VisitCXXThrowExpr()
2984 addSuccessor(ExitConditionBlock, LoopBackBlock); in VisitDoStmt()
2987 addSuccessor(ExitConditionBlock, nullptr); in VisitDoStmt()
2992 addSuccessor(ExitConditionBlock, KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitDoStmt()
3017 addSuccessor(Block, ContinueJumpTarget.block); in VisitContinueStmt()
3133 addSuccessor(SwitchTerminatedBlock, DefaultCaseBlock, in VisitSwitchStmt()
3204 addSuccessor(LastBlock, currentBlock); in VisitCaseStmt()
3208 addSuccessor(SwitchTerminatedBlock, in VisitCaseStmt()
3235 addSuccessor(SwitchTerminatedBlock, CaseBlock, in VisitCaseStmt()
3243 addSuccessor(LastBlock, CaseBlock); in VisitCaseStmt()
3316 addSuccessor(NewTryTerminatedBlock, CatchBlock); in VisitCXXTryStmt()
3320 addSuccessor(NewTryTerminatedBlock, PrevTryTerminatedBlock); in VisitCXXTryStmt()
3322 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitCXXTryStmt()
3482 addSuccessor(ConditionBlock, in VisitCXXForRangeStmt()
3488 addSuccessor(ConditionBlock, KnownVal.isTrue() ? nullptr : LoopSuccessor); in VisitCXXForRangeStmt()
3607 addSuccessor(Block, IBlock); in VisitIndirectGotoStmt()
3796 addSuccessor(Decision, Block, !Context.KnownExecuted.isFalse()); in InsertTempDtorDecisionBlock()
3797 addSuccessor(Decision, FalseSucc ? FalseSucc : Context.Succ, in InsertTempDtorDecisionBlock()
3925 void CFGBlock::addSuccessor(AdjacentBlock Succ, in addSuccessor() function in CFGBlock