Searched refs:BranchCost (Results 1 – 3 of 3) sorted by relevance
606 Scaled64 SelectCost = Scaled64::getZero(), BranchCost = Scaled64::getZero(); in findProfitableSIGroupsInnerLoops() local609 BranchCost = std::max(BranchCost, InstCostMap[SI].NonPredCost); in findProfitableSIGroupsInnerLoops()611 if (BranchCost < SelectCost) { in findProfitableSIGroupsInnerLoops()614 << BranchCost.toString() << ", SelectCost=" << SelectCost.toString() in findProfitableSIGroupsInnerLoops()622 << BranchCost.toString() in findProfitableSIGroupsInnerLoops()
2607 InstructionCost BranchCost = in findCostForOutputBlocks() local2609 LLVM_DEBUG(dbgs() << "Adding " << BranchCost << " to the current cost for" in findCostForOutputBlocks()2611 OutputCost += BranchCost * NumOutputBranches; in findCostForOutputBlocks()2621 InstructionCost BranchCost = in findCostForOutputBlocks() local2625 InstructionCost TotalCost = ComparisonCost * BranchCost * DifferentBlocks; in findCostForOutputBlocks()
4864 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getMaskedMemoryOpCost() local4865 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()5788 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getGSScalarCost() local5789 MaskUnpackCost += VF * (BranchCost + ScalarCompareCost); in getGSScalarCost()