Home
last modified time | relevance | path

Searched refs:CurTBB (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DBranchFolding.cpp1189 MachineBasicBlock *CurTBB = 0, *CurFBB = 0; in OptimizeBlock() local
1191 bool CurUnAnalyzable= TII->AnalyzeBranch(*MBB, CurTBB, CurFBB, CurCond, true); in OptimizeBlock()
1194 MadeChange |= MBB->CorrectExtraCFGEdges(CurTBB, CurFBB, !CurCond.empty()); in OptimizeBlock()
1201 if (CurTBB && CurFBB && CurFBB == MBB && CurTBB != MBB) { in OptimizeBlock()
1205 TII->InsertBranch(*MBB, CurFBB, CurTBB, NewCond, dl); in OptimizeBlock()
1214 if (CurTBB && CurCond.empty() && CurFBB == 0 && in OptimizeBlock()
1215 IsBranchOnlyBlock(MBB) && CurTBB != MBB && in OptimizeBlock()
1275 PMBB->ReplaceUsesOfBlockWith(MBB, CurTBB); in OptimizeBlock()
1296 MJTI->ReplaceMBBInJumpTables(MBB, CurTBB); in OptimizeBlock()
1306 TII->InsertBranch(*MBB, CurTBB, 0, CurCond, dl); in OptimizeBlock()
[all …]
/external/llvm/lib/CodeGen/
DBranchFolding.cpp1415 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/
DBranchFolding.cpp1638 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 …]