Home
last modified time | relevance | path

Searched defs:Cost (Results 1 – 25 of 83) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h93 InstructionCost Cost = 0; in getBroadcastShuffleOverhead() local
110 InstructionCost Cost = 0; in getPermuteShuffleOverhead() local
141 InstructionCost Cost = 0; in getExtractSubvectorOverhead() local
169 InstructionCost Cost = 0; in getInsertSubvectorOverhead() local
781 InstructionCost Cost = 0; in getScalarizationOverhead() local
819 InstructionCost Cost = 0; in getOperandsScalarizationOverhead() local
847 InstructionCost Cost = getScalarizationOverhead( in getScalarizationOverhead() local
865 InstructionCost Cost = 1; in getTypeLegalizationCost() local
961 InstructionCost Cost = thisT()->getArithmeticInstrCost( variable
1186 InstructionCost Cost = thisT()->getCastInstrCost( variable
[all …]
H A DCostTable.h28 CostType Cost; member
59 CostType Cost; member
H A DRegisterBankInfo.h198 unsigned Cost = 0; variable
218 InstructionMapping(unsigned ID, unsigned Cost, in InstructionMapping()
534 getInstructionMapping(unsigned ID, unsigned Cost, in getInstructionMapping()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp270 InstructionCost Cost = TTIImpl->getInstructionCost(U, Operands, CostKind); in getInstructionCost() local
549 InstructionCost Cost = TTIImpl->getScalingFactorCost( in getScalingFactorCost() local
679 InstructionCost Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local
688 InstructionCost Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local
696 InstructionCost Cost = TTIImpl->getIntImmCost(Imm, Ty, CostKind); in getIntImmCost() local
704 InstructionCost Cost = in getIntImmCostInst() local
714 InstructionCost Cost = in getIntImmCostIntrin() local
916 InstructionCost Cost = in getArithmeticInstrCost() local
927 InstructionCost Cost = in getAltInstrCost() local
937 InstructionCost Cost = TTIImpl->getShuffleCost(Kind, Ty, Mask, CostKind, in getShuffleCost() local
[all …]
H A DCostModel.cpp102 InstructionCost Cost; print() local
131 InstructionCost Cost; run() local
H A DInlineOrder.cpp25 enum class InlinePriorityMode : int { Size, Cost, CostBenefit, ML }; enumerator
108 int Cost = INT_MAX; member in __anona7cbcc7e0111::CostPriority
177 int Cost = INT_MAX; member in __anona7cbcc7e0111::CostBenefitPriority
199 int Cost = INT_MAX; member in __anona7cbcc7e0111::MLPriority
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DBottleneckAnalysis.h190 uint64_t Cost; member
227 uint64_t Cost; member
255 unsigned Cost) { in addRegisterDep()
259 void addMemoryDep(unsigned From, unsigned To, unsigned Cost) { in addMemoryDep()
264 unsigned Cost) { in addResourceDep()
H A DBottleneckAnalysis.cpp241 uint64_t Cost = N.Cost + DepEdge.Dep.Cost; in propagateThroughEdges() local
454 unsigned RegID, unsigned Cost) { in addRegisterDep()
466 unsigned Cost) { in addMemoryDep()
478 uint64_t Mask, unsigned Cost) { in addResourceDep()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h68 CostBenefitPair(APInt Cost, APInt Benefit) in CostBenefitPair()
94 int Cost = 0; variable
112 : Cost(Cost), Threshold(Threshold), in Cost() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp572 InstructionCost Cost = in getArithmeticInstrCost() local
592 InstructionCost Cost = (VF * LIBCALL_COST) + in getArithmeticInstrCost() local
679 unsigned Cost = 0; in getVectorTruncCost() local
756 unsigned Cost = 0; in getBoolVecToIntConversionCost() local
808 unsigned Cost = 0; in getCastInstrCost() local
983 unsigned Cost = 1; in getCmpSelInstrCost() local
1026 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); in getCmpSelInstrCost() local
1057 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); in getVectorInstrCost() local
1310 int Cost = VectorRegsNeeded + LastVectorHandling - 1; in getVectorIntrinsicInstrCost() local
1319 InstructionCost Cost = getVectorIntrinsicInstrCost( in getIntrinsicInstrCost() local
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp601 InstructionCost Cost = BaseT::getArithmeticInstrCost( in getArithmeticInstrCost() local
649 InstructionCost Cost = in getCastInstrCost() local
668 InstructionCost Cost = in getCmpSelInstrCost() local
689 InstructionCost Cost = in getVectorInstrCost() local
785 InstructionCost Cost = in getMemoryOpCost() local
876 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), in getInterleavedMemoryOpCost() local
1048 InstructionCost Cost = BaseT::getVPMemoryOpCost(Opcode, Src, Alignment, in getVPMemoryOpCost() local
1070 InstructionCost Cost = LT.first * CostFactor; in getVPMemoryOpCost() local
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp51 InstructionCost Cost = 0; in getRISCVInstructionCost() local
449 InstructionCost Cost = 0; in getShuffleCost() local
675 InstructionCost Cost = MemCost; in getInterleavedMemoryOpCost() local
938 InstructionCost Cost = getRISCVInstructionCost( in getIntrinsicInstrCost() local
955 unsigned Cost = 5; in getIntrinsicInstrCost() local
963 unsigned Cost = 7; in getIntrinsicInstrCost() local
976 unsigned Cost = 7; in getIntrinsicInstrCost() local
1089 InstructionCost Cost = 0; in getCastInstrCost() local
1390 InstructionCost Cost = 0; in getMemoryOpCost() local
1777 InstructionCost Cost = TTI::TCC_Free; in getPointersChainCost() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp59 InstructionCost Cost = in getArithmeticInstrCost() local
87 InstructionCost Cost = BasicTTIImplBase::getVectorInstrCost( in getVectorInstrCost() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterClassInfo.cpp149 uint8_t Cost = RegCosts[PhysReg]; in compute() local
168 uint8_t Cost = RegCosts[PhysReg]; in compute() local
H A DMachineLICM.cpp926 auto Cost = calcRegisterCost(MI, /*ConsiderSeen=*/true, ConsiderUnseenAsDef); in UpdateRegPressure() local
945 DenseMap<unsigned, int> Cost; in calcRegisterCost() local
1213 MachineLICMBase::CanCauseHighRegPressure(const DenseMap<unsigned, int>& Cost, in CanCauseHighRegPressure()
1241 auto Cost = calcRegisterCost(MI, /*ConsiderSeen=*/false, in UpdateBackTraceRegPressure() local
1308 auto Cost = calcRegisterCost(&MI, /*ConsiderSeen=*/false, in IsProfitableToHoist() local
H A DRegAllocGreedy.cpp439 uint8_t Cost = RegCosts[PhysReg]; in tryAssign() local
602 BlockFrequency &Cost) { in addSplitConstraints()
821 BlockFrequency Cost; in calcCompactRegion() local
850 BlockFrequency Cost = BlockFrequency(0); in calcSpillCost() local
1125 BlockFrequency Cost; in calculateRegionSplitCostAroundReg() local
1245 BlockFrequency Cost = BlockFrequency(0); in trySplitAroundHintReg() local
2267 BlockFrequency Cost = BlockFrequency(0); in getBrokenHintFreq() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp279 unsigned Cost = RBI->copyCost(*DesiredRegBank, *CurRegBank, in getRepairCost() local
296 MappingCost Cost = MappingCost::ImpossibleCost(); in findBestMapping() local
453 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) in computeMapping() local
982 bool RegBankSelect::MappingCost::addLocalCost(uint64_t Cost) { in addLocalCost()
992 bool RegBankSelect::MappingCost::addNonLocalCost(uint64_t Cost) { in addNonLocalCost()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelEmitter.cpp49 unsigned Cost = 0; in getResultPatternCost() local
69 unsigned Cost = 0; in getResultPatternSize() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.h137 int16_t Cost; global() member
H A DAMDGPUTargetTransformInfo.cpp622 int Cost = 7 * get64BitInstrCost(CostKind) + in getArithmeticInstrCost() local
646 int Cost = in getArithmeticInstrCost() local
656 int Cost = getQuarterRateInstrCost(CostKind) + getFullRateInstrCost(); in getArithmeticInstrCost() local
662 int Cost = (SLT == MVT::f16 ? 14 : 10) * getFullRateInstrCost() + in getArithmeticInstrCost() local
1349 std::pair<InstructionCost, MVT> Cost = BaseT::getTypeLegalizationCost(Ty); in getTypeLegalizationCost() local
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp20 int Cost = 0; in getInstSeqCost() local
510 int Cost = 0; in getIntMatCost() local
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp202 unsigned Cost = in getMemoryOpCost() local
311 InstructionCost Cost = in getCastInstrCost() local
329 unsigned Cost = (Index != 0) ? 2 : 0; in getVectorInstrCost() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp373 InstructionCost Cost = 0; in getIntImmCost() local
443 InstructionCost Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty, CostKind); in getIntImmCostInst() local
480 InstructionCost Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty, CostKind); in getIntImmCostIntrin() local
609 InstructionCost Cost = 1; // Cost of the `index' instruction in getIntrinsicInstrCost() local
781 InstructionCost Cost = 1; in getIntrinsicInstrCost() local
2508 auto AdjustCost = [&CostKind](InstructionCost Cost) -> InstructionCost { in getCastInstrCost()
2896 InstructionCost Cost = getVectorInstrCost(Instruction::ExtractElement, VecTy, in getExtractWithExtendCost() local
3062 InstructionCost Cost = getArithmeticInstrCost( in getArithmeticInstrCost() local
3092 InstructionCost Cost = BaseT::getArithmeticInstrCost( in getArithmeticInstrCost() local
3486 InstructionCost Cost(0); in getMemoryOpCost() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp81 unsigned Cost = ~0U; in operator []() local
330 InstructionCost Cost = in getArithmeticInstrCost() local
344 InstructionCost Cost = in getArithmeticInstrCost() local
1720 InstructionCost Cost = 0; in getShuffleCost() local
3152 InstructionCost N = 1) -> InstructionCost { in getCastInstrCost()
4298 FastMathFlags FMF) -> InstructionCost { in getIntrinsicInstrCost()
4633 InstructionCost Cost = 0; in getScalarizationOverhead() local
4923 InstructionCost Cost = 0; in getMemoryOpCost() local
5095 InstructionCost Cost = 0; in getMaskedMemoryOpCost() local
5641 InstructionCost Cost = 0; in getIntImmCost() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp371 InstructionCost Cost; in collectConstantCandidates() local
439 InstructionCost Cost = in collectConstantCandidates() local
598 InstructionCost Cost = 0; in maximizeConstantsInRange() local

1234