Home
last modified time | relevance | path

Searched refs:DuplicationCost (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp807 InstructionCost DuplicationCost = 0; in isLegalAndProfitableToTransform() local
820 DuplicationCost = Metrics.NumInsts / CondBranches; in isLegalAndProfitableToTransform()
828 DuplicationCost = Metrics.NumInsts / JumpTableSize; in isLegalAndProfitableToTransform()
833 << " is: " << DuplicationCost << "\n\n"); in isLegalAndProfitableToTransform()
835 if (DuplicationCost > CostThreshold) { in isLegalAndProfitableToTransform()
841 << ore::NV("Cost", DuplicationCost) in isLegalAndProfitableToTransform()
H A DJumpThreading.cpp2640 unsigned DuplicationCost = getJumpThreadDuplicationCost( in duplicateCondBranchOnPHIIntoPred() local
2642 if (DuplicationCost > BBDupThreshold) { in duplicateCondBranchOnPHIIntoPred()
2644 << "' - Cost is too high: " << DuplicationCost << "\n"); in duplicateCondBranchOnPHIIntoPred()
2665 << DuplicationCost << " block is:" << *BB << "\n"); in duplicateCondBranchOnPHIIntoPred()