Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp619 Constant *CmpLHSConst = dyn_cast<Constant>(V); in computeUnlikelySuccessors() local
620 if (!CmpLHSConst || !llvm::is_contained(successors(BB), B)) in computeUnlikelySuccessors()
625 CmpLHSConst = ConstantFoldBinaryOpOperands( in computeUnlikelySuccessors()
626 I->getOpcode(), CmpLHSConst, cast<Constant>(I->getOperand(1)), DL); in computeUnlikelySuccessors()
627 if (!CmpLHSConst) in computeUnlikelySuccessors()
630 if (!CmpLHSConst) in computeUnlikelySuccessors()
634 CI->getPredicate(), CmpLHSConst, CmpConst, DL); in computeUnlikelySuccessors()