Searched refs:BranchCost (Results 1 – 4 of 4) sorted by relevance
876 Scaled64 SelectCost = Scaled64::getZero(), BranchCost = Scaled64::getZero(); in findProfitableSIGroupsInnerLoops() local879 BranchCost = std::max(BranchCost, InstCostMap[SI.getI()].NonPredCost); in findProfitableSIGroupsInnerLoops()881 if (BranchCost < SelectCost) { in findProfitableSIGroupsInnerLoops()884 << BranchCost.toString() << ", SelectCost=" << SelectCost.toString() in findProfitableSIGroupsInnerLoops()893 << BranchCost.toString() in findProfitableSIGroupsInnerLoops()
2603 InstructionCost BranchCost = in findCostForOutputBlocks() local2605 LLVM_DEBUG(dbgs() << "Adding " << BranchCost << " to the current cost for" in findCostForOutputBlocks()2607 OutputCost += BranchCost * NumOutputBranches; in findCostForOutputBlocks()2617 InstructionCost BranchCost = in findCostForOutputBlocks() local2621 InstructionCost TotalCost = ComparisonCost * BranchCost * DifferentBlocks; in findCostForOutputBlocks()
7102 auto BranchCost = CostCtx.getLegacyCost(BB->getTerminator(), VF); in cost() local7103 Cost += BranchCost; in cost()
5082 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getMaskedMemoryOpCost() local5083 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()