Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSelectOptimize.cpp205 Scaled64 getMispredictionCost(const SelectInst *SI, const Scaled64 CondCost);
896 Scaled64 CondCost = Scaled64::getZero(); in computeLoopCosts() local
899 CondCost = InstCostMap[CI].NonPredCost; in computeLoopCosts()
900 Scaled64 MispredictCost = getMispredictionCost(SI, CondCost); in computeLoopCosts()
933 const Scaled64 CondCost) { in getMispredictionCost() argument
948 std::max(Scaled64::get(MispredictPenalty), CondCost) * in getMispredictionCost()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp558 unsigned CondCost = in checkForProfitableCmovCandidates() local
563 if (ValCost > CondCost || (CondCost - ValCost) * 4 < MispredictPenalty) { in checkForProfitableCmovCandidates()