Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSpeculateAroundPHIs.cpp452 SmallDenseMap<Instruction *, InstructionCost, 16> SpecCostMap; in findProfitablePHIs() local
461 return !PotentialSpecSet.count(I) || SpecCostMap.count(I); in findProfitablePHIs()
470 auto CostMapIt = SpecCostMap.find(OpI); in findProfitablePHIs()
471 if (CostMapIt != SpecCostMap.end()) in findProfitablePHIs()
475 bool Inserted = SpecCostMap.insert({I, Cost}).second; in findProfitablePHIs()
502 SpecCostMap.find(cast<Instruction>(U.getUser()))->second; in findProfitablePHIs()
524 auto CostMapIt = SpecCostMap.find(UI); in findProfitablePHIs()
537 assert(SpecCostMap.find(SpecI)->second == 0 && in findProfitablePHIs()
545 auto CostMapIt = SpecCostMap.find(OpI); in findProfitablePHIs()
546 if (CostMapIt == SpecCostMap.end() || CostMapIt->second == 0) in findProfitablePHIs()