Home
last modified time | relevance | path

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

12345678

/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp52 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost() local
58 int Cost = TTIImpl->getCallCost(FTy, NumArgs); in getCallCost() local
65 int Cost = TTIImpl->getCallCost(F, Arguments); in getCallCost() local
81 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() local
87 int Cost = TTIImpl->getUserCost(U); in getUserCost() local
147 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() local
207 int Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local
215 int Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local
221 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost() local
228 int Cost = TTIImpl->getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost() local
[all …]
/external/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 …]
/external/llvm/include/llvm/Analysis/
DInlineCost.h59 const int Cost; variable
65 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost()
68 static InlineCost get(int Cost, int Threshold) { in get()
/external/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
/external/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()
/external/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h86 unsigned Cost = 0; in getBroadcastShuffleOverhead() local
100 unsigned Cost = 0; in getPermuteShuffleOverhead() local
125 unsigned Cost = 0; in getExtractSubvectorOverhead() local
148 unsigned Cost = 0; in getInsertSubvectorOverhead() local
582 unsigned Cost = 0; in getScalarizationOverhead() local
610 unsigned Cost = 0; in getOperandsScalarizationOverhead() local
641 unsigned Cost = 0; in getScalarizationOverhead() local
701 unsigned Cost = thisT()->getArithmeticInstrCost( variable
864 unsigned Cost = thisT()->getCastInstrCost( variable
932 unsigned Cost = thisT()->getCmpSelInstrCost( variable
[all …]
DCostTable.h27 unsigned Cost; member
48 unsigned Cost; member
/external/llvm-project/llvm/include/llvm/Analysis/
DInlineCost.h71 int Cost = 0; variable
81 : Cost(Cost), Threshold(Threshold), Reason(Reason) { in Cost() function
87 static InlineCost get(int Cost, int Threshold) { in get()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp51 unsigned Cost = BasicTTIImplBase<WebAssemblyTTIImpl>::getArithmeticInstrCost( in getArithmeticInstrCost() local
76 unsigned Cost = BasicTTIImplBase::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
/external/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
/external/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp269 int Cost = TTIImpl->getUserCost(U, Operands, CostKind); in getUserCost() local
470 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() local
571 int Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local
579 int Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local
586 int Cost = TTIImpl->getIntImmCost(Imm, Ty, CostKind); in getIntImmCost() local
595 int Cost = TTIImpl->getIntImmCostInst(Opcode, Idx, Imm, Ty, CostKind, Inst); in getIntImmCostInst() local
604 int Cost = TTIImpl->getIntImmCostIntrin(IID, Idx, Imm, Ty, CostKind); in getIntImmCostIntrin() local
737 int Cost = TTIImpl->getArithmeticInstrCost( in getArithmeticInstrCost() local
746 int Cost = TTIImpl->getShuffleCost(Kind, Ty, Index, SubTp); in getShuffleCost() local
801 int Cost = TTIImpl->getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost() local
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp54 int Cost = 0; in getIntImmCost() local
122 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost() local
151 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost() local
311 auto Cost = getVectorInstrCost(Instruction::ExtractElement, VecTy, Index); in getExtractWithExtendCost() local
390 int Cost = getArithmeticInstrCost(Instruction::Add, Ty, Opd1Info, Opd2Info, in getArithmeticInstrCost() local
518 int Cost = 0; in getCostOfKeepingLiveOverCall() local
/external/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
/external/llvm-project/llvm/tools/llvm-mca/Views/
DBottleneckAnalysis.h189 uint64_t Cost; member
226 uint64_t Cost; member
253 unsigned Cost) { in addRegisterDep()
257 void addMemoryDep(unsigned From, unsigned To, unsigned Cost) { in addMemoryDep()
262 unsigned Cost) { in addResourceDep()
/external/llvm/include/llvm/Target/
DCostTable.h27 unsigned Cost; member
48 unsigned Cost; member
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp514 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(VTy, Args); in getArithmeticInstrCost() local
531 unsigned Cost = (VF * LIBCALL_COST) + getScalarizationOverhead(VTy, Args); in getArithmeticInstrCost() local
614 unsigned Cost = 0; in getVectorTruncCost() local
691 unsigned Cost = 0; in getBoolVecToIntConversionCost() local
733 unsigned Cost = 0; in getCastInstrCost() local
869 unsigned Cost = 1; in getCmpSelInstrCost() local
912 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); in getCmpSelInstrCost() local
941 int Cost = ((getScalarSizeInBits(Val) == 1) ? 2 /*+test-under-mask*/ : 1); in getVectorInstrCost() local
1178 int Cost = getVectorIntrinsicInstrCost(ICA.getID(), ICA.getReturnType()); in getIntrinsicInstrCost() local
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp53 unsigned Cost = BasicTTIImplBase<WebAssemblyTTIImpl>::getArithmeticInstrCost( in getArithmeticInstrCost() local
79 unsigned Cost = BasicTTIImplBase::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
/external/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
/external/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
/external/llvm-project/llvm/lib/CodeGen/
DRegisterClassInfo.cpp115 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
135 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
/external/llvm/lib/CodeGen/
DRegisterClassInfo.cpp103 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
122 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp192 unsigned Cost = in getRepairCost() local
210 MappingCost Cost = MappingCost::ImpossibleCost(); in findBestMapping() local
352 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping() local
782 bool RegBankSelect::MappingCost::addLocalCost(uint64_t Cost) { in addLocalCost()
792 bool RegBankSelect::MappingCost::addNonLocalCost(uint64_t Cost) { in addNonLocalCost()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp105 int Cost = 2 * getArithmeticInstrCost(Instruction::AShr, Ty, Op1Info, in getArithmeticInstrCost() local
423 int Cost = 1; in getShuffleCost() local
1073 int Cost = 0; in getScalarizationOverhead() local
1104 int Cost = BaseT::getMemoryOpCost(Opcode, VTy->getScalarType(), Alignment, in getMemoryOpCost() local
1118 int Cost = LT.first * 1; in getMemoryOpCost() local
1160 int Cost = 0; in getMaskedMemoryOpCost() local
1302 int Cost = 0; in getIntImmCost() local
1390 int Cost = X86TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost() local
/external/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

12345678