Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp876 Scaled64 SelectCost = Scaled64::getZero(), BranchCost = Scaled64::getZero(); in findProfitableSIGroupsInnerLoops() local
879 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp2603 InstructionCost BranchCost = in findCostForOutputBlocks() local
2605 LLVM_DEBUG(dbgs() << "Adding " << BranchCost << " to the current cost for" in findCostForOutputBlocks()
2607 OutputCost += BranchCost * NumOutputBranches; in findCostForOutputBlocks()
2617 InstructionCost BranchCost = in findCostForOutputBlocks() local
2621 InstructionCost TotalCost = ComparisonCost * BranchCost * DifferentBlocks; in findCostForOutputBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7102 auto BranchCost = CostCtx.getLegacyCost(BB->getTerminator(), VF); in cost() local
7103 Cost += BranchCost; in cost()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp5082 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getMaskedMemoryOpCost() local
5083 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()