/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/ |
D | costmodel.h | 46 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/ |
D | TargetTransformInfo.cpp | 151 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 …]
|
D | CostModel.cpp | 103 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/ |
D | BasicTTIImpl.h | 86 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 …]
|
D | CostTable.h | 27 unsigned Cost; member 48 unsigned Cost; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 70 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/ |
D | WebAssemblyTargetTransformInfo.cpp | 52 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/ |
D | SystemZTargetTransformInfo.cpp | 433 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/ |
D | RegisterClassInfo.cpp | 115 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local 135 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
|
D | MachineLICM.cpp | 864 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
|
D | RegAllocFast.cpp | 585 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
|
D | RegAllocGreedy.cpp | 793 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/ |
D | PPCTargetTransformInfo.cpp | 689 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/ |
D | AArch64TargetTransformInfo.cpp | 74 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/ |
D | RegBankSelect.cpp | 279 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/ |
D | RegisterBankInfo.h | 195 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/ |
D | AMDGPURegisterBankInfo.h | 126 int16_t Cost; member
|
/third_party/boost/boost/graph/ |
D | find_flow_cost.hpp | 21 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/ |
D | RISCVMatInt.cpp | 83 int Cost = 0; in getIntMatCost() local
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 258 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/ |
D | RegisterFile.cpp | 120 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/ |
D | SpeculativeExecution.cpp | 269 const unsigned Cost = ComputeSpeculationCost(&I, *TTI); in considerHoistingFromTo() local
|
D | ConstantHoisting.cpp | 361 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/ |
D | ARMTargetTransformInfo.cpp | 726 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/ |
D | HexagonTargetTransformInfo.cpp | 183 unsigned Cost = in getMemoryOpCost() local 272 unsigned Cost = (Index != 0) ? 2 : 0; in getVectorInstrCost() local
|