Searched refs:CostSavingsMap (Results 1 – 1 of 1) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SpeculateAroundPHIs.cpp | 196 PHINode &PN, SmallDenseMap<PHINode *, int, 16> &CostSavingsMap, in isSafeAndProfitableToSpeculateAroundPHI() argument 319 CostSavingsMap[&PN] = TotalMatCost - TotalFoldedCost; in isSafeAndProfitableToSpeculateAroundPHI() 415 const SmallDenseMap<PHINode *, int, 16> &CostSavingsMap, in findProfitablePHIs() argument 494 int CostSavings = CostSavingsMap.find(PN)->second; in findProfitablePHIs() 731 SmallDenseMap<PHINode *, int, 16> CostSavingsMap; in tryToSpeculatePHIs() local 751 *PN, CostSavingsMap, PotentialSpecSet, in tryToSpeculatePHIs() 786 PNs, CostSavingsMap, PotentialSpecSet, PredSet.size(), DT, TTI); in tryToSpeculatePHIs()
|