Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSelectOptimize.cpp195 DenseMap<const Instruction *, CostInfo> &InstCostMap,
595 DenseMap<const Instruction *, CostInfo> InstCostMap; in findProfitableSIGroupsInnerLoops() local
598 if (!computeLoopCosts(L, SIGroups, InstCostMap, LoopCost) || in findProfitableSIGroupsInnerLoops()
608 SelectCost = std::max(SelectCost, InstCostMap[SI].PredCost); in findProfitableSIGroupsInnerLoops()
609 BranchCost = std::max(BranchCost, InstCostMap[SI].NonPredCost); in findProfitableSIGroupsInnerLoops()
885 DenseMap<const Instruction *, CostInfo> &InstCostMap, CostInfo *LoopCost) { in computeLoopCosts() argument
910 if (InstCostMap.count(UI)) { in computeLoopCosts()
911 IPredCost = std::max(IPredCost, InstCostMap[UI].PredCost); in computeLoopCosts()
912 INonPredCost = std::max(INonPredCost, InstCostMap[UI].NonPredCost); in computeLoopCosts()
939 if (InstCostMap.count(TI)) in computeLoopCosts()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp387 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()