reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/TargetTransformInfo.h
 1388     return Impl.getDataLayout();
 1392     return Impl.getOperationCost(Opcode, Ty, OpTy);
 1396     return Impl.getGEPCost(PointeeType, Ptr, Operands);
 1399     return Impl.getExtCost(I, Src);
 1402     return Impl.getCallCost(FTy, NumArgs, U);
 1405     return Impl.getCallCost(F, NumArgs, U);
 1409     return Impl.getCallCost(F, Arguments, U);
 1412     return Impl.getInliningThresholdMultiplier();
 1415     return Impl.getInlinerVectorBonusPercent();
 1419     return Impl.getIntrinsicCost(IID, RetTy, ParamTys, U);
 1424     return Impl.getIntrinsicCost(IID, RetTy, Arguments, U);
 1427     return Impl.getMemcpyCost(I);
 1430     return Impl.getUserCost(U, Operands);
 1432   bool hasBranchDivergence() override { return Impl.hasBranchDivergence(); }
 1434     return Impl.isSourceOfDivergence(V);
 1438     return Impl.isAlwaysUniform(V);
 1442     return Impl.getFlatAddressSpace();
 1447     return Impl.collectFlatAddressOperands(OpIndexes, IID);
 1452     return Impl.rewriteIntrinsicWithAddressSpace(II, OldV, NewV);
 1456     return Impl.isLoweredToCall(F);
 1460     return Impl.getUnrollingPreferences(L, SE, UP);
 1466     return Impl.isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo);
 1469     return Impl.isLegalAddImmediate(Imm);
 1472     return Impl.isLegalICmpImmediate(Imm);
 1478     return Impl.isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg,
 1483     return Impl.isLSRCostLess(C1, C2);
 1486     return Impl.canMacroFuseCmp();
 1492     return Impl.canSaveCmp(L, BI, SE, LI, DT, AC, LibInfo);
 1495     return Impl.shouldFavorPostInc();
 1498     return Impl.shouldFavorBackedgeIndex(L);
 1501     return Impl.isLegalMaskedStore(DataType, Alignment);
 1504     return Impl.isLegalMaskedLoad(DataType, Alignment);
 1507     return Impl.isLegalNTStore(DataType, Alignment);
 1510     return Impl.isLegalNTLoad(DataType, Alignment);
 1513     return Impl.isLegalMaskedScatter(DataType);
 1516     return Impl.isLegalMaskedGather(DataType);
 1519     return Impl.isLegalMaskedCompressStore(DataType);
 1522     return Impl.isLegalMaskedExpandLoad(DataType);
 1525     return Impl.hasDivRemOp(DataType, IsSigned);
 1528     return Impl.hasVolatileVariant(I, AddrSpace);
 1531     return Impl.prefersVectorizedAddressing();
 1536     return Impl.getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg,
 1540     return Impl.LSRWithInstrQueries();
 1543     return Impl.isTruncateFree(Ty1, Ty2);
 1546     return Impl.isProfitableToHoist(I);
 1548   bool useAA() override { return Impl.useAA(); }
 1549   bool isTypeLegal(Type *Ty) override { return Impl.isTypeLegal(Ty); }
 1551     return Impl.shouldBuildLookupTables();
 1554     return Impl.shouldBuildLookupTablesForConstant(C);
 1557     return Impl.useColdCCForColdCall(F);
 1562     return Impl.getScalarizationOverhead(Ty, Insert, Extract);
 1566     return Impl.getOperandsScalarizationOverhead(Args, VF);
 1570     return Impl.supportsEfficientVectorElementLoadStore();
 1574     return Impl.enableAggressiveInterleaving(LoopHasReductions);
 1578     return Impl.enableMemCmpExpansion(OptSize, IsZeroCmp);
 1581     return Impl.enableInterleavedAccessVectorization();
 1584     return Impl.enableMaskedInterleavedAccessVectorization();
 1587     return Impl.isFPVectorizationPotentiallyUnsafe();
 1592     return Impl.allowsMisalignedMemoryAccesses(Context, BitWidth, AddressSpace,
 1596     return Impl.getPopcntSupport(IntTyWidthInBit);
 1598   bool haveFastSqrt(Type *Ty) override { return Impl.haveFastSqrt(Ty); }
 1601     return Impl.isFCmpOrdCheaperThanFCmpZero(Ty);
 1604   int getFPOpCost(Type *Ty) override { return Impl.getFPOpCost(Ty); }
 1608     return Impl.getIntImmCodeSizeCost(Opc, Idx, Imm, Ty);
 1611     return Impl.getIntImmCost(Imm, Ty);
 1615     return Impl.getIntImmCost(Opc, Idx, Imm, Ty);
 1619     return Impl.getIntImmCost(IID, Idx, Imm, Ty);
 1622     return Impl.getNumberOfRegisters(ClassID);
 1625     return Impl.getRegisterClassForType(Vector, Ty);
 1628     return Impl.getRegisterClassName(ClassID);
 1631     return Impl.getRegisterBitWidth(Vector);
 1634     return Impl.getMinVectorRegisterBitWidth();
 1637     return Impl.shouldMaximizeVectorBandwidth(OptSize);
 1640     return Impl.getMinimumVF(ElemWidth);
 1644     return Impl.shouldConsiderAddressTypePromotion(
 1648     return Impl.getCacheLineSize();
 1651     return Impl.getCacheSize(Level);
 1654     return Impl.getCacheAssociativity(Level);
 1660     return Impl.getPrefetchDistance();
 1667     return Impl.getMinPrefetchStride();
 1674     return Impl.getMaxPrefetchIterationsAhead();
 1678     return Impl.getMaxInterleaveFactor(VF);
 1682     return Impl.getEstimatedNumberOfCaseClusters(SI, JTSize);
 1690     return Impl.getArithmeticInstrCost(Opcode, Ty, Opd1Info, Opd2Info,
 1695     return Impl.getShuffleCost(Kind, Tp, Index, SubTp);
 1699     return Impl.getCastInstrCost(Opcode, Dst, Src, I);
 1703     return Impl.getExtractWithExtendCost(Opcode, Dst, VecTy, Index);
 1706     return Impl.getCFInstrCost(Opcode);
 1710     return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
 1713     return Impl.getVectorInstrCost(Opcode, Val, Index);
 1717     return Impl.getMemoryOpCost(Opcode, Src, Alignment, AddressSpace, I);
 1721     return Impl.getMaskedMemoryOpCost(Opcode, Src, Alignment, AddressSpace);
 1726     return Impl.getGatherScatterOpCost(Opcode, DataTy, Ptr, VariableMask,
 1733     return Impl.getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
 1739     return Impl.getArithmeticReductionCost(Opcode, Ty, IsPairwiseForm);
 1743     return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned);
 1747     return Impl.getIntrinsicInstrCost(ID, RetTy, Tys, FMF,
 1752     return Impl.getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF);
 1756     return Impl.getCallInstrCost(F, RetTy, Tys);
 1759     return Impl.getNumberOfParts(Tp);
 1763     return Impl.getAddressComputationCost(Ty, SE, Ptr);
 1766     return Impl.getCostOfKeepingLiveOverCall(Tys);
 1770     return Impl.getTgtMemIntrinsic(Inst, Info);
 1773     return Impl.getAtomicMemIntrinsicMaxElementSize();
 1777     return Impl.getOrCreateResultFromMemIntrinsic(Inst, ExpectedType);
 1782     return Impl.getMemcpyLoopLoweringType(Context, Length, SrcAlign, DestAlign);
 1789     Impl.getMemcpyLoopResidualLoweringType(OpsOut, Context, RemainingBytes,
 1794     return Impl.areInlineCompatible(Caller, Callee);
 1799     return Impl.areFunctionArgsABICompatible(Caller, Callee, Args);
 1802     return Impl.isIndexedLoadLegal(Mode, Ty, getDataLayout());
 1805     return Impl.isIndexedStoreLegal(Mode, Ty, getDataLayout());
 1808     return Impl.getLoadStoreVecRegBitWidth(AddrSpace);
 1811     return Impl.isLegalToVectorizeLoad(LI);
 1814     return Impl.isLegalToVectorizeStore(SI);
 1819     return Impl.isLegalToVectorizeLoadChain(ChainSizeInBytes, Alignment,
 1825     return Impl.isLegalToVectorizeStoreChain(ChainSizeInBytes, Alignment,
 1831     return Impl.getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy);
 1836     return Impl.getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy);
 1840     return Impl.useReductionIntrinsic(Opcode, Ty, Flags);
 1843     return Impl.shouldExpandReduction(II);
 1847     return Impl.getGISelRematGlobalCost();
 1851     return Impl.getInstructionLatency(I);