Home
last modified time | relevance | path

Searched refs:BranchCost (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSelectOptimize.cpp581 Scaled64 SelectCost = Scaled64::getZero(), BranchCost = Scaled64::getZero(); in findProfitableSIGroupsInnerLoops() local
584 BranchCost = std::max(BranchCost, InstCostMap[SI].NonPredCost); in findProfitableSIGroupsInnerLoops()
586 if (BranchCost < SelectCost) { in findProfitableSIGroupsInnerLoops()
589 << BranchCost.toString() << ", SelectCost=" << SelectCost.toString() in findProfitableSIGroupsInnerLoops()
597 << BranchCost.toString() in findProfitableSIGroupsInnerLoops()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp2585 InstructionCost BranchCost = in findCostForOutputBlocks() local
2587 LLVM_DEBUG(dbgs() << "Adding " << BranchCost << " to the current cost for" in findCostForOutputBlocks()
2589 OutputCost += BranchCost * NumOutputBranches; in findCostForOutputBlocks()
2599 InstructionCost BranchCost = in findCostForOutputBlocks() local
2603 InstructionCost TotalCost = ComparisonCost * BranchCost * DifferentBlocks; in findCostForOutputBlocks()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp4219 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getMaskedMemoryOpCost() local
4220 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()
5141 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getGSScalarCost() local
5142 MaskUnpackCost += VF * (BranchCost + ScalarCompareCost); in getGSScalarCost()