Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp230 BranchInst *PredBr = dyn_cast<BranchInst>(PredBB->getTerminator()); in updatePredecessorProfileMetadata() local
231 if (PredBr && PredBr->isConditional()) in updatePredecessorProfileMetadata()
265 BranchInst *PredBr = dyn_cast<BranchInst>(PredBB->getTerminator()); in updatePredecessorProfileMetadata() local
266 if (!PredBr) in updatePredecessorProfileMetadata()
274 if (PredBr->extractProfMetadata(PredTrueWeight, PredFalseWeight)) in updatePredecessorProfileMetadata()
283 if (PredBr->getSuccessor(0) == PredOutEdge.second) { in updatePredecessorProfileMetadata()
290 PredBr->setMetadata(LLVMContext::MD_prof, in updatePredecessorProfileMetadata()
291 MDBuilder(PredBr->getParent()->getContext()) in updatePredecessorProfileMetadata()
1740 if (BranchInst *PredBr = dyn_cast<BranchInst>(PredBB->getTerminator())) in ProcessBranchOnPHI() local
1741 if (PredBr->isUnconditional()) { in ProcessBranchOnPHI()