Home
last modified time | relevance | path

Searched refs:getCastInstrCost (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp263 InstructionCost RISCVTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in RISCVTTIImpl
271 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
276 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
307 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
H A DRISCVTargetTransformInfo.h101 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h928 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
932 if (BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I) == 0)
1052 (2 * TTI->getCastInstrCost(Opcode, SplitDstTy, SplitSrcTy, CCH,
1063 InstructionCost Cost = thisT()->getCastInstrCost(
1088 thisT()->getCastInstrCost(Opcode, Dst, VecTy->getElementType(), in getExtractWithExtendCost()
1894 Cost += 2 * thisT()->getCastInstrCost(ExtOp, ExtTy, RetTy, CCH, CostKind); in getTypeBasedIntrinsicInstrCost()
1897 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, RetTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
1962 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, MulTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
1991 Cost += thisT()->getCastInstrCost( in getTypeBasedIntrinsicInstrCost()
2171 return thisT()->getCastInstrCost(Instruction::BitCast, ValTy, Ty, in getTreeReductionCost()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp758 InstructionCost SystemZTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in SystemZTTIImpl
765 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
807 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
857 InstructionCost ScalarCost = getCastInstrCost( in getCastInstrCost()
899 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
H A DSystemZTargetTransformInfo.h102 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h150 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DHexagonTargetTransformInfo.cpp285 InstructionCost HexagonTTIImpl::getCastInstrCost(unsigned Opcode, Type *DstTy, in getCastInstrCost() function in HexagonTTIImpl
/llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp406 SatCost += TTI.getCastInstrCost(Instruction::SExt, SatTy, IntTy, in tryToFPToSat()
410 InstructionCost MinMaxCost = TTI.getCastInstrCost( in tryToFPToSat()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h116 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DPPCTargetTransformInfo.cpp1035 InstructionCost PPCTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in PPCTTIImpl
1047 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h165 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DAArch64TargetTransformInfo.cpp1561 InstructionCost AArch64TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in AArch64TTIImpl
1601 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
1874 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
1908 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
1914 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
1934 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
2801 getCastInstrCost(Instruction::ZExt, PromotedVTy, LegalVTy, in getSpliceCost()
2803 getCastInstrCost(Instruction::Trunc, LegalVTy, PromotedVTy, in getSpliceCost()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h141 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DX86TargetTransformInfo.cpp194 return getCastInstrCost(Instruction::ZExt, WideVecTy, Ty, in getArithmeticInstrCost()
197 getCastInstrCost(Instruction::Trunc, Ty, WideVecTy, in getArithmeticInstrCost()
1655 InstructionCost X86TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in X86TTIImpl
2602 ExtCost = getCastInstrCost(ExtOpc, ExtSrc, Src, CCH, CostKind); in getCastInstrCost()
2604 return ExtCost + getCastInstrCost(Instruction::SIToFP, Dst, ExtSrc, in getCastInstrCost()
2613 return getCastInstrCost(Instruction::FPToSI, TruncDst, Src, CCH, CostKind) + in getCastInstrCost()
2614 getCastInstrCost(Instruction::Trunc, Dst, TruncDst, in getCastInstrCost()
2619 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
4004 PromotionCost += getCastInstrCost( in getReplicationShuffleCost()
4008 getCastInstrCost(Instruction::Trunc, /*Dst=*/DstVecTy, in getReplicationShuffleCost()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h230 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DARMTargetTransformInfo.cpp471 InstructionCost ARMTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in ARMTTIImpl
497 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
872 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1133 getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1722 virtual InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst,
2263 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() function
2267 return Impl.getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
H A DTargetTransformInfoImpl.h511 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() function
1075 return TargetTTI->getCastInstrCost( in getUserCost()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp826 InstructionCost TargetTransformInfo::getCastInstrCost( in getCastInstrCost() function in TargetTransformInfo
832 TTIImpl->getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6562 TTI.getCastInstrCost(Op0->getOpcode(), MulType, ExtType, in getReductionPatternCost()
6567 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, MulType, in getReductionPatternCost()
6587 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
6607 InstructionCost ExtCost0 = TTI.getCastInstrCost( in getReductionPatternCost()
6610 InstructionCost ExtCost1 = TTI.getCastInstrCost( in getReductionPatternCost()
6622 ExtraExtCost = TTI.getCastInstrCost( in getReductionPatternCost()
7214 return TTI.getCastInstrCost(Instruction::Trunc, Trunc->getDestTy(), in getInstructionCost()
7243 return TTI.getCastInstrCost(Opcode, VectorTy, SrcVecTy, CCH, CostKind, I); in getInstructionCost()
H A DSLPVectorizer.cpp5877 Cost += TTIRef.getCastInstrCost( in getEntryCost()
6154 CommonCost += TTI->getCastInstrCost( in getEntryCost()
6284 TTI->getCastInstrCost(E->getOpcode(), ScalarTy, SrcTy, in getEntryCost()
6297 VecCost = CommonCost + TTI->getCastInstrCost( in getEntryCost()
6579 VecCost = TTI->getCastInstrCost(E->getOpcode(), VecTy, Src0Ty, in getEntryCost()
6581 VecCost += TTI->getCastInstrCost(E->getAltOpcode(), VecTy, Src1Ty, in getEntryCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2109 return TTI.getCastInstrCost(Opcode, S->getType(), in costAndCollectOperands()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2273 Cost += TTI.getCastInstrCost(CI->getOpcode(), CI->getType(), SrcTy, in chainToBasePointerCost()