Searched refs:ExtraCost (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IfConversion.cpp | 150 unsigned ExtraCost = 0; member 388 unsigned TCycle = TBBInfo.NonPredSize + TBBInfo.ExtraCost - Dups; in MeetIfcvtSizeLimit() 389 unsigned FCycle = FBBInfo.NonPredSize + FBBInfo.ExtraCost - Dups; in MeetIfcvtSizeLimit() 1084 BBI.ExtraCost = 0; in ScanInstructions() 1141 BBI.ExtraCost += NumCycles-1; in ScanInstructions() 1363 MeetIfcvtSizeLimit(*TrueBBI.BB, TrueBBI.NonPredSize + TrueBBI.ExtraCost, in AnalyzeBlock() 1379 MeetIfcvtSizeLimit(*TrueBBI.BB, TrueBBI.NonPredSize + TrueBBI.ExtraCost, in AnalyzeBlock() 1388 MeetIfcvtSizeLimit(*TrueBBI.BB, TrueBBI.NonPredSize + TrueBBI.ExtraCost, in AnalyzeBlock() 1408 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock() 1419 FalseBBI.NonPredSize + FalseBBI.ExtraCost, in AnalyzeBlock() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 3330 InstructionCost ExtraCost = 0; in getCmpSelInstrCost() local 3353 ExtraCost = CmpWithConstant ? 0 : 1; in getCmpSelInstrCost() 3358 ExtraCost = CmpWithConstant ? 0 : 1; in getCmpSelInstrCost() 3364 ExtraCost = CmpWithConstant ? 1 : 2; in getCmpSelInstrCost() 3372 ExtraCost = 1; in getCmpSelInstrCost() 3375 ExtraCost = CmpWithConstant ? 2 : 3; in getCmpSelInstrCost() 3395 ExtraCost = 3; in getCmpSelInstrCost() 3556 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost() 3561 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost() 3566 return LT.first * (ExtraCost + *KindCost); in getCmpSelInstrCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 741 int ExtraCost = MTy.isVector() && MTy.getScalarSizeInBits() != in getIntrinsicInstrCost() local 745 return LT.first * Entry->Cost + ExtraCost; in getIntrinsicInstrCost() 911 unsigned ExtraCost = HigherCost ? 1 : 0; in getIntrinsicInstrCost() local 914 ExtraCost = 0; // fhsl/fshr for i32 and i64 can be lowered to a single in getIntrinsicInstrCost() 917 ExtraCost = 1; in getIntrinsicInstrCost() 920 return TyL.first + ExtraCost; in getIntrinsicInstrCost() 5279 InstructionCost ExtraCost = 0; in getArithmeticReductionCost() local 5285 ExtraCost = getArithmeticInstrCost(Opcode, Ty, CostKind); in getArithmeticReductionCost() 5286 ExtraCost *= LT.first - 1; in getArithmeticReductionCost() 5290 return Cost + ExtraCost; in getArithmeticReductionCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 1737 InstructionCost ExtraCost = 0; in getMinMaxReductionCost() local 1751 ExtraCost = 1 + in getMinMaxReductionCost() 1770 ExtraCost = 1 + in getMinMaxReductionCost() 1777 return ExtraCost + getRISCVInstructionCost(Opcodes, LT.second, CostKind); in getMinMaxReductionCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 12318 InstructionCost ExtraCost = 0; in createShuffle() local 12385 ExtraCost += GetNodeMinBWAffectedCost(*E, CommonVF) + in createShuffle() 12388 ExtraCost += GetNodeMinBWAffectedCost(*E, E->getVectorFactor()) + in createShuffle() 12417 ExtraCost += GetNodeMinBWAffectedCost(*E, CommonVF); in createShuffle() 12435 ExtraCost += GetValueMinBWAffectedCost(V1); in createShuffle() 12462 ExtraCost += GetValueMinBWAffectedCost(V1); in createShuffle() 12464 ExtraCost += GetNodeMinBWAffectedCost( in createShuffle() 12490 ExtraCost += GetNodeMinBWAffectedCost( in createShuffle() 12493 ExtraCost += GetValueMinBWAffectedCost(V2); in createShuffle() 12504 ExtraCost += in createShuffle() [all …]
|