Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp122 Scaled64 PredCost; member
825 SelectCost = std::max(SelectCost, InstCostMap[SI.getI()].PredCost); in findProfitableSIGroupsInnerLoops()
1052 if (LoopCost[0].NonPredCost > LoopCost[0].PredCost || in checkLoopHeuristics()
1053 LoopCost[1].NonPredCost >= LoopCost[1].PredCost) { in checkLoopHeuristics()
1060 Scaled64 Gain[2] = {LoopCost[0].PredCost - LoopCost[0].NonPredCost, in checkLoopHeuristics()
1061 LoopCost[1].PredCost - LoopCost[1].NonPredCost}; in checkLoopHeuristics()
1067 Gain[1] * Scaled64::get(GainRelativeThreshold) < LoopCost[1].PredCost) { in checkLoopHeuristics()
1084 (LoopCost[1].PredCost - LoopCost[0].PredCost); in checkLoopHeuristics()
1138 IPredCost = std::max(IPredCost, InstCostMap[UI].PredCost); in computeLoopCosts()
1179 MaxCost.PredCost = std::max(MaxCost.PredCost, IPredCost); in computeLoopCosts()
[all …]
H A DTargetInstrInfo.cpp1446 unsigned *PredCost) const { in getInstrLatency()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.h209 unsigned *PredCost = nullptr) const override;
H A DR600InstrInfo.cpp985 unsigned *PredCost) const { in getInstrLatency()
986 if (PredCost) in getInstrLatency()
987 *PredCost = 2; in getInstrLatency()
H A DSIInstrInfo.h1352 unsigned *PredCost = nullptr) const override;
H A DSIInstrInfo.cpp9412 unsigned *PredCost) const { in getInstrLatency()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h282 unsigned *PredCost = nullptr) const override;
H A DHexagonInstrInfo.cpp1971 unsigned *PredCost) const { in getInstrLatency()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h322 unsigned *PredCost = nullptr) const override;
H A DPPCInstrInfo.cpp140 unsigned *PredCost) const { in getInstrLatency()
142 return PPCGenInstrInfo::getInstrLatency(ItinData, MI, PredCost); in getInstrLatency()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp2143 unsigned PredCost = (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor; in isProfitableToIfCvt() local
2161 PredCost -= 1 * ScalingUpFactor; in isProfitableToIfCvt()
2170 PredCost += ((TCycles + FCycles - 4) / 4) * ScalingUpFactor; in isProfitableToIfCvt()
2181 return PredCost <= UnpredCost; in isProfitableToIfCvt()
4736 unsigned *PredCost) const { in getInstrLatency()
4749 Latency += getInstrLatency(ItinData, *I, PredCost); in getInstrLatency()
4755 if (PredCost && (MCID.isCall() || (MCID.hasImplicitDefOfPhysReg(ARM::CPSR) && in getInstrLatency()
4759 *PredCost = 1; in getInstrLatency()
H A DARMBaseInstrInfo.h459 unsigned *PredCost = nullptr) const override;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h1755 unsigned *PredCost = nullptr) const;