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.cpp978 Scaled64 SelectCost = Scaled64::getZero(), BranchCost = Scaled64::getZero(); in findProfitableSIGroupsInnerLoops() local
982 BranchCost = std::max(BranchCost, ICM.NonPredCost); in findProfitableSIGroupsInnerLoops()
984 if (BranchCost < SelectCost) { in findProfitableSIGroupsInnerLoops()
988 << BranchCost.toString() << ", SelectCost=" << SelectCost.toString() in findProfitableSIGroupsInnerLoops()
997 << BranchCost.toString() in findProfitableSIGroupsInnerLoops()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp2580 InstructionCost BranchCost = in findCostForOutputBlocks() local
2582 LLVM_DEBUG(dbgs() << "Adding " << BranchCost << " to the current cost for" in findCostForOutputBlocks()
2584 OutputCost += BranchCost * NumOutputBranches; in findCostForOutputBlocks()
2594 InstructionCost BranchCost = in findCostForOutputBlocks() local
2598 InstructionCost TotalCost = ComparisonCost * BranchCost * DifferentBlocks; in findCostForOutputBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6843 auto BranchCost = CostCtx.getLegacyCost(BB->getTerminator(), VF); in precomputeCosts() local
6844 Cost += BranchCost; in precomputeCosts()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp5417 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getMaskedMemoryOpCost() local
5418 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()