Home
last modified time | relevance | path

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

1234

/freebsd-src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h91 InstructionCost Cost = 0; getBroadcastShuffleOverhead() local
108 InstructionCost Cost = 0; getPermuteShuffleOverhead() local
139 InstructionCost Cost = 0; getExtractSubvectorOverhead() local
167 InstructionCost Cost = 0; getInsertSubvectorOverhead() local
768 InstructionCost Cost = 0; getScalarizationOverhead() local
806 InstructionCost Cost = 0; getOperandsScalarizationOverhead() local
834 InstructionCost Cost = getScalarizationOverhead( getScalarizationOverhead() local
852 InstructionCost Cost = 1; getTypeLegalizationCost() local
948 InstructionCost Cost = thisT()->getArithmeticInstrCost( global() variable
1172 InstructionCost Cost = thisT()->getCastInstrCost( global() variable
1251 InstructionCost Cost = thisT()->getCmpSelInstrCost( global() variable
1291 InstructionCost Cost; getReplicationShuffleCost() local
1329 InstructionCost Cost = LT.first; global() variable
1396 InstructionCost Cost; global() variable
1558 InstructionCost Cost = (ActiveBits + PopCount - 2) * getIntrinsicInstrCost() local
1672 InstructionCost Cost = 0; getIntrinsicInstrCost() local
1714 InstructionCost Cost = getIntrinsicInstrCost() local
2032 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
2051 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
2070 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
2089 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
2107 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
2135 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
2155 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
2173 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
2201 InstructionCost Cost = 0; getTypeBasedIntrinsicInstrCost() local
[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() argument
534 getInstructionMapping(unsigned ID, unsigned Cost, in getInstructionMapping() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp688 InstructionCost Cost in getIntImmCostIntrin() local
269 InstructionCost Cost = TTIImpl->getInstructionCost(U, Operands, CostKind); getInstructionCost() local
523 InstructionCost Cost = TTIImpl->getScalingFactorCost( getScalingFactorCost() local
653 InstructionCost Cost = TTIImpl->getFPOpCost(Ty); getFPOpCost() local
662 InstructionCost Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); getIntImmCodeSizeCost() local
670 InstructionCost Cost = TTIImpl->getIntImmCost(Imm, Ty, CostKind); getIntImmCost() local
678 InstructionCost Cost = getIntImmCostInst() local
871 InstructionCost Cost = getArithmeticInstrCost() local
882 InstructionCost Cost = getAltInstrCost() local
892 InstructionCost Cost = getShuffleCost() local
947 InstructionCost Cost = getCastInstrCost() local
955 InstructionCost Cost = getExtractWithExtendCost() local
965 InstructionCost Cost = TTIImpl->getCFInstrCost(Opcode, CostKind, I); getCFInstrCost() local
975 InstructionCost Cost = getCmpSelInstrCost() local
987 InstructionCost Cost = getVectorInstrCost() local
1000 InstructionCost Cost = TTIImpl->getVectorInstrCost(I, Val, CostKind, Index); getVectorInstrCost() local
1008 InstructionCost Cost = TTIImpl->getReplicationShuffleCost( getReplicationShuffleCost() local
1020 InstructionCost Cost = TTIImpl->getMemoryOpCost( getMemoryOpCost() local
1029 InstructionCost Cost = TTIImpl->getMaskedMemoryOpCost(Opcode, Src, Alignment, getMaskedMemoryOpCost() local
1038 InstructionCost Cost = TTIImpl->getGatherScatterOpCost( getGatherScatterOpCost() local
1048 InstructionCost Cost = TTIImpl->getInterleavedMemoryOpCost( getInterleavedMemoryOpCost() local
1058 InstructionCost Cost = TTIImpl->getIntrinsicInstrCost(ICA, CostKind); getIntrinsicInstrCost() local
1067 InstructionCost Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys, CostKind); getCallInstrCost() local
1079 InstructionCost Cost = TTIImpl->getAddressComputationCost(Tp, SE, Ptr); getAddressComputationCost() local
1085 InstructionCost Cost = TTIImpl->getMemcpyCost(I); getMemcpyCost() local
1097 InstructionCost Cost = getArithmeticReductionCost() local
1106 InstructionCost Cost = getMinMaxReductionCost() local
[all...]
H A DInlineOrder.cpp25 enum class InlinePriorityMode : int { Size, Cost, CostBenefit, ML }; enumerator
108 int Cost = INT_MAX; member in __anon8bc167500111::CostPriority
174 int Cost = INT_MAX; global() member in __anon8bc167500111::CostBenefitPriority
196 int Cost = INT_MAX; global() member in __anon8bc167500111::MLPriority
[all...]
H A DCostModel.cpp58 InstructionCost Cost; in run() local
/freebsd-src/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
453 addRegisterDep(unsigned From,unsigned To,unsigned RegID,unsigned Cost) addRegisterDep() argument
465 addMemoryDep(unsigned From,unsigned To,unsigned Cost) addMemoryDep() argument
477 addResourceDep(unsigned From,unsigned To,uint64_t Mask,unsigned Cost) addResourceDep() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h68 CostBenefitPair(APInt Cost, APInt Benefit) in CostBenefitPair() argument
93 int Cost = 0; global() variable
111 Cost(Cost) Cost() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp49 InstructionCost Cost = 0; getRISCVInstructionCost() local
404 InstructionCost Cost = 0; getShuffleCost() local
597 InstructionCost Cost = MemCost; getInterleavedMemoryOpCost() local
790 unsigned Cost = 1; // vid getIntrinsicInstrCost() local
796 unsigned Cost = 5; getIntrinsicInstrCost() local
804 unsigned Cost = 7; getIntrinsicInstrCost() local
817 unsigned Cost = 7; getIntrinsicInstrCost() local
1046 InstructionCost Cost = 0; getMemoryOpCost() local
1346 InstructionCost Cost = TTI::TCC_Free; getPointersChainCost() local
1432 InstructionCost Cost = 0; getUnrollingPreferences() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp568 InstructionCost Cost = getArithmeticInstrCost() local
588 InstructionCost Cost = (VF * LIBCALL_COST) + getArithmeticInstrCost() local
677 unsigned Cost = 0; getVectorTruncCost() local
754 unsigned Cost = 0; getBoolVecToIntConversionCost() local
806 unsigned Cost = 0; getCastInstrCost() local
981 unsigned Cost = 1; getCmpSelInstrCost() local
1024 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); getCmpSelInstrCost() local
1055 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); getVectorInstrCost() local
1296 InstructionCost Cost = getIntrinsicInstrCost() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp601 InstructionCost Cost = BaseT::getArithmeticInstrCost( in getArithmeticInstrCost() local
648 InstructionCost Cost = getCastInstrCost() local
667 InstructionCost Cost = getCmpSelInstrCost() local
688 InstructionCost Cost = getVectorInstrCost() local
774 InstructionCost Cost = getMemoryOpCost() local
865 InstructionCost Cost = getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), getInterleavedMemoryOpCost() local
1037 InstructionCost Cost = BaseT::getVPMemoryOpCost(Opcode, Src, Alignment, getVPMemoryOpCost() local
1059 InstructionCost Cost = LT.first * CostFactor; getVPMemoryOpCost() local
[all...]
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterClassInfo.cpp150 MinCost = std::min(MinCost, Cost); in compute() local
169 if (Cost != LastCost) in compute() local
H A DMachineLICM.cpp857 auto Cost = calcRegisterCost(MI, /*ConsiderSeen=*/true, ConsiderUnseenAsDef); UpdateRegPressure() local
876 DenseMap<unsigned, int> Cost; calcRegisterCost() local
1144 CanCauseHighRegPressure(const DenseMap<unsigned,int> & Cost,bool CheapInstr) CanCauseHighRegPressure() argument
1172 auto Cost = calcRegisterCost(MI, /*ConsiderSeen=*/false, UpdateBackTraceRegPressure() local
1239 auto Cost = calcRegisterCost(&MI, /*ConsiderSeen=*/false, IsProfitableToHoist() local
[all...]
H A DRegAllocGreedy.cpp441 uint8_t Cost = RegCosts[PhysReg]; tryAssign() local
604 addSplitConstraints(InterferenceCache::Cursor Intf,BlockFrequency & Cost) addSplitConstraints() argument
823 BlockFrequency Cost; calcCompactRegion() local
852 BlockFrequency Cost = BlockFrequency(0); calcSpillCost() local
1127 BlockFrequency Cost; calculateRegionSplitCostAroundReg() local
1247 BlockFrequency Cost = BlockFrequency(0); trySplitAroundHintReg() local
2269 BlockFrequency Cost = BlockFrequency(0); getBrokenHintFreq() local
[all...]
/freebsd-src/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
452 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) computeMapping() local
978 addLocalCost(uint64_t Cost) addLocalCost() argument
988 addNonLocalCost(uint64_t Cost) addNonLocalCost() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelEmitter.cpp47 unsigned Cost = 0; getResultPatternCost() local
66 unsigned Cost = 0; getResultPatternSize() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.h134 int16_t Cost; member
H A DAMDGPUTargetTransformInfo.cpp625 int Cost = 7 * get64BitInstrCost(CostKind) + getArithmeticInstrCost() local
649 int Cost = getArithmeticInstrCost() local
659 int Cost = getQuarterRateInstrCost(CostKind) + getFullRateInstrCost(); getArithmeticInstrCost() local
665 int Cost = (SLT == MVT::f16 ? 14 : 10) * getFullRateInstrCost() + getArithmeticInstrCost() local
1337 std::pair<InstructionCost, MVT> Cost = BaseT::getTypeLegalizationCost(Ty); getTypeLegalizationCost() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp19 int Cost = 0; getInstSeqCost() local
481 int Cost = 0; getIntMatCost() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp364 InstructionCost Cost = 0; getIntImmCost() local
434 InstructionCost Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty, CostKind); getIntImmCostInst() local
471 InstructionCost Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty, CostKind); getIntImmCostIntrin() local
559 InstructionCost Cost = 1; // Cost of the `index' instruction getIntrinsicInstrCost() local
698 InstructionCost Cost = 1; getIntrinsicInstrCost() local
2260 __anon568226480a02(InstructionCost Cost) getCastInstrCost() argument
2647 InstructionCost Cost = getVectorInstrCost(Instruction::ExtractElement, VecTy, getExtractWithExtendCost() local
2805 InstructionCost Cost = getArithmeticInstrCost( getArithmeticInstrCost() local
2835 InstructionCost Cost = BaseT::getArithmeticInstrCost( getArithmeticInstrCost() local
3212 InstructionCost Cost(0); getMemoryOpCost() local
3271 InstructionCost Cost = 0; getCostOfKeepingLiveOverCall() local
3600 InstructionCost Cost = getArithmeticReductionCost() local
3677 auto Cost = ValVTy->getElementType()->isIntegerTy(1) ? 2 : Entry->Cost; getArithmeticReductionCost() local
3758 InstructionCost Cost; getShuffleCost() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp216 unsigned Cost = getMemoryOpCost() local
324 InstructionCost Cost = getCastInstrCost() local
342 unsigned Cost = (Index != 0) ? 2 : 0; getVectorInstrCost() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp81 unsigned Cost = ~0U; in operator []() local
304 InstructionCost Cost = getArithmeticInstrCost() local
318 InstructionCost Cost = getArithmeticInstrCost() local
1649 InstructionCost Cost = 0; getShuffleCost() local
2108 __anonebc8bf420602(InstructionCost Cost) getCastInstrCost() argument
4152 unsigned Cost = MTy.getVectorElementType() == MVT::i8 ? 1 : 2; getIntrinsicInstrCost() local
4179 __anonebc8bf420702(int ISD, unsigned Cost, InstructionCost LegalizationCost, FastMathFlags FMF) getIntrinsicInstrCost() argument
4507 InstructionCost Cost = 0; getScalarizationOverhead() local
4797 InstructionCost Cost = 0; getMemoryOpCost() local
4969 InstructionCost Cost = 0; getMaskedMemoryOpCost() local
5510 InstructionCost Cost = 0; getIntImmCost() local
5610 InstructionCost Cost = X86TTIImpl::getIntImmCost(Imm, Ty, CostKind); getIntImmCostInst() local
6293 InstructionCost Cost = NumOfResults * NumOfShufflesPerResult * ShuffleCost + getInterleavedMemoryOpCostAVX512() local
6330 InstructionCost Cost = getInterleavedMemoryOpCostAVX512() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp366 InstructionCost Cost; collectConstantCandidates() local
434 InstructionCost Cost = collectConstantCandidates() local
593 InstructionCost Cost = 0; maximizeConstantsInRange() local
[all...]

1234