Home
last modified time | relevance | path

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

123

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/
Dcostmodel.h46 struct Cost { struct
49 …ation_cost_(computation), communication_cost_(communication), decision_ptr_(std::move(decision_)) { in computation_cost_()
76 using CostPtr = std::shared_ptr<Cost>; argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.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 …]
DCostModel.cpp103 unsigned Cost = TTI->getInstructionCost(&Inst, CostKind); in print() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.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 …]
DCostTable.h27 unsigned Cost; member
48 unsigned Cost; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInlineCost.h70 int Cost; variable
80 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost() argument
86 static InlineCost get(int Cost, int Threshold) { in get()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp52 unsigned Cost = BasicTTIImplBase<WebAssemblyTTIImpl>::getArithmeticInstrCost( in getArithmeticInstrCost() local
77 unsigned Cost = BasicTTIImplBase::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegisterClassInfo.cpp115 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
135 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
DMachineLICM.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
DRegAllocFast.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
DRegAllocGreedy.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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp689 int PPCTTIImpl::vectorCostAdjustment(int Cost, unsigned Opcode, Type *Ty1, in vectorCostAdjustment()
723 int Cost = BaseT::getArithmeticInstrCost(Opcode, Ty, Op1Info, Op2Info, in getArithmeticInstrCost() local
746 int Cost = BaseT::getCastInstrCost(Opcode, Dst, Src); in getCastInstrCost() local
752 int Cost = BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost() local
762 int Cost = BaseT::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
837 int Cost = BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost() local
921 int Cost = in getInterleavedMemoryOpCost() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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
941 bool RegBankSelect::MappingCost::addLocalCost(uint64_t Cost) { in addLocalCost()
951 bool RegBankSelect::MappingCost::addNonLocalCost(uint64_t Cost) { in addNonLocalCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h195 unsigned Cost = 0; variable
215 InstructionMapping(unsigned ID, unsigned Cost, in InstructionMapping()
525 getInstructionMapping(unsigned ID, unsigned Cost, in getInstructionMapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.h126 int16_t Cost; member
/third_party/boost/boost/graph/
Dfind_flow_cost.hpp21 typedef typename property_traits< Weight >::value_type Cost; in find_flow_cost() typedef
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/Utils/
DRISCVMatInt.cpp83 int Cost = 0; in getIntMatCost() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DRegisterFile.cpp120 unsigned Cost = Entry.IndexPlusCost.second; in allocatePhysRegs() local
135 unsigned Cost = Entry.IndexPlusCost.second; in freePhysRegs() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp269 const unsigned Cost = ComputeSpeculationCost(&I, *TTI); in considerHoistingFromTo() local
DConstantHoisting.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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp183 unsigned Cost = in getMemoryOpCost() local
272 unsigned Cost = (Index != 0) ? 2 : 0; in getVectorInstrCost() local

123