Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp3454 BlockFrequency OrigCost = PredFreq + PredFreq * DefaultBranchProb; in findDuplicateCandidates() local
3466 assert(OrigCost >= DupCost); in findDuplicateCandidates()
3467 OrigCost -= DupCost; in findDuplicateCandidates()
3468 if (OrigCost > BBDupThreshold) { in findDuplicateCandidates()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp3477 int OrigCost = RISCVMatInt::getIntMatCost(APInt(64, OrigImm), 64, *Subtarget, in selectImm64IfCheaper() local
3481 if (OrigCost <= Cost) in selectImm64IfCheaper()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3085 InstructionCost OrigCost = OrigCE ? computeSpeculationCost(OrigCE, TTI) : 0; in validateAndCostRequiredSelects() local
3089 if (OrigCost + ThenCost > MaxCost) in validateAndCostRequiredSelects()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp20603 LoadedSlice::Cost OrigCost(ForCodeSize), GlobalSlicingCost(ForCodeSize); in isSlicingProfitable() local
20605 OrigCost.Loads = 1; in isSlicingProfitable()
20614 OrigCost.addSliceGain(LS); in isSlicingProfitable()
20619 return OrigCost > GlobalSlicingCost; in isSlicingProfitable()