Home
last modified time | relevance | path

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

123

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDTargetTransformInfo.cpp151 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost() local
158 int Cost = TTIImpl->getCallCost(FTy, NumArgs, U); in getCallCost() local
166 int Cost = TTIImpl->getCallCost(F, Arguments, U); in getCallCost() local
192 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments, U); in getIntrinsicCost() local
206 int Cost = TTIImpl->getUserCost(U, Operands); in getUserCost() local
354 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() local
448 int Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local
456 int Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local
462 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost() local
469 int Cost = TTIImpl->getIntImmCostInst(Opcode, Idx, Imm, Ty); in getIntImmCostInst() local
[all …]
HDCostModel.cpp103 unsigned Cost = TTI->getInstructionCost(&Inst, CostKind); in print() local
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDBasicTTIImpl.h86 unsigned Cost = 0; in getBroadcastShuffleOverhead() local
103 unsigned Cost = 0; in getPermuteShuffleOverhead() local
129 unsigned Cost = 0; in getExtractSubvectorOverhead() local
151 unsigned Cost = 0; in getInsertSubvectorOverhead() local
571 unsigned Cost = 0; in getScalarizationOverhead() local
590 unsigned Cost = 0; in getOperandsScalarizationOverhead() local
614 unsigned Cost = 0; in getScalarizationOverhead() local
667 unsigned Cost = static_cast<T *>(this) variable
801 unsigned Cost = static_cast<T *>(this)->getCastInstrCost( variable
864 unsigned Cost = static_cast<T *>(this)->getCmpSelInstrCost( in getCmpSelInstrCost() local
[all …]
HDCostTable.h27 unsigned Cost; member
48 unsigned Cost; member
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDInlineCost.h70 int Cost; variable
80 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost() function
86 static InlineCost get(int Cost, int Threshold) { in get()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
HDSystemZTargetTransformInfo.cpp433 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() local
450 unsigned Cost = (VF * LIBCALL_COST) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() local
581 unsigned Cost = 0; in getVectorTruncCost() local
658 unsigned Cost = 0; in getBoolVecToIntConversionCost() local
779 unsigned Cost = 0; in getCastInstrCost() local
842 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); in getCmpSelInstrCost() local
872 unsigned Cost = 1; in getCmpSelInstrCost() local
895 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); in getVectorInstrCost() local
1131 int Cost = getVectorIntrinsicInstrCost(ID, RetTy); in getIntrinsicInstrCost() local
1141 int Cost = getVectorIntrinsicInstrCost(ID, RetTy); in getIntrinsicInstrCost() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
HDWebAssemblyTargetTransformInfo.cpp52 unsigned Cost = BasicTTIImplBase<WebAssemblyTTIImpl>::getArithmeticInstrCost( in getArithmeticInstrCost() local
77 unsigned Cost = BasicTTIImplBase::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
HDBottleneckAnalysis.h188 uint64_t Cost; member
225 uint64_t Cost; member
252 unsigned Cost) { in addRegisterDep()
256 void addMemoryDep(unsigned From, unsigned To, unsigned Cost) { in addMemoryDep()
261 unsigned Cost) { in addResourceDep()
HDBottleneckAnalysis.cpp244 uint64_t Cost = N.Cost + DepEdge.Dep.Cost; in propagateThroughEdges() local
462 unsigned RegID, unsigned Cost) { in addRegisterDep()
474 unsigned Cost) { in addMemoryDep()
486 uint64_t Mask, unsigned Cost) { in addResourceDep()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDRegisterClassInfo.cpp115 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
135 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
HDMachineLICM.cpp864 auto Cost = calcRegisterCost(MI, /*ConsiderSeen=*/true, ConsiderUnseenAsDef); in UpdateRegPressure() local
883 DenseMap<unsigned, int> Cost; in calcRegisterCost() local
1185 MachineLICMBase::CanCauseHighRegPressure(const DenseMap<unsigned, int>& Cost, in CanCauseHighRegPressure()
1213 auto Cost = calcRegisterCost(MI, /*ConsiderSeen=*/false, in UpdateBackTraceRegPressure() local
1279 auto Cost = calcRegisterCost(&MI, /*ConsiderSeen=*/false, in IsProfitableToHoist() local
HDRegAllocFast.cpp585 unsigned Cost = 0; in calcSpillCost() local
677 unsigned Cost = calcSpillCost(Hint0); in allocVirtReg() local
698 unsigned Cost = calcSpillCost(Hint1); in allocVirtReg() local
719 unsigned Cost = calcSpillCost(PhysReg); in allocVirtReg() local
HDRegAllocGreedy.cpp793 unsigned Cost = TRI->getCostPerUse(PhysReg); in tryAssign() local
892 EvictionCost Cost; in canEvictInterference() local
973 EvictionCost Cost; in canEvictInterferenceInRange() local
1187 BlockFrequency &Cost) { in addSplitConstraints()
1386 BlockFrequency Cost; in calcCompactRegion() local
1415 BlockFrequency Cost = 0; in calcSpillCost() local
1909 BlockFrequency Cost; in calculateRegionSplitCost() local
2898 BlockFrequency Cost = 0; in getBrokenHintFreq() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
HDPPCTargetTransformInfo.cpp709 int PPCTTIImpl::vectorCostAdjustment(int Cost, unsigned Opcode, Type *Ty1, in vectorCostAdjustment()
743 int Cost = BaseT::getArithmeticInstrCost(Opcode, Ty, Op1Info, Op2Info, in getArithmeticInstrCost() local
766 int Cost = BaseT::getCastInstrCost(Opcode, Dst, Src); in getCastInstrCost() local
772 int Cost = BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost() local
782 int Cost = BaseT::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
857 int Cost = BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost() local
941 int Cost = in getInterleavedMemoryOpCost() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
HDAArch64TargetTransformInfo.cpp74 int Cost = 0; in getIntImmCost() local
142 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostInst() local
177 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostIntrin() local
422 auto Cost = getVectorInstrCost(Instruction::ExtractElement, VecTy, Index); in getExtractWithExtendCost() local
499 int Cost = 0; in getArithmeticInstrCost() local
709 int Cost = 0; in getCostOfKeepingLiveOverCall() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
HDRegBankSelect.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
941 bool RegBankSelect::MappingCost::addLocalCost(uint64_t Cost) { in addLocalCost()
951 bool RegBankSelect::MappingCost::addNonLocalCost(uint64_t Cost) { in addNonLocalCost()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
HDRegisterBankInfo.h195 unsigned Cost = 0; variable
215 InstructionMapping(unsigned ID, unsigned Cost, in InstructionMapping()
525 getInstructionMapping(unsigned ID, unsigned Cost, in getInstructionMapping()
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
HDDAGISelEmitter.cpp44 unsigned Cost = 0; in getResultPatternCost() local
63 unsigned Cost = 0; in getResultPatternSize() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPURegisterBankInfo.h126 int16_t Cost; member
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/Utils/
HDRISCVMatInt.cpp83 int Cost = 0; in getIntMatCost() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86TargetTransformInfo.cpp258 int Cost = in getArithmeticInstrCost() local
2456 int Cost = BaseT::getMemoryOpCost(Opcode, VTy->getScalarType(), Alignment, in getMemoryOpCost() local
2470 int Cost = LT.first * 1; in getMemoryOpCost() local
2514 int Cost = 0; in getMaskedMemoryOpCost() local
3026 int Cost = 0; in getIntImmCost() local
3124 int Cost = X86TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCostInst() local
3758 int Cost = NumOfResults * NumOfShufflesPerResult * ShuffleCost + in getInterleavedMemoryOpCostAVX512() local
3794 int Cost = NumOfMemOps * (MemOpCost + NumOfShufflesPerStore * ShuffleCost) + in getInterleavedMemoryOpCostAVX512() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
HDRegisterFile.cpp120 unsigned Cost = Entry.IndexPlusCost.second; in allocatePhysRegs() local
135 unsigned Cost = Entry.IndexPlusCost.second; in freePhysRegs() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
HDARMTargetTransformInfo.cpp726 int Cost = BaseT::getArithmeticInstrCost(Opcode, Ty, Op1Info, Op2Info, in getArithmeticInstrCost() local
784 unsigned Cost = getArithmeticInstrCost(Opcode, Ty->getScalarType()); in getArithmeticInstrCost() local
1235 unsigned Cost = 0; in getUnrollingPreferences() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDConstantHoisting.cpp361 unsigned Cost; in collectConstantCandidates() local
419 int Cost = TTI->getIntImmCostInst(Instruction::Add, 1, Offset, PtrIntTy); in collectConstantCandidates() local
577 int Cost = 0; in maximizeConstantsInRange() local
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonTargetTransformInfo.cpp183 unsigned Cost = in getMemoryOpCost() local
272 unsigned Cost = (Index != 0) ? 2 : 0; in getVectorInstrCost() local

123