Searched refs:InstCostMap (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SelectOptimize.cpp | 570 DenseMap<const Instruction *, CostInfo> InstCostMap; in findProfitableSIGroupsInnerLoops() local 573 if (!computeLoopCosts(L, SIGroups, InstCostMap, LoopCost) || in findProfitableSIGroupsInnerLoops() 583 SelectCost = std::max(SelectCost, InstCostMap[SI].PredCost); in findProfitableSIGroupsInnerLoops() 859 if (InstCostMap.count(UI)) { in computeLoopCosts() 888 if (InstCostMap.count(TI)) in computeLoopCosts() 889 TrueOpCost = InstCostMap[TI].NonPredCost; in computeLoopCosts() 891 if (InstCostMap.count(FI)) in computeLoopCosts() 892 FalseOpCost = InstCostMap[FI].NonPredCost; in computeLoopCosts() 898 if (InstCostMap.count(CI)) in computeLoopCosts() 899 CondCost = InstCostMap[CI].NonPredCost; in computeLoopCosts() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 387 DenseSet<UnrolledInstState, UnrolledInstStateKeyInfo> InstCostMap; in analyzeLoopUnrollCost() local 412 auto CostIter = InstCostMap.find({I, Iteration, 0, 0}); in analyzeLoopUnrollCost() 413 if (CostIter == InstCostMap.end()) in analyzeLoopUnrollCost() 546 bool Inserted = InstCostMap.insert({&I, (int)Iteration, in analyzeLoopUnrollCost()
|