Home
last modified time | relevance | path

Searched refs:BestSucc (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp674 MachineBasicBlock *BestSucc = nullptr; in selectBestSuccessor() local
704 if (BestSucc && BestProb >= SuccProb) in selectBestSuccessor()
706 BestSucc = Succ; in selectBestSuccessor()
709 return BestSucc; in selectBestSuccessor()
856 MachineBasicBlock *BestSucc = selectBestSuccessor(BB, Chain, BlockFilter); in buildChain() local
861 if (!BestSucc) in buildChain()
862 BestSucc = selectBestCandidateBlock(Chain, BlockWorkList); in buildChain()
863 if (!BestSucc) in buildChain()
864 BestSucc = selectBestCandidateBlock(Chain, EHPadWorkList); in buildChain()
866 if (!BestSucc) { in buildChain()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp1528 BlockAndTailDupResult BestSucc = { nullptr, false }; in selectBestSuccessor() local
1583 if (BestSucc.BB && BestProb >= SuccProb) { in selectBestSuccessor()
1589 BestSucc.BB = Succ; in selectBestSuccessor()
1613 BestSucc.BB = Succ; in selectBestSuccessor()
1614 BestSucc.ShouldTailDup = true; in selectBestSuccessor()
1619 if (BestSucc.BB) in selectBestSuccessor()
1620 LLVM_DEBUG(dbgs() << " Selected: " << getBlockName(BestSucc.BB) << "\n"); in selectBestSuccessor()
1622 return BestSucc; in selectBestSuccessor()
1775 MachineBasicBlock* BestSucc = Result.BB; in buildChain() local
1778 ShouldTailDup |= (BestSucc && canTailDuplicateUnplacedPreds(BB, BestSucc, in buildChain()
[all …]
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp769 unsigned BestSucc = GetBestDestForJumpOnUndef(BB); in ProcessBlock() local
774 if (i == BestSucc) continue; in ProcessBlock()
780 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm); in ProcessBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1053 unsigned BestSucc = GetBestDestForJumpOnUndef(BB); in ProcessBlock() local
1060 if (i == BestSucc) continue; in ProcessBlock()
1068 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm); in ProcessBlock()