Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp206 int FoldedCost = TargetTransformInfo::TCC_Free; in isSafeAndProfitableToSpeculateAroundPHI() member
277 int &FoldedCost = IncomingConstantAndCostsAndCount.second.FoldedCost; in isSafeAndProfitableToSpeculateAroundPHI() local
279 FoldedCost += TTI.getIntImmCost(IID, Idx, IncomingC->getValue(), in isSafeAndProfitableToSpeculateAroundPHI()
282 FoldedCost += in isSafeAndProfitableToSpeculateAroundPHI()
290 if (FoldedCost > MatCost) { in isSafeAndProfitableToSpeculateAroundPHI()
297 << FoldedCost << "\n"); in isSafeAndProfitableToSpeculateAroundPHI()
307 int FoldedCost = IncomingConstantAndCostsAndCount.second.FoldedCost; in isSafeAndProfitableToSpeculateAroundPHI() local
311 TotalFoldedCost += FoldedCost * Count; in isSafeAndProfitableToSpeculateAroundPHI()