Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp122 Scaled64 PredCost; member
878 SelectCost = std::max(SelectCost, InstCostMap[SI.getI()].PredCost); in findProfitableSIGroupsInnerLoops()
1105 if (LoopCost[0].NonPredCost > LoopCost[0].PredCost || in checkLoopHeuristics()
1106 LoopCost[1].NonPredCost >= LoopCost[1].PredCost) { in checkLoopHeuristics()
1113 Scaled64 Gain[2] = {LoopCost[0].PredCost - LoopCost[0].NonPredCost, in checkLoopHeuristics()
1114 LoopCost[1].PredCost - LoopCost[1].NonPredCost}; in checkLoopHeuristics()
1120 Gain[1] * Scaled64::get(GainRelativeThreshold) < LoopCost[1].PredCost) { in checkLoopHeuristics()
1121 Scaled64 RelativeGain = Scaled64::get(100) * Gain[1] / LoopCost[1].PredCost; in checkLoopHeuristics()
1137 (LoopCost[1].PredCost - LoopCost[0].PredCost); in checkLoopHeuristics()
1191 IPredCost = std::max(IPredCost, InstCostMap[UI].PredCost); in computeLoopCosts()
[all …]
H A DTargetInstrInfo.cpp1506 unsigned *PredCost) const { in getInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.h209 unsigned *PredCost = nullptr) const override;
H A DR600InstrInfo.cpp983 unsigned *PredCost) const { in getInstrLatency()
984 if (PredCost) in getInstrLatency()
985 *PredCost = 2; in getInstrLatency()
H A DSIInstrInfo.h1425 unsigned *PredCost = nullptr) const override;
H A DSIInstrInfo.cpp9536 unsigned *PredCost) const { in getInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h282 unsigned *PredCost = nullptr) const override;
H A DHexagonInstrInfo.cpp1972 unsigned *PredCost) const { in getInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h335 unsigned *PredCost = nullptr) const override;
H A DPPCInstrInfo.cpp140 unsigned *PredCost) const { in getInstrLatency()
142 return PPCGenInstrInfo::getInstrLatency(ItinData, MI, PredCost); in getInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp2144 unsigned PredCost = (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor; in isProfitableToIfCvt() local
2162 PredCost -= 1 * ScalingUpFactor; in isProfitableToIfCvt()
2171 PredCost += ((TCycles + FCycles - 4) / 4) * ScalingUpFactor; in isProfitableToIfCvt()
2182 return PredCost <= UnpredCost; in isProfitableToIfCvt()
4737 unsigned *PredCost) const { in getInstrLatency()
4750 Latency += getInstrLatency(ItinData, *I, PredCost); in getInstrLatency()
4756 if (PredCost && (MCID.isCall() || (MCID.hasImplicitDefOfPhysReg(ARM::CPSR) && in getInstrLatency()
4760 *PredCost = 1; in getInstrLatency()
H A DARMBaseInstrInfo.h464 unsigned *PredCost = nullptr) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h1791 unsigned *PredCost = nullptr) const;