Lines Matching defs:const
202 TargetTransformInfo::adjustInliningThreshold(const CallBase *CB) const { in adjustInliningThreshold() argument
213 TTI::TargetCostKind CostKind) const { in getGEPCost()
219 BlockFrequencyInfo *BFI) const { in getEstimatedNumberOfCaseClusters()
226 enum TargetCostKind CostKind) const { in getUserCost()
245 bool TargetTransformInfo::isSourceOfDivergence(const Value *V) const { in isSourceOfDivergence() argument
249 bool llvm::TargetTransformInfo::isAlwaysUniform(const Value *V) const { in isAlwaysUniform() argument
258 SmallVectorImpl<int> &OpIndexes, Intrinsic::ID IID) const { in collectFlatAddressOperands()
263 unsigned ToAS) const { in isNoopAddrSpaceCast()
268 unsigned AS) const { in canHaveNonUndefGlobalInitializerInAddressSpace()
272 unsigned TargetTransformInfo::getAssumedAddrSpace(const Value *V) const { in getAssumedAddrSpace() argument
277 TargetTransformInfo::getPredicatedAddrSpace(const Value *V) const { in getPredicatedAddrSpace() argument
282 IntrinsicInst *II, Value *OldV, Value *NewV) const { in rewriteIntrinsicWithAddressSpace()
286 bool TargetTransformInfo::isLoweredToCall(const Function *F) const { in isLoweredToCall() argument
292 TargetLibraryInfo *LibInfo, HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable()
299 LoopVectorizationLegality *LVL) const { in preferPredicateOverEpilogue()
309 IntrinsicInst &II) const { in instCombineIntrinsic()
315 bool &KnownBitsComputed) const { in simplifyDemandedUseBitsIntrinsic()
324 SimplifyAndSetOp) const { in simplifyDemandedVectorEltsIntrinsic()
332 OptimizationRemarkEmitter *ORE) const { in getUnrollingPreferences()
337 PeelingPreferences &PP) const { in getPeelingPreferences()
341 bool TargetTransformInfo::isLegalAddImmediate(int64_t Imm) const { in isLegalAddImmediate()
345 bool TargetTransformInfo::isLegalICmpImmediate(int64_t Imm) const { in isLegalICmpImmediate()
353 Instruction *I) const { in isLegalAddressingMode()
359 const LSRCost &C2) const { in isLSRCostLess() argument
367 bool TargetTransformInfo::isProfitableLSRChainElement(Instruction *I) const { in isProfitableLSRChainElement()
378 TargetLibraryInfo *LibInfo) const { in canSaveCmp()
384 ScalarEvolution *SE) const { in getPreferredAddressingMode()
389 Align Alignment) const { in isLegalMaskedStore()
394 Align Alignment) const { in isLegalMaskedLoad()
399 Align Alignment) const { in isLegalNTStore()
403 bool TargetTransformInfo::isLegalNTLoad(Type *DataType, Align Alignment) const { in isLegalNTLoad()
408 ElementCount NumElements) const { in isLegalBroadcastLoad()
413 Align Alignment) const { in isLegalMaskedGather()
419 const SmallBitVector &OpcodeMask) const { in isLegalAltInstr() argument
424 Align Alignment) const { in isLegalMaskedScatter()
429 Align Alignment) const { in forceScalarizeMaskedGather()
434 Align Alignment) const { in forceScalarizeMaskedScatter()
438 bool TargetTransformInfo::isLegalMaskedCompressStore(Type *DataType) const { in isLegalMaskedCompressStore()
442 bool TargetTransformInfo::isLegalMaskedExpandLoad(Type *DataType) const { in isLegalMaskedExpandLoad()
450 bool TargetTransformInfo::hasDivRemOp(Type *DataType, bool IsSigned) const { in hasDivRemOp()
455 unsigned AddrSpace) const { in hasVolatileVariant()
465 int64_t Scale, unsigned AddrSpace) const { in getScalingFactorCost()
476 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
480 bool TargetTransformInfo::isProfitableToHoist(Instruction *I) const { in isProfitableToHoist()
486 bool TargetTransformInfo::isTypeLegal(Type *Ty) const { in isTypeLegal()
490 unsigned TargetTransformInfo::getRegUsageForType(Type *Ty) const { in getRegUsageForType()
499 Constant *C) const { in shouldBuildLookupTablesForConstant()
507 bool TargetTransformInfo::useColdCCForColdCall(Function &F) const { in useColdCCForColdCall()
514 bool Insert, bool Extract) const { in getScalarizationOverhead()
519 ArrayRef<const Value *> Args, ArrayRef<Type *> Tys) const { in getOperandsScalarizationOverhead()
532 bool LoopHasReductions) const { in enableAggressiveInterleaving()
537 TargetTransformInfo::enableMemCmpExpansion(bool OptSize, bool IsZeroCmp) const { in enableMemCmpExpansion()
557 bool *Fast) const { in allowsMisalignedMemoryAccesses()
563 TargetTransformInfo::getPopcntSupport(unsigned IntTyWidthInBit) const { in getPopcntSupport()
567 bool TargetTransformInfo::haveFastSqrt(Type *Ty) const { in haveFastSqrt()
571 bool TargetTransformInfo::isFCmpOrdCheaperThanFCmpZero(Type *Ty) const { in isFCmpOrdCheaperThanFCmpZero()
575 InstructionCost TargetTransformInfo::getFPOpCost(Type *Ty) const { in getFPOpCost()
584 Type *Ty) const { in getIntImmCodeSizeCost()
592 TTI::TargetCostKind CostKind) const { in getIntImmCost()
600 TTI::TargetCostKind CostKind, Instruction *Inst) const { in getIntImmCostInst()
610 TTI::TargetCostKind CostKind) const { in getIntImmCostIntrin()
617 unsigned TargetTransformInfo::getNumberOfRegisters(unsigned ClassID) const { in getNumberOfRegisters()
622 Type *Ty) const { in getRegisterClassForType()
626 const char *TargetTransformInfo::getRegisterClassName(unsigned ClassID) const { in getRegisterClassName()
631 TargetTransformInfo::RegisterKind K) const { in getRegisterBitWidth()
648 TargetTransformInfo::RegisterKind K) const { in shouldMaximizeVectorBandwidth()
653 bool IsScalable) const { in getMinimumVF()
658 unsigned Opcode) const { in getMaximumVF()
663 Type *ScalarValTy) const { in getStoreMinimumVF()
668 const Instruction &I, bool &AllowPromotionWithoutCommonHeader) const { in shouldConsiderAddressTypePromotion()
679 TargetTransformInfo::getCacheSize(CacheLevel Level) const { in getCacheSize()
684 TargetTransformInfo::getCacheAssociativity(CacheLevel Level) const { in getCacheAssociativity()
694 unsigned NumPrefetches, bool HasCall) const { in getMinPrefetchStride()
707 unsigned TargetTransformInfo::getMaxInterleaveFactor(unsigned VF) const { in getMaxInterleaveFactor()
765 ArrayRef<const Value *> Args, const Instruction *CxtI) const { in getArithmeticInstrCost() argument
775 VectorType *SubTp, ArrayRef<const Value *> Args) const { in getShuffleCost()
828 TTI::TargetCostKind CostKind, const Instruction *I) const { in getCastInstrCost() argument
838 unsigned Opcode, Type *Dst, VectorType *VecTy, unsigned Index) const { in getExtractWithExtendCost()
846 unsigned Opcode, TTI::TargetCostKind CostKind, const Instruction *I) const { in getCFInstrCost() argument
856 TTI::TargetCostKind CostKind, const Instruction *I) const { in getCmpSelInstrCost() argument
867 unsigned Index) const { in getVectorInstrCost()
884 TTI::TargetCostKind CostKind, const Instruction *I) const { in getMemoryOpCost() argument
895 TTI::TargetCostKind CostKind) const { in getMaskedMemoryOpCost()
904 Align Alignment, TTI::TargetCostKind CostKind, const Instruction *I) const { in getGatherScatterOpCost() argument
914 bool UseMaskForCond, bool UseMaskForGaps) const { in getInterleavedMemoryOpCost()
924 TTI::TargetCostKind CostKind) const { in getIntrinsicInstrCost()
933 TTI::TargetCostKind CostKind) const { in getCallInstrCost()
939 unsigned TargetTransformInfo::getNumberOfParts(Type *Tp) const { in getNumberOfParts()
945 const SCEV *Ptr) const { in getAddressComputationCost() argument
951 InstructionCost TargetTransformInfo::getMemcpyCost(const Instruction *I) const { in getMemcpyCost() argument
959 TTI::TargetCostKind CostKind) const { in getArithmeticReductionCost()
968 TTI::TargetCostKind CostKind) const { in getMinMaxReductionCost()
977 TTI::TargetCostKind CostKind) const { in getExtendedAddReductionCost()
983 TargetTransformInfo::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const { in getCostOfKeepingLiveOverCall()
988 MemIntrinsicInfo &Info) const { in getTgtMemIntrinsic()
997 IntrinsicInst *Inst, Type *ExpectedType) const { in getOrCreateResultFromMemIntrinsic()
1004 Optional<uint32_t> AtomicElementSize) const { in getMemcpyLoopLoweringType()
1014 Optional<uint32_t> AtomicCpySize) const { in getMemcpyLoopResidualLoweringType()
1021 const Function *Callee) const { in areInlineCompatible() argument
1027 const ArrayRef<Type *> &Types) const { in areTypesABICompatible() argument
1032 Type *Ty) const { in isIndexedLoadLegal()
1037 Type *Ty) const { in isIndexedStoreLegal()
1041 unsigned TargetTransformInfo::getLoadStoreVecRegBitWidth(unsigned AS) const { in getLoadStoreVecRegBitWidth()
1045 bool TargetTransformInfo::isLegalToVectorizeLoad(LoadInst *LI) const { in isLegalToVectorizeLoad()
1049 bool TargetTransformInfo::isLegalToVectorizeStore(StoreInst *SI) const { in isLegalToVectorizeStore()
1054 unsigned ChainSizeInBytes, Align Alignment, unsigned AddrSpace) const { in isLegalToVectorizeLoadChain()
1060 unsigned ChainSizeInBytes, Align Alignment, unsigned AddrSpace) const { in isLegalToVectorizeStoreChain()
1066 const RecurrenceDescriptor &RdxDesc, ElementCount VF) const { in isLegalToVectorizeReduction()
1070 bool TargetTransformInfo::isElementTypeLegalForScalableVector(Type *Ty) const { in isElementTypeLegalForScalableVector()
1077 VectorType *VecTy) const { in getLoadVectorFactor()
1084 VectorType *VecTy) const { in getStoreVectorFactor()
1089 ReductionFlags Flags) const { in preferInLoopReduction()
1094 unsigned Opcode, Type *Ty, ReductionFlags Flags) const { in preferPredicatedReductionSelect()
1099 TargetTransformInfo::getVPLegalizationStrategy(const VPIntrinsic &VPI) const { in getVPLegalizationStrategy() argument
1103 bool TargetTransformInfo::shouldExpandReduction(const IntrinsicInst *II) const { in shouldExpandReduction() argument
1124 Align Alignment) const { in hasActiveVectorLength()
1129 TargetTransformInfo::getInstructionLatency(const Instruction *I) const { in getInstructionLatency() argument
1134 TargetTransformInfo::getInstructionThroughput(const Instruction *I) const { in getInstructionThroughput() argument