Lines Matching refs:SwitchBB

1410                                                   MachineBasicBlock *SwitchBB,  in EmitBranchForMergedCondition()  argument
1421 if (CurBB == SwitchBB || in EmitBranchForMergedCondition()
1462 MachineBasicBlock *SwitchBB, in FindMergedConditions() argument
1472 EmitBranchForMergedCondition(Cond, TBB, FBB, CurBB, SwitchBB, in FindMergedConditions()
1508 FindMergedConditions(BOp->getOperand(0), TBB, TmpBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
1515 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
1542 FindMergedConditions(BOp->getOperand(0), TmpBB, FBB, CurBB, SwitchBB, Opc, in FindMergedConditions()
1549 FindMergedConditions(BOp->getOperand(1), TBB, FBB, TmpBB, SwitchBB, Opc, in FindMergedConditions()
1672 MachineBasicBlock *SwitchBB) { in visitSwitchCase() argument
1711 addSuccessorWithWeight(SwitchBB, CB.TrueBB, CB.TrueWeight); in visitSwitchCase()
1715 addSuccessorWithWeight(SwitchBB, CB.FalseBB, CB.FalseWeight); in visitSwitchCase()
1719 if (CB.TrueBB == NextBlock(SwitchBB)) { in visitSwitchCase()
1756 MachineBasicBlock *SwitchBB) { in visitJumpTableHeader() argument
1791 if (JT.MBB != NextBlock(SwitchBB)) in visitJumpTableHeader()
1883 MachineBasicBlock *SwitchBB) { in visitBitTestHeader() argument
1922 addSuccessorWithWeight(SwitchBB, B.Default); in visitBitTestHeader()
1923 addSuccessorWithWeight(SwitchBB, MBB); in visitBitTestHeader()
1930 if (MBB != NextBlock(SwitchBB)) in visitBitTestHeader()
1943 MachineBasicBlock *SwitchBB) { in visitBitTestCase() argument
1975 addSuccessorWithWeight(SwitchBB, B.TargetBB, B.ExtraWeight); in visitBitTestCase()
1977 addSuccessorWithWeight(SwitchBB, NextMBB, BranchWeightToNext); in visitBitTestCase()
1984 if (NextMBB != NextBlock(SwitchBB)) in visitBitTestCase()
2110 MachineBasicBlock *SwitchBB) { in handleSmallSwitchRange() argument
2133 if (Size == 2 && CR.CaseBB == SwitchBB) { in handleSmallSwitchRange()
2161 addSuccessorWithWeight(SwitchBB, Small.BB, in handleSmallSwitchRange()
2163 addSuccessorWithWeight(SwitchBB, Default, in handleSmallSwitchRange()
2165 BPI ? BPI->getEdgeWeight(SwitchBB->getBasicBlock(), (unsigned)0) : 0); in handleSmallSwitchRange()
2247 if (CurBlock == SwitchBB) in handleSmallSwitchRange()
2248 visitSwitchCase(CB, SwitchBB); in handleSmallSwitchRange()
2274 MachineBasicBlock *SwitchBB) { in handleJTSwitchCase() argument
2367 JumpTableHeader JTH(First, Last, SV, CR.CaseBB, (CR.CaseBB == SwitchBB)); in handleJTSwitchCase()
2368 if (CR.CaseBB == SwitchBB) in handleJTSwitchCase()
2369 visitJumpTableHeader(JT, JTH, SwitchBB); in handleJTSwitchCase()
2380 MachineBasicBlock* SwitchBB) { in handleBTSplitSwitchCase() argument
2443 splitSwitchCase(CR, Pivot, WorkList, SV, SwitchBB); in handleBTSplitSwitchCase()
2450 MachineBasicBlock *SwitchBB) { in splitSwitchCase() argument
2505 if (CR.CaseBB == SwitchBB) in splitSwitchCase()
2506 visitSwitchCase(CB, SwitchBB); in splitSwitchCase()
2518 MachineBasicBlock* SwitchBB) { in handleBitTestsSwitchCase() argument
2634 -1U, MVT::Other, (CR.CaseBB == SwitchBB), in handleBitTestsSwitchCase()
2637 if (CR.CaseBB == SwitchBB) in handleBitTestsSwitchCase()
2638 visitBitTestHeader(BTB, SwitchBB); in handleBitTestsSwitchCase()