Home
last modified time | relevance | path

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

123456

/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-7.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp59 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost() local
65 int Cost = TTIImpl->getCallCost(FTy, NumArgs); in getCallCost() local
72 int Cost = TTIImpl->getCallCost(F, Arguments); in getCallCost() local
93 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() local
106 int Cost = TTIImpl->getUserCost(U, Operands); in getUserCost() local
200 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() local
298 int Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local
306 int Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost() local
312 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost() local
319 int Cost = TTIImpl->getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost() local
[all …]
DCostModel.cpp103 unsigned Cost = TTI->getInstructionCost(&Inst, CostKind); in print() local
/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-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp399 unsigned Cost = (VF * ScalarCost) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() local
416 unsigned Cost = (VF * LIBCALL_COST) + getScalarizationOverhead(Ty, Args); in getArithmeticInstrCost() local
535 unsigned Cost = 0; in getVectorTruncCost() local
640 unsigned Cost = 0; in getCastInstrCost() local
712 unsigned Cost = 0; in getCastInstrCost() local
764 unsigned Cost = (NumVecs_cmp * (CmpCostPerVector + PredicateExtraCost)); in getCmpSelInstrCost() local
784 unsigned Cost = 1; in getCmpSelInstrCost() local
807 int Cost = ((Val->getScalarSizeInBits() == 1) ? 2 /*+test-under-mask*/ : 1); in getVectorInstrCost() local
/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-7.0/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/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-7.0/llvm/include/llvm/Analysis/
DInlineCost.h72 const int Cost; variable
78 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost()
81 static InlineCost get(int Cost, int Threshold) { in get()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DCostTable.h28 unsigned Cost; member
49 unsigned Cost; member
DBasicTTIImpl.h87 unsigned Cost = 0; in getPermuteShuffleOverhead() local
448 unsigned Cost = 0; in getScalarizationOverhead() local
467 unsigned Cost = 0; in getOperandsScalarizationOverhead() local
491 unsigned Cost = 0; in getScalarizationOverhead() local
543 unsigned Cost = static_cast<T *>(this) variable
670 unsigned Cost = static_cast<T *>(this)->getCastInstrCost( variable
733 unsigned Cost = static_cast<T *>(this)->getCmpSelInstrCost( in getCmpSelInstrCost() local
758 unsigned Cost = LT.first; variable
798 unsigned Cost = static_cast<T *>(this)->getMemoryOpCost( in getInterleavedMemoryOpCost() local
/external/llvm/include/llvm/Target/
DCostTable.h27 unsigned Cost; member
48 unsigned Cost; member
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegisterClassInfo.cpp115 unsigned Cost = TRI->getCostPerUse(PhysReg); in compute() local
134 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/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelEmitter.cpp31 unsigned Cost = 0; in getResultPatternCost() local
50 unsigned Cost = 0; in getResultPatternSize() local
/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-7.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp72 int Cost = 0; in getIntImmCost() local
140 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost() local
169 int Cost = AArch64TTIImpl::getIntImmCost(Imm, Ty); in getIntImmCost() local
414 auto Cost = getVectorInstrCost(Instruction::ExtractElement, VecTy, Index); in getExtractWithExtendCost() local
490 int Cost = 0; in getArithmeticInstrCost() local
683 int Cost = 0; in getCostOfKeepingLiveOverCall() local
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h189 unsigned Cost = 0; variable
211 InstructionMapping(unsigned ID, unsigned Cost, in InstructionMapping()
523 getInstructionMapping(unsigned ID, unsigned Cost, in getInstructionMapping()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp226 unsigned Cost = RBI->copyCost(*DesiredRegBrank, *CurRegBank, in getRepairCost() local
243 MappingCost Cost = MappingCost::ImpossibleCost(); in findBestMapping() local
399 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping() local
868 bool RegBankSelect::MappingCost::addLocalCost(uint64_t Cost) { in addLocalCost()
878 bool RegBankSelect::MappingCost::addNonLocalCost(uint64_t Cost) { in addNonLocalCost()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h49 unsigned Cost = 0; in getScalarizationOverhead() local
66 unsigned Cost = 0; in getAltShuffleOverhead() local
332 unsigned Cost = static_cast<T *>(this) variable
444 unsigned Cost = static_cast<T *>(this)->getCastInstrCost( in getCastInstrCost() local
506 unsigned Cost = static_cast<T *>(this)->getCmpSelInstrCost( in getCmpSelInstrCost() local
531 unsigned Cost = LT.first; in getMemoryOpCost() local
571 unsigned Cost = static_cast<T *>(this)->getMemoryOpCost( in getInterleavedMemoryOpCost() local
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp179 int Cost = 4 * get64BitInstrCost() + 7 * getQuarterRateInstrCost(); in getArithmeticInstrCost() local
191 int Cost = 7 * getFullRateInstrCost() + 1 * getQuarterRateInstrCost(); in getArithmeticInstrCost() local
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DDAGISelEmitter.cpp45 unsigned Cost = 0; in getResultPatternCost() local
64 unsigned Cost = 0; in getResultPatternSize() local
/external/llvm/utils/TableGen/
DDAGISelEmitter.cpp45 unsigned Cost = 0; in getResultPatternCost() local
64 unsigned Cost = 0; in getResultPatternSize() local
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h110 unsigned Cost; variable
130 InstructionMapping(unsigned ID, unsigned Cost, unsigned NumOperands) in InstructionMapping()

123456