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.cpp615 Constant *CmpLHSConst = dyn_cast<Constant>(V); in computeUnlikelySuccessors() local
616 if (!CmpLHSConst || !llvm::is_contained(successors(BB), B)) in computeUnlikelySuccessors()
621 CmpLHSConst = ConstantFoldBinaryOpOperands( in computeUnlikelySuccessors()
622 I->getOpcode(), CmpLHSConst, cast<Constant>(I->getOperand(1)), DL); in computeUnlikelySuccessors()
623 if (!CmpLHSConst) in computeUnlikelySuccessors()
626 if (!CmpLHSConst) in computeUnlikelySuccessors()
630 CI->getPredicate(), CmpLHSConst, CmpConst, DL); in computeUnlikelySuccessors()