Lines Matching refs:TTIImpl
38 : TTIImpl(new Model<NoTTIImpl>(NoTTIImpl(DL))) {} in TargetTransformInfo()
43 : TTIImpl(std::move(Arg.TTIImpl)) {} in TargetTransformInfo()
46 TTIImpl = std::move(RHS.TTIImpl); in operator =()
52 int Cost = TTIImpl->getOperationCost(Opcode, Ty, OpTy); in getOperationCost()
58 int Cost = TTIImpl->getCallCost(FTy, NumArgs); in getCallCost()
65 int Cost = TTIImpl->getCallCost(F, Arguments); in getCallCost()
71 return TTIImpl->getInliningThresholdMultiplier(); in getInliningThresholdMultiplier()
76 return TTIImpl->getGEPCost(PointeeType, Ptr, Operands); in getGEPCost()
81 int Cost = TTIImpl->getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost()
87 int Cost = TTIImpl->getUserCost(U); in getUserCost()
93 return TTIImpl->hasBranchDivergence(); in hasBranchDivergence()
97 return TTIImpl->isSourceOfDivergence(V); in isSourceOfDivergence()
101 return TTIImpl->isLoweredToCall(F); in isLoweredToCall()
106 return TTIImpl->getUnrollingPreferences(L, UP); in getUnrollingPreferences()
110 return TTIImpl->isLegalAddImmediate(Imm); in isLegalAddImmediate()
114 return TTIImpl->isLegalICmpImmediate(Imm); in isLegalICmpImmediate()
122 return TTIImpl->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode()
127 return TTIImpl->isLegalMaskedStore(DataType); in isLegalMaskedStore()
131 return TTIImpl->isLegalMaskedLoad(DataType); in isLegalMaskedLoad()
135 return TTIImpl->isLegalMaskedGather(DataType); in isLegalMaskedGather()
139 return TTIImpl->isLegalMaskedGather(DataType); in isLegalMaskedScatter()
147 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
154 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
158 return TTIImpl->isProfitableToHoist(I); in isProfitableToHoist()
162 return TTIImpl->isTypeLegal(Ty); in isTypeLegal()
166 return TTIImpl->getJumpBufAlignment(); in getJumpBufAlignment()
170 return TTIImpl->getJumpBufSize(); in getJumpBufSize()
174 return TTIImpl->shouldBuildLookupTables(); in shouldBuildLookupTables()
178 return TTIImpl->enableAggressiveInterleaving(LoopHasReductions); in enableAggressiveInterleaving()
182 return TTIImpl->enableInterleavedAccessVectorization(); in enableInterleavedAccessVectorization()
186 return TTIImpl->isFPVectorizationPotentiallyUnsafe(); in isFPVectorizationPotentiallyUnsafe()
193 return TTIImpl->allowsMisalignedMemoryAccesses(BitWidth, AddressSpace, in allowsMisalignedMemoryAccesses()
199 return TTIImpl->getPopcntSupport(IntTyWidthInBit); in getPopcntSupport()
203 return TTIImpl->haveFastSqrt(Ty); in haveFastSqrt()
207 int Cost = TTIImpl->getFPOpCost(Ty); in getFPOpCost()
215 int Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty); in getIntImmCodeSizeCost()
221 int Cost = TTIImpl->getIntImmCost(Imm, Ty); in getIntImmCost()
228 int Cost = TTIImpl->getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost()
235 int Cost = TTIImpl->getIntImmCost(IID, Idx, Imm, Ty); in getIntImmCost()
241 return TTIImpl->getNumberOfRegisters(Vector); in getNumberOfRegisters()
245 return TTIImpl->getRegisterBitWidth(Vector); in getRegisterBitWidth()
249 return TTIImpl->getLoadStoreVecRegBitWidth(AS); in getLoadStoreVecRegBitWidth()
253 return TTIImpl->getCacheLineSize(); in getCacheLineSize()
257 return TTIImpl->getPrefetchDistance(); in getPrefetchDistance()
261 return TTIImpl->getMinPrefetchStride(); in getMinPrefetchStride()
265 return TTIImpl->getMaxPrefetchIterationsAhead(); in getMaxPrefetchIterationsAhead()
269 return TTIImpl->getMaxInterleaveFactor(VF); in getMaxInterleaveFactor()
276 int Cost = TTIImpl->getArithmeticInstrCost(Opcode, Ty, Opd1Info, Opd2Info, in getArithmeticInstrCost()
284 int Cost = TTIImpl->getShuffleCost(Kind, Ty, Index, SubTp); in getShuffleCost()
291 int Cost = TTIImpl->getCastInstrCost(Opcode, Dst, Src); in getCastInstrCost()
299 int Cost = TTIImpl->getExtractWithExtendCost(Opcode, Dst, VecTy, Index); in getExtractWithExtendCost()
305 int Cost = TTIImpl->getCFInstrCost(Opcode); in getCFInstrCost()
312 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
319 int Cost = TTIImpl->getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost()
327 int Cost = TTIImpl->getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost()
336 TTIImpl->getMaskedMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMaskedMemoryOpCost()
344 int Cost = TTIImpl->getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask, in getGatherScatterOpCost()
353 int Cost = TTIImpl->getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
362 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Tys, FMF); in getIntrinsicInstrCost()
370 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Args, FMF); in getIntrinsicInstrCost()
377 int Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
383 return TTIImpl->getNumberOfParts(Tp); in getNumberOfParts()
388 int Cost = TTIImpl->getAddressComputationCost(Tp, IsComplex); in getAddressComputationCost()
395 int Cost = TTIImpl->getReductionCost(Opcode, Ty, IsPairwiseForm); in getReductionCost()
402 return TTIImpl->getCostOfKeepingLiveOverCall(Tys); in getCostOfKeepingLiveOverCall()
407 return TTIImpl->getTgtMemIntrinsic(Inst, Info); in getTgtMemIntrinsic()
412 return TTIImpl->getOrCreateResultFromMemIntrinsic(Inst, ExpectedType); in getOrCreateResultFromMemIntrinsic()
417 return TTIImpl->areInlineCompatible(Caller, Callee); in areInlineCompatible()