Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DIfConversion.cpp144 unsigned ExtraCost = 0; member
384 unsigned TCycle = TBBInfo.NonPredSize + TBBInfo.ExtraCost - Dups; in MeetIfcvtSizeLimit()
385 unsigned FCycle = FBBInfo.NonPredSize + FBBInfo.ExtraCost - Dups; in MeetIfcvtSizeLimit()
1064 BBI.ExtraCost = 0; in ScanInstructions()
1121 BBI.ExtraCost += NumCycles-1; in ScanInstructions()
1388 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock()
1399 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock()
1409 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock()
2181 ToBBI.ExtraCost += NumCycles-1; in CopyAndPredicateBlock()
2344 ToBBI.ExtraCost += FromBBI.ExtraCost; in MergeBlocks()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp619 int ExtraCost = MTy.isVector() && MTy.getScalarSizeInBits() != in getIntrinsicInstrCost() local
623 return LT.first * Entry->Cost + ExtraCost; in getIntrinsicInstrCost()
744 unsigned ExtraCost = HigherCost ? 1 : 0; in getIntrinsicInstrCost() local
747 ExtraCost = 0; // fhsl/fshr for i32 and i64 can be lowered to a single in getIntrinsicInstrCost()
750 ExtraCost = 1; in getIntrinsicInstrCost()
753 return TyL.first + ExtraCost; in getIntrinsicInstrCost()
3667 InstructionCost ExtraCost = 0; in getArithmeticReductionCost() local
3673 ExtraCost = getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()
3674 ExtraCost *= LT.first - 1; in getArithmeticReductionCost()
3678 return Cost + ExtraCost; in getArithmeticReductionCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp3088 InstructionCost ExtraCost = 0; in getCmpSelInstrCost() local
3106 ExtraCost = 1; in getCmpSelInstrCost()
3111 ExtraCost = 1; in getCmpSelInstrCost()
3117 ExtraCost = 2; in getCmpSelInstrCost()
3125 ExtraCost = 1; in getCmpSelInstrCost()
3128 ExtraCost = 3; in getCmpSelInstrCost()
3146 ExtraCost = 3; in getCmpSelInstrCost()
3307 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost()
3312 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost()
3317 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost()
[all …]