Lines Matching refs:Cost
51 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost() local
52 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getOperationCost()
53 return Cost; in getOperationCost()
57 int Cost = TTIImpl->getCallCost(FTy, NumArgs); in getCallCost() local
58 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getCallCost()
59 return Cost; in getCallCost()
64 int Cost = TTIImpl->getCallCost(F, Arguments); in getCallCost() local
65 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getCallCost()
66 return Cost; in getCallCost()
71 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() local
72 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getIntrinsicCost()
73 return Cost; in getIntrinsicCost()
77 int Cost = TTIImpl->getUserCost(U); in getUserCost() local
78 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getUserCost()
79 return Cost; in getUserCost()
137 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() local
139 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getScalingFactorCost()
140 return Cost; in getScalingFactorCost()
185 int Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost() local
186 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getFPOpCost()
187 return Cost; in getFPOpCost()
191 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost() local
192 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getIntImmCost()
193 return Cost; in getIntImmCost()
198 int Cost = TTIImpl->getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost() local
199 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getIntImmCost()
200 return Cost; in getIntImmCost()
205 int Cost = TTIImpl->getIntImmCost(IID, Idx, Imm, Ty); in getIntImmCost() local
206 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getIntImmCost()
207 return Cost; in getIntImmCost()
226 int Cost = TTIImpl->getArithmeticInstrCost(Opcode, Ty, Opd1Info, Opd2Info, in getArithmeticInstrCost() local
228 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getArithmeticInstrCost()
229 return Cost; in getArithmeticInstrCost()
234 int Cost = TTIImpl->getShuffleCost(Kind, Ty, Index, SubTp); in getShuffleCost() local
235 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getShuffleCost()
236 return Cost; in getShuffleCost()
241 int Cost = TTIImpl->getCastInstrCost(Opcode, Dst, Src); in getCastInstrCost() local
242 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getCastInstrCost()
243 return Cost; in getCastInstrCost()
247 int Cost = TTIImpl->getCFInstrCost(Opcode); in getCFInstrCost() local
248 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getCFInstrCost()
249 return Cost; in getCFInstrCost()
254 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost() local
255 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getCmpSelInstrCost()
256 return Cost; in getCmpSelInstrCost()
261 int Cost = TTIImpl->getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost() local
262 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getVectorInstrCost()
263 return Cost; in getVectorInstrCost()
269 int Cost = TTIImpl->getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost() local
270 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getMemoryOpCost()
271 return Cost; in getMemoryOpCost()
277 int Cost = in getMaskedMemoryOpCost() local
279 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getMaskedMemoryOpCost()
280 return Cost; in getMaskedMemoryOpCost()
286 int Cost = TTIImpl->getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost() local
288 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getInterleavedMemoryOpCost()
289 return Cost; in getInterleavedMemoryOpCost()
294 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys); in getIntrinsicInstrCost() local
295 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getIntrinsicInstrCost()
296 return Cost; in getIntrinsicInstrCost()
301 int Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys); in getCallInstrCost() local
302 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getCallInstrCost()
303 return Cost; in getCallInstrCost()
312 int Cost = TTIImpl->getAddressComputationCost(Tp, IsComplex); in getAddressComputationCost() local
313 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getAddressComputationCost()
314 return Cost; in getAddressComputationCost()
319 int Cost = TTIImpl->getReductionCost(Opcode, Ty, IsPairwiseForm); in getReductionCost() local
320 assert(Cost >= 0 && "TTI should not produce negative costs!"); in getReductionCost()
321 return Cost; in getReductionCost()