Lines Matching defs:PDom
849 // PDom
852 // fallthrough of Succ into either D or PDom, because they now have C as an
856 MachineBasicBlock *PDom = nullptr;
873 // Find the PDom or the best Succ if no PDom exists.
878 if (PDom == nullptr)
880 PDom = SuccSucc;
918 if (PDom == nullptr || !Succ->isSuccessor(PDom)) {
928 BranchProbability UProb = MBPI->getEdgeProbability(Succ, PDom);
963 !hasBetterLayoutPredecessor(Succ, PDom, *BlockToChain[PDom], UProb, UProb,
1315 MachineBasicBlock *PDom = nullptr;
1319 PDom = Succ;
1324 if (PDom == nullptr)
1326 // If PDom has a hint that it is low probability, skip this triangle.
1327 if (MBPI->getEdgeProbability(&BB, PDom) < BranchProbability(50, 100))
1329 // If PDom isn't eligible for duplication, this isn't the kind of triangle
1331 if (!shouldTailDuplicate(PDom))
1334 // If PDom can't tail-duplicate into it's non-BB predecessors, then this
1336 for (MachineBasicBlock *Pred : PDom->predecessors()) {
1339 if (!TailDup.canTailDuplicate(PDom, Pred)) {
1344 // If we can't tail-duplicate PDom to its predecessors, then skip this
1352 // the find key is BB, but the insert/emplace key is PDom.
1359 Chain.append(PDom);
1362 auto InsertResult = TriangleChainMap.try_emplace(PDom, &BB, PDom);