Searched refs:InstCostMap (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SelectOptimize.cpp | 244 Scaled64 getTrueOpCost(DenseMap<const Instruction *, CostInfo> &InstCostMap, in getTrueOpCost() argument 248 return InstCostMap.contains(I) ? InstCostMap[I].NonPredCost in getTrueOpCost() 254 if (InstCostMap.contains(I)) { in getTrueOpCost() 260 return InstCostMap[I].NonPredCost + in getTrueOpCost() 270 getFalseOpCost(DenseMap<const Instruction *, CostInfo> &InstCostMap, in getFalseOpCost() argument 274 return InstCostMap.contains(I) ? InstCostMap[I].NonPredCost in getFalseOpCost() 280 if (InstCostMap.contains(I)) in getFalseOpCost() 281 return InstCostMap[I].NonPredCost; in getFalseOpCost() 343 DenseMap<const Instruction *, CostInfo> &InstCostMap, 865 DenseMap<const Instruction *, CostInfo> InstCostMap; in findProfitableSIGroupsInnerLoops() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 396 DenseSet<UnrolledInstState, UnrolledInstStateKeyInfo> InstCostMap; in analyzeLoopUnrollCost() local 421 auto CostIter = InstCostMap.find({I, Iteration, 0, 0}); in analyzeLoopUnrollCost() 422 if (CostIter == InstCostMap.end()) in analyzeLoopUnrollCost() 563 bool Inserted = InstCostMap.insert({&I, (int)Iteration, in analyzeLoopUnrollCost()
|