Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2625 InstructionCost LegalizationCost = 0; in getMinMaxReductionCost() local
2636 return LegalizationCost + /*Cost of horizontal reduction*/ 2; in getMinMaxReductionCost()
2642 InstructionCost LegalizationCost = 0; in getArithmeticReductionCostSVE() local
2645 LegalizationCost = getArithmeticInstrCost(Opcode, LegalVTy, CostKind); in getArithmeticReductionCostSVE()
2646 LegalizationCost *= LT.first - 1; in getArithmeticReductionCostSVE()
2658 return LegalizationCost + 2; in getArithmeticReductionCostSVE()
2788 InstructionCost LegalizationCost = 0; in getSpliceCost() local
2790 LegalizationCost = in getSpliceCost()
2800 LegalizationCost += in getSpliceCost()
2809 LegalizationCost += Entry->Cost; in getSpliceCost()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp3419 InstructionCost LegalizationCost, in getTypeBasedIntrinsicInstrCost()
3426 return LegalizationCost * 1; in getTypeBasedIntrinsicInstrCost()
3428 return LegalizationCost * (int)Entry.Cost; in getTypeBasedIntrinsicInstrCost()