Searched refs:BaseCost (Results 1 – 6 of 6) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 869 int BaseCost = ST->hasMVEIntegerOps() && Src->isVectorTy() in getCastInstrCost() local 873 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost() 1037 int BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost() local 1045 return LT.first * BaseCost + in getCmpSelInstrCost() 1048 return BaseCost; in getCmpSelInstrCost() 1054 int BaseCost = 1; in getCmpSelInstrCost() local 1056 BaseCost = ST->getMVEVectorCostFactor(CostKind); in getCmpSelInstrCost() 1058 return BaseCost * in getCmpSelInstrCost() 1309 int BaseCost = ST->hasMVEIntegerOps() && Tp->isVectorTy() in getShuffleCost() local 1312 return BaseCost * in getShuffleCost() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 1018 InstructionCost BaseCost = 2; in getMinMaxReductionCost() local 1020 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getMinMaxReductionCost() 1047 InstructionCost BaseCost = 2; in getArithmeticReductionCost() local 1050 return (LT.first - 1) + BaseCost + VL; in getArithmeticReductionCost() 1051 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getArithmeticReductionCost() 1226 unsigned BaseCost = 1; in getVectorInstrCost() local 1267 BaseCost = Opcode == Instruction::InsertElement ? 5 : 3; in getVectorInstrCost() 1290 BaseCost = Opcode == Instruction::InsertElement ? 3 : 4; in getVectorInstrCost() 1292 return BaseCost + SlideCost; in getVectorInstrCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 766 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local 767 return BaseCost == 0 ? BaseCost : 1; in getCastInstrCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 6599 InstructionCost BaseCost = TTI.getArithmeticReductionCost( in getReductionPatternCost() local 6605 BaseCost += in getReductionPatternCost() 6612 return BaseCost; in getReductionPatternCost() 6653 RedCost < ExtCost * 2 + MulCost + Ext2Cost + BaseCost) in getReductionPatternCost() 6667 if (RedCost.isValid() && RedCost < BaseCost + ExtCost) in getReductionPatternCost() 6706 (RedCost + ExtraExtCost) < (ExtCost0 + ExtCost1 + MulCost + BaseCost)) in getReductionPatternCost() 6716 if (RedCost.isValid() && RedCost < MulCost + BaseCost) in getReductionPatternCost() 6721 return I == RetI ? std::optional<InstructionCost>(BaseCost) : std::nullopt; in getReductionPatternCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MachineBlockPlacement.cpp | 905 BlockFrequency BaseCost = P + V; in isProfitableToTailDup() local 907 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 2980 InstructionCost BaseCost = in getArithmeticReductionCost() local 2984 return BaseCost + FixedVTy->getNumElements(); in getArithmeticReductionCost()
|