Lines Matching refs:TargetTransformInfo

44 TargetTransformInfo::TargetTransformInfo(const DataLayout &DL)  in TargetTransformInfo()  function in TargetTransformInfo
47 TargetTransformInfo::~TargetTransformInfo() {} in ~TargetTransformInfo()
49 TargetTransformInfo::TargetTransformInfo(TargetTransformInfo &&Arg) in TargetTransformInfo() function in TargetTransformInfo
52 TargetTransformInfo &TargetTransformInfo::operator=(TargetTransformInfo &&RHS) { in operator =()
57 int TargetTransformInfo::getOperationCost(unsigned Opcode, Type *Ty, in getOperationCost()
64 int TargetTransformInfo::getCallCost(FunctionType *FTy, int NumArgs) const { in getCallCost()
70 int TargetTransformInfo::getCallCost(const Function *F, in getCallCost()
77 unsigned TargetTransformInfo::getInliningThresholdMultiplier() const { in getInliningThresholdMultiplier()
81 int TargetTransformInfo::getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost()
86 int TargetTransformInfo::getExtCost(const Instruction *I, in getExtCost()
91 int TargetTransformInfo::getIntrinsicCost( in getIntrinsicCost()
99 TargetTransformInfo::getEstimatedNumberOfCaseClusters(const SwitchInst &SI, in getEstimatedNumberOfCaseClusters()
104 int TargetTransformInfo::getUserCost(const User *U, in getUserCost()
111 bool TargetTransformInfo::hasBranchDivergence() const { in hasBranchDivergence()
115 bool TargetTransformInfo::isSourceOfDivergence(const Value *V) const { in isSourceOfDivergence()
119 bool llvm::TargetTransformInfo::isAlwaysUniform(const Value *V) const { in isAlwaysUniform()
123 unsigned TargetTransformInfo::getFlatAddressSpace() const { in getFlatAddressSpace()
127 bool TargetTransformInfo::isLoweredToCall(const Function *F) const { in isLoweredToCall()
131 void TargetTransformInfo::getUnrollingPreferences( in getUnrollingPreferences()
136 bool TargetTransformInfo::isLegalAddImmediate(int64_t Imm) const { in isLegalAddImmediate()
140 bool TargetTransformInfo::isLegalICmpImmediate(int64_t Imm) const { in isLegalICmpImmediate()
144 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode()
154 bool TargetTransformInfo::isLSRCostLess(LSRCost &C1, LSRCost &C2) const { in isLSRCostLess()
158 bool TargetTransformInfo::canMacroFuseCmp() const { in canMacroFuseCmp()
162 bool TargetTransformInfo::shouldFavorPostInc() const { in shouldFavorPostInc()
166 bool TargetTransformInfo::isLegalMaskedStore(Type *DataType) const { in isLegalMaskedStore()
170 bool TargetTransformInfo::isLegalMaskedLoad(Type *DataType) const { in isLegalMaskedLoad()
174 bool TargetTransformInfo::isLegalMaskedGather(Type *DataType) const { in isLegalMaskedGather()
178 bool TargetTransformInfo::isLegalMaskedScatter(Type *DataType) const { in isLegalMaskedScatter()
182 bool TargetTransformInfo::hasDivRemOp(Type *DataType, bool IsSigned) const { in hasDivRemOp()
186 bool TargetTransformInfo::hasVolatileVariant(Instruction *I, in hasVolatileVariant()
191 bool TargetTransformInfo::prefersVectorizedAddressing() const { in prefersVectorizedAddressing()
195 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost()
206 bool TargetTransformInfo::LSRWithInstrQueries() const { in LSRWithInstrQueries()
210 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
214 bool TargetTransformInfo::isProfitableToHoist(Instruction *I) const { in isProfitableToHoist()
218 bool TargetTransformInfo::useAA() const { return TTIImpl->useAA(); } in useAA()
220 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { in isTypeLegal()
224 unsigned TargetTransformInfo::getJumpBufAlignment() const { in getJumpBufAlignment()
228 unsigned TargetTransformInfo::getJumpBufSize() const { in getJumpBufSize()
232 bool TargetTransformInfo::shouldBuildLookupTables() const { in shouldBuildLookupTables()
235 bool TargetTransformInfo::shouldBuildLookupTablesForConstant(Constant *C) const { in shouldBuildLookupTablesForConstant()
239 bool TargetTransformInfo::useColdCCForColdCall(Function &F) const { in useColdCCForColdCall()
243 unsigned TargetTransformInfo::
248 unsigned TargetTransformInfo::
254 bool TargetTransformInfo::supportsEfficientVectorElementLoadStore() const { in supportsEfficientVectorElementLoadStore()
258 bool TargetTransformInfo::enableAggressiveInterleaving(bool LoopHasReductions) const { in enableAggressiveInterleaving()
262 const TargetTransformInfo::MemCmpExpansionOptions *
263 TargetTransformInfo::enableMemCmpExpansion(bool IsZeroCmp) const { in enableMemCmpExpansion()
267 bool TargetTransformInfo::enableInterleavedAccessVectorization() const { in enableInterleavedAccessVectorization()
271 bool TargetTransformInfo::enableMaskedInterleavedAccessVectorization() const { in enableMaskedInterleavedAccessVectorization()
275 bool TargetTransformInfo::isFPVectorizationPotentiallyUnsafe() const { in isFPVectorizationPotentiallyUnsafe()
279 bool TargetTransformInfo::allowsMisalignedMemoryAccesses(LLVMContext &Context, in allowsMisalignedMemoryAccesses()
288 TargetTransformInfo::PopcntSupportKind
289 TargetTransformInfo::getPopcntSupport(unsigned IntTyWidthInBit) const { in getPopcntSupport()
293 bool TargetTransformInfo::haveFastSqrt(Type *Ty) const { in haveFastSqrt()
297 bool TargetTransformInfo::isFCmpOrdCheaperThanFCmpZero(Type *Ty) const { in isFCmpOrdCheaperThanFCmpZero()
301 int TargetTransformInfo::getFPOpCost(Type *Ty) const { in getFPOpCost()
307 int TargetTransformInfo::getIntImmCodeSizeCost(unsigned Opcode, unsigned Idx, in getIntImmCodeSizeCost()
315 int TargetTransformInfo::getIntImmCost(const APInt &Imm, Type *Ty) const { in getIntImmCost()
321 int TargetTransformInfo::getIntImmCost(unsigned Opcode, unsigned Idx, in getIntImmCost()
328 int TargetTransformInfo::getIntImmCost(Intrinsic::ID IID, unsigned Idx, in getIntImmCost()
335 unsigned TargetTransformInfo::getNumberOfRegisters(bool Vector) const { in getNumberOfRegisters()
339 unsigned TargetTransformInfo::getRegisterBitWidth(bool Vector) const { in getRegisterBitWidth()
343 unsigned TargetTransformInfo::getMinVectorRegisterBitWidth() const { in getMinVectorRegisterBitWidth()
347 bool TargetTransformInfo::shouldMaximizeVectorBandwidth(bool OptSize) const { in shouldMaximizeVectorBandwidth()
351 unsigned TargetTransformInfo::getMinimumVF(unsigned ElemWidth) const { in getMinimumVF()
355 bool TargetTransformInfo::shouldConsiderAddressTypePromotion( in shouldConsiderAddressTypePromotion()
361 unsigned TargetTransformInfo::getCacheLineSize() const { in getCacheLineSize()
365 llvm::Optional<unsigned> TargetTransformInfo::getCacheSize(CacheLevel Level) in getCacheSize()
370 llvm::Optional<unsigned> TargetTransformInfo::getCacheAssociativity( in getCacheAssociativity()
375 unsigned TargetTransformInfo::getPrefetchDistance() const { in getPrefetchDistance()
379 unsigned TargetTransformInfo::getMinPrefetchStride() const { in getMinPrefetchStride()
383 unsigned TargetTransformInfo::getMaxPrefetchIterationsAhead() const { in getMaxPrefetchIterationsAhead()
387 unsigned TargetTransformInfo::getMaxInterleaveFactor(unsigned VF) const { in getMaxInterleaveFactor()
391 TargetTransformInfo::OperandValueKind
392 TargetTransformInfo::getOperandInfo(Value *V, OperandValueProperties &OpProps) { in getOperandInfo()
440 int TargetTransformInfo::getArithmeticInstrCost( in getArithmeticInstrCost()
451 int TargetTransformInfo::getShuffleCost(ShuffleKind Kind, Type *Ty, int Index, in getShuffleCost()
458 int TargetTransformInfo::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost()
467 int TargetTransformInfo::getExtractWithExtendCost(unsigned Opcode, Type *Dst, in getExtractWithExtendCost()
475 int TargetTransformInfo::getCFInstrCost(unsigned Opcode) const { in getCFInstrCost()
481 int TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost()
490 int TargetTransformInfo::getVectorInstrCost(unsigned Opcode, Type *Val, in getVectorInstrCost()
497 int TargetTransformInfo::getMemoryOpCost(unsigned Opcode, Type *Src, in getMemoryOpCost()
508 int TargetTransformInfo::getMaskedMemoryOpCost(unsigned Opcode, Type *Src, in getMaskedMemoryOpCost()
517 int TargetTransformInfo::getGatherScatterOpCost(unsigned Opcode, Type *DataTy, in getGatherScatterOpCost()
526 int TargetTransformInfo::getInterleavedMemoryOpCost( in getInterleavedMemoryOpCost()
538 int TargetTransformInfo::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost()
547 int TargetTransformInfo::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost()
554 int TargetTransformInfo::getCallInstrCost(Function *F, Type *RetTy, in getCallInstrCost()
561 unsigned TargetTransformInfo::getNumberOfParts(Type *Tp) const { in getNumberOfParts()
565 int TargetTransformInfo::getAddressComputationCost(Type *Tp, in getAddressComputationCost()
573 int TargetTransformInfo::getArithmeticReductionCost(unsigned Opcode, Type *Ty, in getArithmeticReductionCost()
580 int TargetTransformInfo::getMinMaxReductionCost(Type *Ty, Type *CondTy, in getMinMaxReductionCost()
590 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall()
594 bool TargetTransformInfo::getTgtMemIntrinsic(IntrinsicInst *Inst, in getTgtMemIntrinsic()
599 unsigned TargetTransformInfo::getAtomicMemIntrinsicMaxElementSize() const { in getAtomicMemIntrinsicMaxElementSize()
603 Value *TargetTransformInfo::getOrCreateResultFromMemIntrinsic( in getOrCreateResultFromMemIntrinsic()
608 Type *TargetTransformInfo::getMemcpyLoopLoweringType(LLVMContext &Context, in getMemcpyLoopLoweringType()
616 void TargetTransformInfo::getMemcpyLoopResidualLoweringType( in getMemcpyLoopResidualLoweringType()
623 bool TargetTransformInfo::areInlineCompatible(const Function *Caller, in areInlineCompatible()
628 bool TargetTransformInfo::areFunctionArgsABICompatible( in areFunctionArgsABICompatible()
634 bool TargetTransformInfo::isIndexedLoadLegal(MemIndexedMode Mode, in isIndexedLoadLegal()
639 bool TargetTransformInfo::isIndexedStoreLegal(MemIndexedMode Mode, in isIndexedStoreLegal()
644 unsigned TargetTransformInfo::getLoadStoreVecRegBitWidth(unsigned AS) const { in getLoadStoreVecRegBitWidth()
648 bool TargetTransformInfo::isLegalToVectorizeLoad(LoadInst *LI) const { in isLegalToVectorizeLoad()
652 bool TargetTransformInfo::isLegalToVectorizeStore(StoreInst *SI) const { in isLegalToVectorizeStore()
656 bool TargetTransformInfo::isLegalToVectorizeLoadChain( in isLegalToVectorizeLoadChain()
662 bool TargetTransformInfo::isLegalToVectorizeStoreChain( in isLegalToVectorizeStoreChain()
668 unsigned TargetTransformInfo::getLoadVectorFactor(unsigned VF, in getLoadVectorFactor()
675 unsigned TargetTransformInfo::getStoreVectorFactor(unsigned VF, in getStoreVectorFactor()
682 bool TargetTransformInfo::useReductionIntrinsic(unsigned Opcode, in useReductionIntrinsic()
687 bool TargetTransformInfo::shouldExpandReduction(const IntrinsicInst *II) const { in shouldExpandReduction()
691 int TargetTransformInfo::getInstructionLatency(const Instruction *I) const { in getInstructionLatency()
990 int TargetTransformInfo::getInstructionThroughput(const Instruction *I) const { in getInstructionThroughput()
1018 TargetTransformInfo::OperandValueKind Op1VK, Op2VK; in getInstructionThroughput()
1019 TargetTransformInfo::OperandValueProperties Op1VP, Op2VP; in getInstructionThroughput()
1172 TargetTransformInfo::Concept::~Concept() {} in ~Concept()
1211 TargetTransformInfo &TargetTransformInfoWrapperPass::getTTI(const Function &F) { in getTTI()