Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DIfConversion.cpp146 unsigned ExtraCost = 0; member
386 unsigned TCycle = TBBInfo.NonPredSize + TBBInfo.ExtraCost - Dups; in MeetIfcvtSizeLimit()
387 unsigned FCycle = FBBInfo.NonPredSize + FBBInfo.ExtraCost - Dups; in MeetIfcvtSizeLimit()
1068 BBI.ExtraCost = 0; in ScanInstructions()
1125 BBI.ExtraCost += NumCycles-1; in ScanInstructions()
1392 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock()
1403 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock()
1413 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock()
2197 ToBBI.ExtraCost += NumCycles-1; in CopyAndPredicateBlock()
2351 ToBBI.ExtraCost += FromBBI.ExtraCost; in MergeBlocks()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp2640 InstructionCost ExtraCost = 0; in getCmpSelInstrCost() local
2658 ExtraCost = 1; in getCmpSelInstrCost()
2663 ExtraCost = 1; in getCmpSelInstrCost()
2669 ExtraCost = 2; in getCmpSelInstrCost()
2677 ExtraCost = 1; in getCmpSelInstrCost()
2680 ExtraCost = 3; in getCmpSelInstrCost()
2686 ExtraCost = 3; in getCmpSelInstrCost()
2814 return LT.first * (ExtraCost + Entry->Cost); in getCmpSelInstrCost()
2818 return LT.first * (ExtraCost + Entry->Cost); in getCmpSelInstrCost()
2822 return LT.first * (ExtraCost + Entry->Cost); in getCmpSelInstrCost()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp402 int ExtraCost = MTy.isVector() && MTy.getScalarSizeInBits() != in getIntrinsicInstrCost() local
406 return LT.first * Entry->Cost + ExtraCost; in getIntrinsicInstrCost()
2748 InstructionCost ExtraCost = 0; in getArithmeticReductionCost() local
2754 ExtraCost = getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()
2755 ExtraCost *= LT.first - 1; in getArithmeticReductionCost()
2757 return Entry->Cost + ExtraCost; in getArithmeticReductionCost()