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
981 SelectCost = std::max(SelectCost, ICM.PredCost); in findProfitableSIGroupsInnerLoops()
1221 if (LoopCost[0].NonPredCost > LoopCost[0].PredCost || in checkLoopHeuristics()
1222 LoopCost[1].NonPredCost >= LoopCost[1].PredCost) { in checkLoopHeuristics()
1229 Scaled64 Gain[2] = {LoopCost[0].PredCost - LoopCost[0].NonPredCost, in checkLoopHeuristics()
1230 LoopCost[1].PredCost - LoopCost[1].NonPredCost}; in checkLoopHeuristics()
1236 Gain[1] * Scaled64::get(GainRelativeThreshold) < LoopCost[1].PredCost) { in checkLoopHeuristics()
1237 Scaled64 RelativeGain = Scaled64::get(100) * Gain[1] / LoopCost[1].PredCost; in checkLoopHeuristics()
1253 (LoopCost[1].PredCost - LoopCost[0].PredCost); in checkLoopHeuristics()
1308 IPredCost = std::max(IPredCost, It->second.PredCost); in computeLoopCosts()
[all …]
H A DTargetInstrInfo.cpp1817 unsigned *PredCost) const { in getInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.h211 unsigned *PredCost = nullptr) const override;
H A DR600InstrInfo.cpp973 unsigned *PredCost) const { in getInstrLatency()
974 if (PredCost) in getInstrLatency()
975 *PredCost = 2; in getInstrLatency()
H A DSIInstrInfo.h1489 unsigned *PredCost = nullptr) const override;
H A DSIInstrInfo.cpp10003 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.cpp1975 unsigned *PredCost) const { in getInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h445 unsigned *PredCost = nullptr) const override;
H A DPPCInstrInfo.cpp138 unsigned *PredCost) const { in getInstrLatency()
140 return PPCGenInstrInfo::getInstrLatency(ItinData, MI, PredCost); in getInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp1987 unsigned PredCost = (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor; in isProfitableToIfCvt() local
2005 PredCost -= 1 * ScalingUpFactor; in isProfitableToIfCvt()
2014 PredCost += ((TCycles + FCycles - 4) / 4) * ScalingUpFactor; in isProfitableToIfCvt()
2025 return PredCost <= UnpredCost; in isProfitableToIfCvt()
4580 unsigned *PredCost) const { in getInstrLatency()
4593 Latency += getInstrLatency(ItinData, *I, PredCost); in getInstrLatency()
4599 if (PredCost && (MCID.isCall() || (MCID.hasImplicitDefOfPhysReg(ARM::CPSR) && in getInstrLatency()
4603 *PredCost = 1; in getInstrLatency()
H A DARMBaseInstrInfo.h455 unsigned *PredCost = nullptr) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h1866 unsigned *PredCost = nullptr) const;