Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DSelectOptimize.cpp606 Scaled64 SelectCost = Scaled64::getZero(), BranchCost = Scaled64::getZero(); in findProfitableSIGroupsInnerLoops() local
609 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()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DIROutliner.cpp2607 InstructionCost BranchCost = in findCostForOutputBlocks() local
2609 LLVM_DEBUG(dbgs() << "Adding " << BranchCost << " to the current cost for" in findCostForOutputBlocks()
2611 OutputCost += BranchCost * NumOutputBranches; in findCostForOutputBlocks()
2621 InstructionCost BranchCost = in findCostForOutputBlocks() local
2625 InstructionCost TotalCost = ComparisonCost * BranchCost * DifferentBlocks; in findCostForOutputBlocks()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp4864 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getMaskedMemoryOpCost() local
4865 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()
5788 InstructionCost BranchCost = getCFInstrCost(Instruction::Br, CostKind); in getGSScalarCost() local
5789 MaskUnpackCost += VF * (BranchCost + ScalarCompareCost); in getGSScalarCost()