| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 895 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost() local 899 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost() 1062 int BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost() local 1070 return LT.first * BaseCost + in getCmpSelInstrCost() 1073 return BaseCost; in getCmpSelInstrCost() 1079 int BaseCost = 1; in getCmpSelInstrCost() local 1081 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost() 1083 return BaseCost * BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, in getCmpSelInstrCost() 1349 int BaseCost = ST->hasMVEIntegerOps() && SrcTy->isVectorTy() in getShuffleCost() local 1352 return BaseCost * BaseT::getShuffleCost(Kind, DstTy, SrcTy, Mask, CostKind, in getShuffleCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 898 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local 899 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 2009 InstructionCost BaseCost = [&]() { in getMemoryOpCost() local 2032 BaseCost *= TLI->getLMULCost(LT.second); in getMemoryOpCost() 2033 return Cost + BaseCost; in getMemoryOpCost() 2272 unsigned BaseCost = 1; in getVectorInstrCost() local 2351 BaseCost = Opcode == Instruction::InsertElement ? 3 : 4; in getVectorInstrCost() 2353 return BaseCost + SlideCost; in getVectorInstrCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 5374 InstructionCost BaseCost; in getReductionPatternCost() local 5378 BaseCost = TTI.getMinMaxReductionCost(MinMaxID, VectorTy, in getReductionPatternCost() 5381 BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost() 5388 BaseCost += in getReductionPatternCost() 5395 return BaseCost; in getReductionPatternCost() 5436 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost) in getReductionPatternCost() 5450 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost() 5489 (RedCost + ExtraExtCost) < (ExtCost0 + ExtCost1 + MulCost + BaseCost)) in getReductionPatternCost() 5499 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost() 5504 return I == RetI ? std::optional<InstructionCost>(BaseCost) : std::nullopt; in getReductionPatternCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineBlockPlacement.cpp | 965 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local 967 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 653 int BaseCost; member
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 5180 InstructionCost BaseCost = in getArithmeticReductionCost() local 5184 return BaseCost + FixedVTy->getNumElements(); in getArithmeticReductionCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 2484 if (Params.BaseCost < 0) in shouldKeepJumpConditionsTogether() 2488 InstructionCost CostThresh = Params.BaseCost; in shouldKeepJumpConditionsTogether()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 3617 int BaseCost = BrMergingBaseCostThresh.getValue(); in getJumpConditionMergingParams() local 3619 if (BaseCost >= 0 && Subtarget.hasCCMP()) in getJumpConditionMergingParams() 3620 BaseCost += BrMergingCcmpBias; in getJumpConditionMergingParams() 3622 if (BaseCost >= 0 && Opc == Instruction::And && in getJumpConditionMergingParams() 3625 BaseCost += 1; in getJumpConditionMergingParams() 3626 return {BaseCost, BrMergingLikelyBias.getValue(), in getJumpConditionMergingParams()
|