Home
last modified time | relevance | path

Searched refs:PriorTBB (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
DBranchFolding.cpp1104 MachineBasicBlock *PriorTBB = nullptr, *PriorFBB = nullptr; in OptimizeBlock() local
1107 TII->AnalyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true); in OptimizeBlock()
1110 MadeChange |= PrevBB.CorrectExtraCFGEdges(PriorTBB, PriorFBB, in OptimizeBlock()
1116 if (PriorTBB && PriorTBB == PriorFBB) { in OptimizeBlock()
1120 if (PriorTBB != MBB) in OptimizeBlock()
1121 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock()
1134 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock()
1165 if (PriorTBB == MBB && !PriorFBB) { in OptimizeBlock()
1177 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock()
1186 if (PriorTBB == MBB) { in OptimizeBlock()
[all …]
DTailDuplication.cpp860 MachineBasicBlock *PriorTBB = nullptr, *PriorFBB = nullptr; in TailDuplicate() local
865 !TII->AnalyzeBranch(*PrevBB, PriorTBB, PriorFBB, PriorCond, true) && in TailDuplicate()
866 PriorCond.empty() && !PriorTBB && TailBB->pred_size() == 1 && in TailDuplicate()