Home
last modified time | relevance | path

Searched defs:CostKind (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp143 TTI::TargetCostKind CostKind) { in getCallInstrCost() argument
149 TTI::TargetCostKind CostKind) { in getIntrinsicInstrCost() argument
167 TTI::TargetCostKind CostKind, in getMemoryOpCost() argument
224 TTI::TargetCostKind CostKind) { in getMaskedMemoryOpCost() argument
231 getShuffleCost(TTI::ShuffleKind Kind,Type * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,Type * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
240 getGatherScatterOpCost(unsigned Opcode,Type * DataTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I) getGatherScatterOpCost() argument
247 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
261 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
274 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
297 getCastInstrCost(unsigned Opcode,Type * DstTy,Type * SrcTy,TTI::CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
322 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
368 getInstructionCost(const User * U,ArrayRef<const Value * > Operands,TTI::TargetCostKind CostKind) getInstructionCost() argument
[all...]
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp41 getRISCVInstructionCost(ArrayRef<unsigned> OpCodes,MVT VT,TTI::TargetCostKind CostKind) getRISCVInstructionCost() argument
113 getIntImmCost(const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCost() argument
155 getIntImmCostInst(unsigned Opcode,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind,Instruction * Inst) getIntImmCostInst() argument
250 getIntImmCostIntrin(Intrinsic::ID IID,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCostIntrin() argument
317 getConstantPoolLoadCost(Type * Ty,TTI::TargetCostKind CostKind) getConstantPoolLoadCost() argument
337 getShuffleCost(TTI::ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
592 getMaskedMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind) getMaskedMemoryOpCost() argument
603 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
694 getGatherScatterOpCost(unsigned Opcode,Type * DataTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I) getGatherScatterOpCost() argument
719 getStridedMemoryOpCost(unsigned Opcode,Type * DataTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I) getStridedMemoryOpCost() argument
815 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
1006 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,TTI::CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
1123 getMinMaxReductionCost(Intrinsic::ID IID,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getMinMaxReductionCost() argument
1229 getArithmeticReductionCost(unsigned Opcode,VectorType * Ty,std::optional<FastMathFlags> FMF,TTI::TargetCostKind CostKind) getArithmeticReductionCost() argument
1313 getExtendedReductionCost(unsigned Opcode,bool IsUnsigned,Type * ResTy,VectorType * ValTy,FastMathFlags FMF,TTI::TargetCostKind CostKind) getExtendedReductionCost() argument
1339 getStoreImmCost(Type * Ty,TTI::OperandValueInfo OpInfo,TTI::TargetCostKind CostKind) getStoreImmCost() argument
1360 getMemoryOpCost(unsigned Opcode,Type * Src,MaybeAlign Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,TTI::OperandValueInfo OpInfo,const Instruction * I) getMemoryOpCost() argument
1388 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
1521 getCFInstrCost(unsigned Opcode,TTI::TargetCostKind CostKind,const Instruction * I) getCFInstrCost() argument
1530 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
1644 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
1750 getPointersChainCost(ArrayRef<const Value * > Ptrs,const Value * Base,const TTI::PointersChainInfo & Info,Type * AccessTy,TTI::TargetCostKind CostKind) getPointersChainCost() argument
[all...]
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp166 return BaseT::getIntImmCost(Imm, Ty, CostKind); in getIntImmCost() argument
197 return BaseT::getIntImmCostIntrin(IID, Idx, Imm, Ty, CostKind); in getIntImmCostIntrin() argument
232 getIntImmCostInst(unsigned Opcode,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind,Instruction * Inst) getIntImmCostInst() argument
325 getInstructionCost(const User * U,ArrayRef<const Value * > Operands,TTI::TargetCostKind CostKind) getInstructionCost() argument
585 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
608 getShuffleCost(TTI::ShuffleKind Kind,Type * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,Type * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
630 getCFInstrCost(unsigned Opcode,TTI::TargetCostKind CostKind,const Instruction * I) getCFInstrCost() argument
641 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,TTI::CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
661 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
677 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
769 getMemoryOpCost(unsigned Opcode,Type * Src,MaybeAlign Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,TTI::OperandValueInfo OpInfo,const Instruction * I) getMemoryOpCost() argument
857 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
891 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
1046 getVPMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,const Instruction * I) getVPMemoryOpCost() argument
[all...]
/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h53 TTI::TargetCostKind CostKind) { in getIntImmCost() argument
89 TTI::TargetCostKind CostKind) { in getIntImmCostIntrin() argument
/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h92 getBroadcastShuffleOverhead(FixedVectorType * VTy,TTI::TargetCostKind CostKind) getBroadcastShuffleOverhead() argument
109 getPermuteShuffleOverhead(FixedVectorType * VTy,TTI::TargetCostKind CostKind) getPermuteShuffleOverhead() argument
130 getExtractSubvectorOverhead(VectorType * VTy,TTI::TargetCostKind CostKind,int Index,FixedVectorType * SubVTy) getExtractSubvectorOverhead() argument
158 getInsertSubvectorOverhead(VectorType * VTy,TTI::TargetCostKind CostKind,int Index,FixedVectorType * SubVTy) getInsertSubvectorOverhead() argument
446 getGEPCost(Type * PointeeType,const Value * Ptr,ArrayRef<const Value * > Operands,Type * AccessType,TTI::TargetCostKind CostKind) getGEPCost() argument
771 getScalarizationOverhead(VectorType * InTy,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument
800 getScalarizationOverhead(VectorType * InTy,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument
816 getOperandsScalarizationOverhead(ArrayRef<const Value * > Args,ArrayRef<Type * > Tys,TTI::TargetCostKind CostKind) getOperandsScalarizationOverhead() argument
846 getScalarizationOverhead(VectorType * RetTy,ArrayRef<const Value * > Args,ArrayRef<Type * > Tys,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument
1215 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getExtractWithExtendCost() local
1280 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
1286 getVectorInstrCost(const Instruction & I,Type * Val,TTI::TargetCostKind CostKind,unsigned Index) getVectorInstrCost() argument
1301 getReplicationShuffleCost(Type * EltTy,int ReplicationFactor,int VF,const APInt & DemandedDstElts,TTI::TargetCostKind CostKind) getReplicationShuffleCost() argument
1378 getMaskedMemoryOpCost(unsigned Opcode,Type * DataTy,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind) getMaskedMemoryOpCost() argument
1396 getStridedMemoryOpCost(unsigned Opcode,Type * DataTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I) getStridedMemoryOpCost() argument
1550 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
1903 getTypeBasedIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getTypeBasedIntrinsicInstrCost() argument
2407 getCallInstrCost(Function * F,Type * RetTy,ArrayRef<Type * > Tys,TTI::TargetCostKind CostKind) getCallInstrCost() argument
2443 getTreeReductionCost(unsigned Opcode,VectorType * Ty,TTI::TargetCostKind CostKind) getTreeReductionCost() argument
2520 getOrderedReductionCost(unsigned Opcode,VectorType * Ty,TTI::TargetCostKind CostKind) getOrderedReductionCost() argument
2538 getArithmeticReductionCost(unsigned Opcode,VectorType * Ty,std::optional<FastMathFlags> FMF,TTI::TargetCostKind CostKind) getArithmeticReductionCost() argument
2549 getMinMaxReductionCost(Intrinsic::ID IID,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getMinMaxReductionCost() argument
2599 getExtendedReductionCost(unsigned Opcode,bool IsUnsigned,Type * ResTy,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getExtendedReductionCost() argument
2614 getMulAccReductionCost(bool IsUnsigned,Type * ResTy,VectorType * Ty,TTI::TargetCostKind CostKind) getMulAccReductionCost() argument
[all...]
/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp74 getIntImmCost(const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCost() argument
109 getIntImmCostInst(unsigned Opcode,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind,Instruction * Inst) getIntImmCostInst() argument
230 getIntImmCostIntrin(Intrinsic::ID IID,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCostIntrin() argument
426 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
608 getShuffleCost(TTI::ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
771 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,TTI::CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
965 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
1048 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
1161 getMemoryOpCost(unsigned Opcode,Type * Src,MaybeAlign Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,TTI::OperandValueInfo OpInfo,const Instruction * I) getMemoryOpCost() argument
1237 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
1318 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
[all...]
/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h52 TTI::TargetCostKind CostKind) const { in getGEPCost() argument
373 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument
380 getOperandsScalarizationOverhead(ArrayRef<const Value * > Args,ArrayRef<Type * > Tys,TTI::TargetCostKind CostKind) getOperandsScalarizationOverhead() argument
440 getIntImmCost(const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCost() argument
453 getIntImmCostIntrin(Intrinsic::ID IID,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCostIntrin() argument
590 getAltInstrCost(VectorType * VecTy,unsigned Opcode0,unsigned Opcode1,const SmallBitVector & OpcodeMask,TTI::TargetCostKind CostKind) getAltInstrCost() argument
605 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,TTI::CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
658 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
664 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
671 getVectorInstrCost(const Instruction & I,Type * Val,TTI::TargetCostKind CostKind,unsigned Index) getVectorInstrCost() argument
678 getReplicationShuffleCost(Type * EltTy,int ReplicationFactor,int VF,const APInt & DemandedDstElts,TTI::TargetCostKind CostKind) getReplicationShuffleCost() argument
684 getMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,TTI::OperandValueInfo OpInfo,const Instruction * I) getMemoryOpCost() argument
692 getVPMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,const Instruction * I) getVPMemoryOpCost() argument
699 getMaskedMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind) getMaskedMemoryOpCost() argument
721 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
727 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
778 getCallInstrCost(Function * F,Type * RetTy,ArrayRef<Type * > Tys,TTI::TargetCostKind CostKind) getCallInstrCost() argument
805 getExtendedReductionCost(unsigned Opcode,bool IsUnsigned,Type * ResTy,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getExtendedReductionCost() argument
811 getMulAccReductionCost(bool IsUnsigned,Type * ResTy,VectorType * Ty,TTI::TargetCostKind CostKind) getMulAccReductionCost() argument
1060 getGEPCost(Type * PointeeType,const Value * Ptr,ArrayRef<const Value * > Operands,Type * AccessType,TTI::TargetCostKind CostKind) getGEPCost() argument
1140 getPointersChainCost(ArrayRef<const Value * > Ptrs,const Value * Base,const TTI::PointersChainInfo & Info,Type * AccessTy,TTI::TargetCostKind CostKind) getPointersChainCost() argument
1175 getInstructionCost(const User * U,ArrayRef<const Value * > Operands,TTI::TargetCostKind CostKind) getInstructionCost() argument
[all...]
H A DTargetTransformInfo.h413 TargetCostKind CostKind) const; in getInstructionCost() argument
2186 getGEPCost(Type * PointeeType,const Value * Ptr,ArrayRef<const Value * > Operands,Type * AccessType,TargetTransformInfo::TargetCostKind CostKind) getGEPCost() argument
2193 getPointersChainCost(ArrayRef<const Value * > Ptrs,const Value * Base,const PointersChainInfo & Info,Type * AccessTy,TargetCostKind CostKind) getPointersChainCost() argument
2225 getInstructionCost(const User * U,ArrayRef<const Value * > Operands,TargetCostKind CostKind) getInstructionCost() argument
2461 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TargetCostKind CostKind) getScalarizationOverhead() argument
2468 getOperandsScalarizationOverhead(ArrayRef<const Value * > Args,ArrayRef<Type * > Tys,TargetCostKind CostKind) getOperandsScalarizationOverhead() argument
2531 getIntImmCost(const APInt & Imm,Type * Ty,TargetCostKind CostKind) getIntImmCost() argument
2542 getIntImmCostIntrin(Intrinsic::ID IID,unsigned Idx,const APInt & Imm,Type * Ty,TargetCostKind CostKind) getIntImmCostIntrin() argument
2664 getAltInstrCost(VectorType * VecTy,unsigned Opcode0,unsigned Opcode1,const SmallBitVector & OpcodeMask,TTI::TargetCostKind CostKind) getAltInstrCost() argument
2670 getShuffleCost(ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
2679 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
2694 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
2699 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
2705 getVectorInstrCost(const Instruction & I,Type * Val,TTI::TargetCostKind CostKind,unsigned Index) getVectorInstrCost() argument
2712 getReplicationShuffleCost(Type * EltTy,int ReplicationFactor,int VF,const APInt & DemandedDstElts,TTI::TargetCostKind CostKind) getReplicationShuffleCost() argument
2718 getMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,OperandValueInfo OpInfo,const Instruction * I) getMemoryOpCost() argument
2726 getVPMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,const Instruction * I) getVPMemoryOpCost() argument
2733 getMaskedMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind) getMaskedMemoryOpCost() argument
2755 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
2764 getArithmeticReductionCost(unsigned Opcode,VectorType * Ty,std::optional<FastMathFlags> FMF,TTI::TargetCostKind CostKind) getArithmeticReductionCost() argument
2769 getMinMaxReductionCost(Intrinsic::ID IID,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getMinMaxReductionCost() argument
2775 getExtendedReductionCost(unsigned Opcode,bool IsUnsigned,Type * ResTy,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getExtendedReductionCost() argument
2781 getMulAccReductionCost(bool IsUnsigned,Type * ResTy,VectorType * Ty,TTI::TargetCostKind CostKind) getMulAccReductionCost() argument
2785 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
2790 getCallInstrCost(Function * F,Type * RetTy,ArrayRef<Type * > Tys,TTI::TargetCostKind CostKind) getCallInstrCost() argument
[all...]
/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp54 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
85 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp302 getIntImmCost(const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCost() argument
395 getIntImmCostInst(unsigned Opcode,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind,Instruction * Inst) getIntImmCostInst() argument
465 getCFInstrCost(unsigned Opcode,TTI::TargetCostKind CostKind,const Instruction * I) getCFInstrCost() argument
481 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,TTI::CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
883 getVectorInstrCost(unsigned Opcode,Type * ValTy,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
924 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
1217 getShuffleCost(TTI::ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
1331 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
1474 getMemoryOpCost(unsigned Opcode,Type * Src,MaybeAlign Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,TTI::OperandValueInfo OpInfo,const Instruction * I) getMemoryOpCost() argument
1521 getMaskedMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind) getMaskedMemoryOpCost() argument
1538 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
1579 getGatherScatterOpCost(unsigned Opcode,Type * DataTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I) getGatherScatterOpCost() argument
1684 getArithmeticReductionCost(unsigned Opcode,VectorType * ValTy,std::optional<FastMathFlags> FMF,TTI::TargetCostKind CostKind) getArithmeticReductionCost() argument
1769 getExtendedReductionCost(unsigned Opcode,bool IsUnsigned,Type * ResTy,VectorType * ValTy,FastMathFlags FMF,TTI::TargetCostKind CostKind) getExtendedReductionCost() argument
1804 getMulAccReductionCost(bool IsUnsigned,Type * ResTy,VectorType * ValTy,TTI::TargetCostKind CostKind) getMulAccReductionCost() argument
1831 getMinMaxReductionCost(Intrinsic::ID IID,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getMinMaxReductionCost() argument
1890 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
[all...]
H A DARMSubtarget.h489 getMVEVectorCostFactor(TargetTransformInfo::TargetCostKind CostKind) getMVEVectorCostFactor() argument
/llvm-project/llvm/lib/Analysis/
H A DCostModel.cpp31 static cl::opt<TargetTransformInfo::TargetCostKind> CostKind( global() variable
H A DTargetTransformInfo.cpp699 getIntImmCostInst(unsigned Opcode,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind,Instruction * Inst) const getIntImmCostInst() argument
894 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,OperandValueInfo Op1Info,OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI,const TargetLibraryInfo * TLibInfo) const getArithmeticInstrCost() argument
931 getShuffleCost(ShuffleKind Kind,VectorType * Ty,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) const getShuffleCost() argument
985 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) const getCastInstrCost() argument
1003 getCFInstrCost(unsigned Opcode,TTI::TargetCostKind CostKind,const Instruction * I) const getCFInstrCost() argument
1013 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) const getCmpSelInstrCost() argument
1023 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) const getVectorInstrCost() argument
1036 getVectorInstrCost(const Instruction & I,Type * Val,TTI::TargetCostKind CostKind,unsigned Index) const getVectorInstrCost() argument
1057 getMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,TTI::OperandValueInfo OpInfo,const Instruction * I) const getMemoryOpCost() argument
1078 getGatherScatterOpCost(unsigned Opcode,Type * DataTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I) const getGatherScatterOpCost() argument
1088 getStridedMemoryOpCost(unsigned Opcode,Type * DataTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I) const getStridedMemoryOpCost() argument
1097 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) const getInterleavedMemoryOpCost() argument
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600TargetTransformInfo.cpp95 TTI::TargetCostKind CostKind, in getCFInstrCost()
111 TTI::TargetCostKind CostKind, in getVectorInstrCost()
H A DAMDGPUTargetTransformInfo.h85 getHalfRateInstrCost(TTI::TargetCostKind CostKind) getHalfRateInstrCost() argument
92 getQuarterRateInstrCost(TTI::TargetCostKind CostKind) getQuarterRateInstrCost() argument
[all...]
H A DAMDGPUTargetTransformInfo.cpp527 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
704 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
750 getCFInstrCost(unsigned Opcode,TTI::TargetCostKind CostKind,const Instruction * I) getCFInstrCost() argument
782 getArithmeticReductionCost(unsigned Opcode,VectorType * Ty,std::optional<FastMathFlags> FMF,TTI::TargetCostKind CostKind) getArithmeticReductionCost() argument
800 getMinMaxReductionCost(Intrinsic::ID IID,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getMinMaxReductionCost() argument
813 getVectorInstrCost(unsigned Opcode,Type * ValTy,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
1107 getShuffleCost(TTI::ShuffleKind Kind,VectorType * VT,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
[all...]
/llvm-project/llvm/lib/Target/BPF/
H A DBPFTargetTransformInfo.h40 int getIntImmCost(const APInt &Imm, Type *Ty, TTI::TargetCostKind CostKind) { in getIntImmCost() argument
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp358 getIntImmCost(const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCost() argument
384 getIntImmCostInst(unsigned Opcode,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind,Instruction * Inst) getIntImmCostInst() argument
453 getIntImmCostIntrin(Intrinsic::ID IID,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCostIntrin() argument
542 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
2465 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,TTI::CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
2881 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getExtractWithExtendCost() local
2925 getCFInstrCost(unsigned Opcode,TTI::TargetCostKind CostKind,const Instruction * I) getCFInstrCost() argument
2988 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
2998 getVectorInstrCost(const Instruction & I,Type * Val,TTI::TargetCostKind CostKind,unsigned Index) getVectorInstrCost() argument
3005 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument
3016 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
3210 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
3323 getMaskedMemoryOpCost(unsigned Opcode,Type * Src,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind) getMaskedMemoryOpCost() argument
3352 getGatherScatterOpCost(unsigned Opcode,Type * DataTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I) getGatherScatterOpCost() argument
3392 getMemoryOpCost(unsigned Opcode,Type * Ty,MaybeAlign Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,TTI::OperandValueInfo OpInfo,const Instruction * I) getMemoryOpCost() argument
3488 getInterleavedMemoryOpCost(unsigned Opcode,Type * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
3524 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getCostOfKeepingLiveOverCall() local
3794 getMinMaxReductionCost(Intrinsic::ID IID,VectorType * Ty,FastMathFlags FMF,TTI::TargetCostKind CostKind) getMinMaxReductionCost() argument
3811 getArithmeticReductionCostSVE(unsigned Opcode,VectorType * ValTy,TTI::TargetCostKind CostKind) getArithmeticReductionCostSVE() argument
3838 getArithmeticReductionCost(unsigned Opcode,VectorType * ValTy,std::optional<FastMathFlags> FMF,TTI::TargetCostKind CostKind) getArithmeticReductionCost() argument
3963 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getSpliceCost() local
3995 getShuffleCost(TTI::ShuffleKind Kind,VectorType * Tp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
[all...]
/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp247 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
1528 getShuffleCost(TTI::ShuffleKind Kind,VectorType * BaseTp,ArrayRef<int> Mask,TTI::TargetCostKind CostKind,int Index,VectorType * SubTp,ArrayRef<const Value * > Args,const Instruction * CxtI) getShuffleCost() argument
2173 getCastInstrCost(unsigned Opcode,Type * Dst,Type * Src,TTI::CastContextHint CCH,TTI::TargetCostKind CostKind,const Instruction * I) getCastInstrCost() argument
3164 getCmpSelInstrCost(unsigned Opcode,Type * ValTy,Type * CondTy,CmpInst::Predicate VecPred,TTI::TargetCostKind CostKind,const Instruction * I) getCmpSelInstrCost() argument
3462 getIntrinsicInstrCost(const IntrinsicCostAttributes & ICA,TTI::TargetCostKind CostKind) getIntrinsicInstrCost() argument
4477 getVectorInstrCost(unsigned Opcode,Type * Val,TTI::TargetCostKind CostKind,unsigned Index,Value * Op0,Value * Op1) getVectorInstrCost() argument
4625 getScalarizationOverhead(VectorType * Ty,const APInt & DemandedElts,bool Insert,bool Extract,TTI::TargetCostKind CostKind) getScalarizationOverhead() argument
4789 getReplicationShuffleCost(Type * EltTy,int ReplicationFactor,int VF,const APInt & DemandedDstElts,TTI::TargetCostKind CostKind) getReplicationShuffleCost() argument
4895 getMemoryOpCost(unsigned Opcode,Type * Src,MaybeAlign Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,TTI::OperandValueInfo OpInfo,const Instruction * I) getMemoryOpCost() argument
5061 getMaskedMemoryOpCost(unsigned Opcode,Type * SrcTy,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind) getMaskedMemoryOpCost() argument
5129 getPointersChainCost(ArrayRef<const Value * > Ptrs,const Value * Base,const TTI::PointersChainInfo & Info,Type * AccessTy,TTI::TargetCostKind CostKind) getPointersChainCost() argument
5176 getArithmeticReductionCost(unsigned Opcode,VectorType * ValTy,std::optional<FastMathFlags> FMF,TTI::TargetCostKind CostKind) getArithmeticReductionCost() argument
5425 getMinMaxCost(Intrinsic::ID IID,Type * Ty,TTI::TargetCostKind CostKind,FastMathFlags FMF) getMinMaxCost() argument
5434 getMinMaxReductionCost(Intrinsic::ID IID,VectorType * ValTy,FastMathFlags FMF,TTI::TargetCostKind CostKind) getMinMaxReductionCost() argument
5617 getIntImmCost(const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCost() argument
5653 getIntImmCostInst(unsigned Opcode,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind,Instruction * Inst) getIntImmCostInst() argument
5752 getIntImmCostIntrin(Intrinsic::ID IID,unsigned Idx,const APInt & Imm,Type * Ty,TTI::TargetCostKind CostKind) getIntImmCostIntrin() argument
5787 getCFInstrCost(unsigned Opcode,TTI::TargetCostKind CostKind,const Instruction * I) getCFInstrCost() argument
5817 getGSVectorCost(unsigned Opcode,TTI::TargetCostKind CostKind,Type * SrcVTy,const Value * Ptr,Align Alignment,unsigned AddressSpace) getGSVectorCost() argument
5890 getGatherScatterOpCost(unsigned Opcode,Type * SrcVTy,const Value * Ptr,bool VariableMask,Align Alignment,TTI::TargetCostKind CostKind,const Instruction * I=nullptr) getGatherScatterOpCost() argument
6259 getInterleavedMemoryOpCostAVX512(unsigned Opcode,FixedVectorType * VecTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCostAVX512() argument
6412 getInterleavedMemoryOpCost(unsigned Opcode,Type * BaseTy,unsigned Factor,ArrayRef<unsigned> Indices,Align Alignment,unsigned AddressSpace,TTI::TargetCostKind CostKind,bool UseMaskForCond,bool UseMaskForGaps) getInterleavedMemoryOpCost() argument
[all...]
/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp248 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; vectorizeLoadInsert() local
365 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getShuffleExtract() local
433 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; isExtractExtractCheap() local
668 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; foldInsExtFNeg() local
826 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; scalarizeVPIntrinsic() local
982 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; scalarizeBinopOrCmp() local
1073 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; foldExtractedCmps() local
1360 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; scalarizeLoadExtract() local
1454 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; foldShuffleOfBinops() local
1551 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; foldShuffleOfCastops() local
1646 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; foldShuffleOfShuffles() local
2135 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; foldTruncFromReductions() local
[all...]
H A DLoopVectorize.cpp3241 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getVectorCallCost() local
3785 const TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getDivRemSpeculationCost() local
5810 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; computePredInstDiscount() local
5953 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getMemInstScalarizationCost() local
5994 enum TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getConsecutiveMemOpCost() local
6025 enum TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getUniformMemOpCost() local
6064 enum TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getInterleaveGroupCost() local
6531 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; setVectorizedCallDecision() local
6702 TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput; getInstructionCost() local
[all...]
/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp398 getArithmeticInstrCost(unsigned Opcode,Type * Ty,TTI::TargetCostKind CostKind,TTI::OperandValueInfo Op1Info,TTI::OperandValueInfo Op2Info,ArrayRef<const Value * > Args,const Instruction * CxtI) getArithmeticInstrCost() argument
/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp411 TargetTransformInfo::TargetCostKind CostKind = analyzeLoopUnrollCost() local
503 TargetTransformInfo::TargetCostKind CostKind = analyzeLoopUnrollCost() local
/llvm-project/llvm/lib/CodeGen/
H A DInterleavedLoadCombinePass.cpp1137 const TTI::TargetCostKind CostKind = TTI::TCK_SizeAndLatency; combine() local
/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1808 costAndCollectOperands(const SCEVOperand & WorkItem,const TargetTransformInfo & TTI,TargetTransformInfo::TargetCostKind CostKind,SmallVectorImpl<SCEVOperand> & Worklist) costAndCollectOperands() argument
1984 TargetTransformInfo::TargetCostKind CostKind = isHighCostExpansionHelper() local
[all...]

12