Searched refs:CurTBB (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1415 MachineBasicBlock *CurTBB = nullptr, *CurFBB = nullptr; in OptimizeBlock() local 1418 TII->analyzeBranch(*MBB, CurTBB, CurFBB, CurCond, true); in OptimizeBlock() 1421 MadeChange |= MBB->CorrectExtraCFGEdges(CurTBB, CurFBB, !CurCond.empty()); in OptimizeBlock() 1428 if (CurTBB && CurFBB && CurFBB == MBB && CurTBB != MBB) { in OptimizeBlock() 1433 TII->InsertBranch(*MBB, CurFBB, CurTBB, NewCond, dl); in OptimizeBlock() 1442 if (CurTBB && CurCond.empty() && !CurFBB && in OptimizeBlock() 1443 IsBranchOnlyBlock(MBB) && CurTBB != MBB && in OptimizeBlock() 1496 PMBB->ReplaceUsesOfBlockWith(MBB, CurTBB); in OptimizeBlock() 1518 MJTI->ReplaceMBBInJumpTables(MBB, CurTBB); in OptimizeBlock() 1528 TII->InsertBranch(*MBB, CurTBB, nullptr, CurCond, dl); in OptimizeBlock() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1638 MachineBasicBlock *CurTBB = nullptr, *CurFBB = nullptr; in OptimizeBlock() local 1641 TII->analyzeBranch(*MBB, CurTBB, CurFBB, CurCond, true); in OptimizeBlock() 1644 MadeChange |= MBB->CorrectExtraCFGEdges(CurTBB, CurFBB, !CurCond.empty()); in OptimizeBlock() 1651 if (CurTBB && CurFBB && CurFBB == MBB && CurTBB != MBB) { in OptimizeBlock() 1656 TII->insertBranch(*MBB, CurFBB, CurTBB, NewCond, dl); in OptimizeBlock() 1665 if (CurTBB && CurCond.empty() && !CurFBB && in OptimizeBlock() 1666 IsBranchOnlyBlock(MBB) && CurTBB != MBB && in OptimizeBlock() 1719 PMBB->ReplaceUsesOfBlockWith(MBB, CurTBB); in OptimizeBlock() 1741 MJTI->ReplaceMBBInJumpTables(MBB, CurTBB); in OptimizeBlock() 1751 TII->insertBranch(*MBB, CurTBB, nullptr, CurCond, dl); in OptimizeBlock() [all …]
|