Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DInlineCost.h61 CostBenefitPair(APInt Cost, APInt Benefit) : Cost(Cost), Benefit(Benefit) {} in CostBenefitPair()
86 int Cost = 0; variable
100 : Cost(Cost), Threshold(Threshold), Reason(Reason), in Cost() argument
107 static InlineCost get(int Cost, int Threshold) { in get()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp222 InstructionCost Cost = TTIImpl->getUserCost(U, Operands, CostKind); in getUserCost() local
424 InstructionCost Cost = TTIImpl->getScalingFactorCost( in getScalingFactorCost() local
530 InstructionCost Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local
539 InstructionCost Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local
547 InstructionCost Cost = TTIImpl->getIntImmCost(Imm, Ty, CostKind); in getIntImmCost() local
555 InstructionCost Cost = in getIntImmCostInst() local
565 InstructionCost Cost = in getIntImmCostIntrin() local
709 InstructionCost Cost = in getArithmeticInstrCost() local
721 InstructionCost Cost = TTIImpl->getShuffleCost(Kind, Ty, Mask, Index, SubTp); in getShuffleCost() local
775 InstructionCost Cost = in getCastInstrCost() local
[all …]
DCostModel.cpp106 InstructionCost Cost = TTI->getInstructionCost(&Inst, CostKind); in print() local
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h87 InstructionCost Cost = 0; in getBroadcastShuffleOverhead() local
101 InstructionCost Cost = 0; in getPermuteShuffleOverhead() local
128 InstructionCost Cost = 0; in getExtractSubvectorOverhead() local
153 InstructionCost Cost = 0; in getInsertSubvectorOverhead() local
670 InstructionCost Cost = 0; in getScalarizationOverhead() local
700 InstructionCost Cost = 0; in getOperandsScalarizationOverhead() local
726 InstructionCost Cost = getScalarizationOverhead(RetTy, true, false); in getScalarizationOverhead() local
808 InstructionCost Cost = thisT()->getArithmeticInstrCost( variable
1014 InstructionCost Cost = thisT()->getCastInstrCost( variable
1085 InstructionCost Cost = thisT()->getCmpSelInstrCost( variable
[all …]
DCostTable.h28 CostType Cost; member
59 CostType Cost; member
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
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()
DBottleneckAnalysis.cpp241 uint64_t Cost = N.Cost + DepEdge.Dep.Cost; in propagateThroughEdges() local
453 unsigned RegID, unsigned Cost) { in addRegisterDep()
465 unsigned Cost) { in addMemoryDep()
477 uint64_t Mask, unsigned Cost) { in addResourceDep()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp525 InstructionCost Cost = in getArithmeticInstrCost() local
544 InstructionCost Cost = in getArithmeticInstrCost() local
631 unsigned Cost = 0; in getVectorTruncCost() local
708 unsigned Cost = 0; in getBoolVecToIntConversionCost() local
751 unsigned Cost = 0; in getCastInstrCost() local
893 unsigned Cost = 1; in getCmpSelInstrCost() local
936 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); in getCmpSelInstrCost() local
965 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); in getVectorInstrCost() local
1201 InstructionCost Cost = in getIntrinsicInstrCost() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp60 InstructionCost Cost = in getArithmeticInstrCost() local
88 InstructionCost Cost = in getVectorInstrCost() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DRegisterClassInfo.cpp117 uint8_t Cost = RegCosts[PhysReg]; in compute() local
137 uint8_t Cost = RegCosts[PhysReg]; in compute() local
DMachineLICM.cpp808 auto Cost = calcRegisterCost(MI, /*ConsiderSeen=*/true, ConsiderUnseenAsDef); in UpdateRegPressure() local
827 DenseMap<unsigned, int> Cost; in calcRegisterCost() local
1092 MachineLICMBase::CanCauseHighRegPressure(const DenseMap<unsigned, int>& Cost, in CanCauseHighRegPressure()
1120 auto Cost = calcRegisterCost(MI, /*ConsiderSeen=*/false, in UpdateBackTraceRegPressure() local
1186 auto Cost = calcRegisterCost(&MI, /*ConsiderSeen=*/false, in IsProfitableToHoist() local
DRegAllocGreedy.cpp856 uint8_t Cost = RegCosts[PhysReg]; in tryAssign() local
956 EvictionCost Cost; in canEvictInterference() local
1038 EvictionCost Cost; in canEvictInterferenceInRange() local
1249 BlockFrequency &Cost) { in addSplitConstraints()
1445 BlockFrequency Cost; in calcCompactRegion() local
1474 BlockFrequency Cost = 0; in calcSpillCost() local
1936 BlockFrequency Cost; in calculateRegionSplitCost() local
2918 BlockFrequency Cost = 0; in getBrokenHintFreq() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMatInt.cpp19 int Cost = 0; in getInstSeqCost() local
197 int Cost = 0; in getIntMatCost() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp279 unsigned Cost = RBI->copyCost(*DesiredRegBank, *CurRegBank, in getRepairCost() local
296 MappingCost Cost = MappingCost::ImpossibleCost(); in findBestMapping() local
452 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping() local
971 bool RegBankSelect::MappingCost::addLocalCost(uint64_t Cost) { in addLocalCost()
981 bool RegBankSelect::MappingCost::addNonLocalCost(uint64_t Cost) { in addNonLocalCost()
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
DDAGISelEmitter.cpp45 unsigned Cost = 0; in getResultPatternCost() local
64 unsigned Cost = 0; in getResultPatternSize() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp947 InstructionCost PPCTTIImpl::vectorCostAdjustment(InstructionCost Cost, in vectorCostAdjustment()
986 InstructionCost Cost = BaseT::getArithmeticInstrCost( in getArithmeticInstrCost() local
1022 InstructionCost Cost = in getCastInstrCost() local
1036 InstructionCost Cost = in getCmpSelInstrCost() local
1051 InstructionCost Cost = BaseT::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
1124 InstructionCost Cost = in getMemoryOpCost() local
1208 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), in getInterleavedMemoryOpCost() local
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h196 unsigned Cost = 0; variable
216 InstructionMapping(unsigned ID, unsigned Cost, in InstructionMapping()
526 getInstructionMapping(unsigned ID, unsigned Cost, in getInstructionMapping()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.h132 int16_t Cost; member
DAMDGPUTargetTransformInfo.cpp559 InstructionCost Cost = getArithmeticInstrCost( in getArithmeticInstrCost() local
662 int Cost = 7 * get64BitInstrCost(CostKind) + in getArithmeticInstrCost() local
686 int Cost = in getArithmeticInstrCost() local
693 int Cost = (SLT == MVT::f16 ? 14 : 10) * getFullRateInstrCost() + in getArithmeticInstrCost() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp78 InstructionCost Cost = 0; in getIntImmCost() local
148 InstructionCost Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty, CostKind); in getIntImmCostInst() local
185 InstructionCost Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty, CostKind); in getIntImmCostIntrin() local
266 InstructionCost Cost = 1; // Cost of the `index' instruction in getIntrinsicInstrCost() local
934 auto AdjustCost = [&CostKind](InstructionCost Cost) -> InstructionCost { in getCastInstrCost()
1200 InstructionCost Cost = in getExtractWithExtendCost() local
1299 InstructionCost Cost = 0; in getArithmeticInstrCost() local
1638 InstructionCost Cost = 0; in getCostOfKeepingLiveOverCall() local
1964 InstructionCost Cost = in getArithmeticReductionCost() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp196 unsigned Cost = in getMemoryOpCost() local
296 InstructionCost Cost = in getCastInstrCost() local
312 unsigned Cost = (Index != 0) ? 2 : 0; in getVectorInstrCost() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp281 InstructionCost Cost = in getArithmeticInstrCost() local
1510 auto AdjustCost = [&CostKind](InstructionCost Cost) -> InstructionCost { in getCastInstrCost()
3068 unsigned Cost = MTy.getVectorElementType() == MVT::i8 ? 1 : 2; in getTypeBasedIntrinsicInstrCost() local
3426 InstructionCost Cost = 0; in getScalarizationOverhead() local
3550 InstructionCost Cost = 0; in getMemoryOpCost() local
3699 InstructionCost Cost = 0; in getMaskedMemoryOpCost() local
4336 InstructionCost Cost = 0; in getIntImmCost() local
4436 InstructionCost Cost = X86TTIImpl::getIntImmCost(Imm, Ty, CostKind); in getIntImmCostInst() local
5104 InstructionCost Cost = NumOfResults * NumOfShufflesPerResult * ShuffleCost + in getInterleavedMemoryOpCostAVX512() local
5140 InstructionCost Cost = in getInterleavedMemoryOpCostAVX512() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp368 InstructionCost Cost; in collectConstantCandidates() local
428 InstructionCost Cost = in collectConstantCandidates() local
588 InstructionCost Cost = 0; in maximizeConstantsInRange() local
DSpeculativeExecution.cpp297 const InstructionCost Cost = ComputeSpeculationCost(&I, *TTI); in considerHoistingFromTo() local
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp410 auto AdjustCost = [&CostKind](InstructionCost Cost) -> InstructionCost { in getCastInstrCost()
859 InstructionCost Cost = TLI->getTypeLegalizationCost(DL, ValTy).first; in getCmpSelInstrCost() local
1320 InstructionCost Cost = BaseT::getArithmeticInstrCost( in getArithmeticInstrCost() local
1380 InstructionCost Cost = in getArithmeticInstrCost() local
2175 InstructionCost Cost = 0; in getUnrollingPreferences() local

123