Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp439 SmallDenseMap<Instruction *, int, 16> SpecCostMap; in findProfitablePHIs() local
448 return !PotentialSpecSet.count(I) || SpecCostMap.count(I); in findProfitablePHIs()
457 auto CostMapIt = SpecCostMap.find(OpI); in findProfitablePHIs()
458 if (CostMapIt != SpecCostMap.end()) in findProfitablePHIs()
462 bool Inserted = SpecCostMap.insert({I, Cost}).second; in findProfitablePHIs()
489 SpecCostMap.find(cast<Instruction>(U.getUser()))->second; in findProfitablePHIs()
511 auto CostMapIt = SpecCostMap.find(UI); in findProfitablePHIs()
524 assert(SpecCostMap.find(SpecI)->second == 0 && in findProfitablePHIs()
532 auto CostMapIt = SpecCostMap.find(OpI); in findProfitablePHIs()
533 if (CostMapIt == SpecCostMap.end() || CostMapIt->second == 0) in findProfitablePHIs()