Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp195 struct InstructionCostDetail { struct
196 int CostBefore = 0;
197 int CostAfter = 0;
198 int ThresholdBefore = 0;
199 int ThresholdAfter = 0;
201 int getThresholdDelta() const { return ThresholdAfter - ThresholdBefore; } in getThresholdDelta()
203 int getCostDelta() const { return CostAfter - CostBefore; } in getCostDelta()
205 bool hasThresholdChanged() const { return ThresholdAfter != ThresholdBefore; } in hasThresholdChanged()