Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp221 return InstCostMap.contains(I) ? InstCostMap[I].NonPredCost in getTrueOpCost()
227 if (InstCostMap.contains(I)) { in getTrueOpCost()
233 return InstCostMap[I].NonPredCost + in getTrueOpCost()
247 return InstCostMap.contains(I) ? InstCostMap[I].NonPredCost in getFalseOpCost()
253 if (InstCostMap.contains(I)) in getFalseOpCost()
254 return InstCostMap[I].NonPredCost; in getFalseOpCost()
812 DenseMap<const Instruction *, CostInfo> InstCostMap; in findProfitableSIGroupsInnerLoops() local
1137 if (InstCostMap.count(UI)) { in computeLoopCosts()
1169 if (InstCostMap.count(CI)) in computeLoopCosts()
1170 CondCost = InstCostMap[CI].NonPredCost; in computeLoopCosts()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp390 DenseSet<UnrolledInstState, UnrolledInstStateKeyInfo> InstCostMap; in analyzeLoopUnrollCost() local
415 auto CostIter = InstCostMap.find({I, Iteration, 0, 0}); in analyzeLoopUnrollCost()
416 if (CostIter == InstCostMap.end()) in analyzeLoopUnrollCost()
549 bool Inserted = InstCostMap.insert({&I, (int)Iteration, in analyzeLoopUnrollCost()