Home
last modified time | relevance | path

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

/freebsd/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()
1065 BBI.ExtraCost = 0; in ScanInstructions()
1122 BBI.ExtraCost += NumCycles-1; in ScanInstructions()
1344 MeetIfcvtSizeLimit(*TrueBBI.BB, TrueBBI.NonPredSize + TrueBBI.ExtraCost, in AnalyzeBlock()
1360 MeetIfcvtSizeLimit(*TrueBBI.BB, TrueBBI.NonPredSize + TrueBBI.ExtraCost, in AnalyzeBlock()
1369 MeetIfcvtSizeLimit(*TrueBBI.BB, TrueBBI.NonPredSize + TrueBBI.ExtraCost, in AnalyzeBlock()
1389 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock()
1400 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp1165 InstructionCost ExtraCost = 0; in getMinMaxReductionCost() local
1179 ExtraCost = 1 + in getMinMaxReductionCost()
1198 ExtraCost = 1 + in getMinMaxReductionCost()
1205 return ExtraCost + getRISCVInstructionCost(Opcodes, LT.second, CostKind); in getMinMaxReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp702 int ExtraCost = MTy.isVector() && MTy.getScalarSizeInBits() != in getIntrinsicInstrCost() local
706 return LT.first * Entry->Cost + ExtraCost; in getIntrinsicInstrCost()
827 unsigned ExtraCost = HigherCost ? 1 : 0; in getIntrinsicInstrCost() local
830 ExtraCost = 0; // fhsl/fshr for i32 and i64 can be lowered to a single in getIntrinsicInstrCost()
833 ExtraCost = 1; in getIntrinsicInstrCost()
836 return TyL.first + ExtraCost; in getIntrinsicInstrCost()
3957 InstructionCost ExtraCost = 0; in getArithmeticReductionCost() local
3963 ExtraCost = getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost()
3964 ExtraCost *= LT.first - 1; in getArithmeticReductionCost()
3968 return Cost + ExtraCost; in getArithmeticReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp3179 InstructionCost ExtraCost = 0; in getCmpSelInstrCost() local
3202 ExtraCost = CmpWithConstant ? 0 : 1; in getCmpSelInstrCost()
3207 ExtraCost = CmpWithConstant ? 0 : 1; in getCmpSelInstrCost()
3213 ExtraCost = CmpWithConstant ? 1 : 2; in getCmpSelInstrCost()
3221 ExtraCost = 1; in getCmpSelInstrCost()
3224 ExtraCost = CmpWithConstant ? 2 : 3; in getCmpSelInstrCost()
3242 ExtraCost = 3; in getCmpSelInstrCost()
3403 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost()
3408 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost()
3413 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp8690 InstructionCost ExtraCost = 0; in createShuffle() local
8757 ExtraCost += GetNodeMinBWAffectedCost(*E, CommonVF) + in createShuffle()
8760 ExtraCost += GetNodeMinBWAffectedCost(*E, E->getVectorFactor()) + in createShuffle()
8783 ExtraCost += GetNodeMinBWAffectedCost(*E, CommonVF); in createShuffle()
8801 ExtraCost += GetValueMinBWAffectedCost(V1); in createShuffle()
8828 ExtraCost += GetValueMinBWAffectedCost(V1); in createShuffle()
8830 ExtraCost += GetNodeMinBWAffectedCost( in createShuffle()
8856 ExtraCost += GetNodeMinBWAffectedCost( in createShuffle()
8859 ExtraCost += GetValueMinBWAffectedCost(V2); in createShuffle()
8871 ExtraCost in createShuffle()
[all...]