Searched refs:PriorTBB (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1277 MachineBasicBlock *PriorTBB = nullptr, *PriorFBB = nullptr; in OptimizeBlock() local 1280 TII->analyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true); in OptimizeBlock() 1283 MadeChange |= PrevBB.CorrectExtraCFGEdges(PriorTBB, PriorFBB, in OptimizeBlock() 1289 if (PriorTBB && PriorTBB == PriorFBB) { in OptimizeBlock() 1293 if (PriorTBB != MBB) in OptimizeBlock() 1294 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock() 1307 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock() 1338 if (PriorTBB == MBB && !PriorFBB) { in OptimizeBlock() 1350 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock() 1359 if (PriorTBB == MBB) { in OptimizeBlock() [all …]
|
D | TailDuplicator.cpp | 812 MachineBasicBlock *PriorTBB = nullptr, *PriorFBB = nullptr; in tailDuplicate() local 817 !TII->analyzeBranch(*PrevBB, PriorTBB, PriorFBB, PriorCond, true) && in tailDuplicate() 818 PriorCond.empty() && !PriorTBB && TailBB->pred_size() == 1 && in tailDuplicate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1463 MachineBasicBlock *PriorTBB = nullptr, *PriorFBB = nullptr; in OptimizeBlock() local 1466 TII->analyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true); in OptimizeBlock() 1469 MadeChange |= PrevBB.CorrectExtraCFGEdges(PriorTBB, PriorFBB, in OptimizeBlock() 1475 if (PriorTBB && PriorTBB == PriorFBB) { in OptimizeBlock() 1479 if (PriorTBB != MBB) in OptimizeBlock() 1480 TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock() 1493 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock() 1524 if (PriorTBB == MBB && !PriorFBB) { in OptimizeBlock() 1536 TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock() 1545 if (PriorTBB == MBB) { in OptimizeBlock() [all …]
|
D | TailDuplicator.cpp | 884 MachineBasicBlock *PriorTBB = nullptr, *PriorFBB = nullptr; in tailDuplicate() local 891 !TII->analyzeBranch(*PrevBB, PriorTBB, PriorFBB, PriorCond) && in tailDuplicate() 893 (!PriorTBB || PriorTBB == TailBB) && in tailDuplicate()
|