Home
last modified time | relevance | path

Searched defs:InstructionCostDetail (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp206 struct InstructionCostDetail { struct
207 int CostBefore = 0;
208 int CostAfter = 0;
209 int ThresholdBefore = 0;
210 int ThresholdAfter = 0;
212 int getThresholdDelta() const { return ThresholdAfter - ThresholdBefore; } in getThresholdDelta()
214 int getCostDelta() const { return CostAfter - CostBefore; } in getCostDelta()
216 bool hasThresholdChanged() const { return ThresholdAfter != ThresholdBefore; } in hasThresholdChanged()