Lines Matching refs:InstCostMap
195 DenseMap<const Instruction *, CostInfo> &InstCostMap,
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()
584 BranchCost = std::max(BranchCost, InstCostMap[SI].NonPredCost); in findProfitableSIGroupsInnerLoops()
836 DenseMap<const Instruction *, CostInfo> &InstCostMap, CostInfo *LoopCost) { in computeLoopCosts() argument
859 if (InstCostMap.count(UI)) { in computeLoopCosts()
860 IPredCost = std::max(IPredCost, InstCostMap[UI].PredCost); in computeLoopCosts()
861 INonPredCost = std::max(INonPredCost, InstCostMap[UI].NonPredCost); 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()
905 InstCostMap[&I] = {IPredCost, INonPredCost}; in computeLoopCosts()