Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSelectOptimize.cpp140 Scaled64 PredCost; member
608 SelectCost = std::max(SelectCost, InstCostMap[SI].PredCost); in findProfitableSIGroupsInnerLoops()
825 if (LoopCost[0].NonPredCost > LoopCost[0].PredCost || in checkLoopHeuristics()
826 LoopCost[1].NonPredCost >= LoopCost[1].PredCost) { in checkLoopHeuristics()
833 Scaled64 Gain[2] = {LoopCost[0].PredCost - LoopCost[0].NonPredCost, in checkLoopHeuristics()
834 LoopCost[1].PredCost - LoopCost[1].NonPredCost}; in checkLoopHeuristics()
840 Gain[1] * Scaled64::get(GainRelativeThreshold) < LoopCost[1].PredCost) { in checkLoopHeuristics()
841 Scaled64 RelativeGain = Scaled64::get(100) * Gain[1] / LoopCost[1].PredCost; in checkLoopHeuristics()
857 (LoopCost[1].PredCost - LoopCost[0].PredCost); in checkLoopHeuristics()
911 IPredCost = std::max(IPredCost, InstCostMap[UI].PredCost); in computeLoopCosts()
[all …]
H A DTargetInstrInfo.cpp1286 unsigned *PredCost) const { in getInstrLatency()
/openbsd-src/gnu/llvm/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.h1172 unsigned *PredCost = nullptr) const override;
H A DSIInstrInfo.cpp8351 unsigned *PredCost) const { in getInstrLatency()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h282 unsigned *PredCost = nullptr) const override;
H A DHexagonInstrInfo.cpp1970 unsigned *PredCost) const { in getInstrLatency()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h439 unsigned *PredCost = nullptr) const override;
H A DPPCInstrInfo.cpp140 unsigned *PredCost) const { in getInstrLatency()
142 return PPCGenInstrInfo::getInstrLatency(ItinData, MI, PredCost); in getInstrLatency()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp2157 unsigned PredCost = (TCycles + FCycles + TExtra + FExtra) * ScalingUpFactor; in isProfitableToIfCvt() local
2175 PredCost -= 1 * ScalingUpFactor; in isProfitableToIfCvt()
2184 PredCost += ((TCycles + FCycles - 4) / 4) * ScalingUpFactor; in isProfitableToIfCvt()
2195 return PredCost <= UnpredCost; in isProfitableToIfCvt()
4754 unsigned *PredCost) const { in getInstrLatency()
4767 Latency += getInstrLatency(ItinData, *I, PredCost); in getInstrLatency()
4773 if (PredCost && (MCID.isCall() || (MCID.hasImplicitDefOfPhysReg(ARM::CPSR) && in getInstrLatency()
4777 *PredCost = 1; in getInstrLatency()
H A DARMBaseInstrInfo.h457 unsigned *PredCost = nullptr) const override;
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h1676 unsigned *PredCost = nullptr) const;