Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1039 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1043 if (BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I) == 0)
1161 (2 * TTI->getCastInstrCost(Opcode, SplitDstTy, SplitSrcTy, CCH,
1172 InstructionCost Cost = thisT()->getCastInstrCost(
1204 thisT()->getCastInstrCost(Opcode, Dst, VecTy->getElementType(), in getExtractWithExtendCost()
2111 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, RetTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
2177 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, MulTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
2208 Cost += thisT()->getCastInstrCost( in getTypeBasedIntrinsicInstrCost()
2389 return thisT()->getCastInstrCost(Instruction::BitCast, ValTy, Ty, in getTreeReductionCost()
2533 InstructionCost ExtCost = thisT()->getCastInstrCost( in getExtendedReductionCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp839 InstructionCost RISCVTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in RISCVTTIImpl
847 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
852 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
913 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
1203 = getCastInstrCost(Instruction::ZExt, WideTy, Val, in getVectorInstrCost()
1210 = getCastInstrCost(Instruction::ZExt, WideTy, Val, in getVectorInstrCost()
1215 = getCastInstrCost(Instruction::Trunc, Val, WideTy, in getVectorInstrCost()
H A DRISCVTargetTransformInfo.h146 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp766 InstructionCost SystemZTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in SystemZTTIImpl
773 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
849 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
899 InstructionCost ScalarCost = getCastInstrCost( in getCastInstrCost()
945 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
H A DSystemZTargetTransformInfo.h103 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h153 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DHexagonTargetTransformInfo.cpp307 InstructionCost HexagonTTIImpl::getCastInstrCost(unsigned Opcode, Type *DstTy, in getCastInstrCost() function in HexagonTTIImpl
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h116 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DPPCTargetTransformInfo.cpp637 InstructionCost PPCTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in PPCTTIImpl
649 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2228 InstructionCost AArch64TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in AArch64TTIImpl
2271 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
2557 getCastInstrCost( in getCastInstrCost()
2610 InstructionCost Part1 = AArch64TTIImpl::getCastInstrCost( in getCastInstrCost()
2612 InstructionCost Part2 = AArch64TTIImpl::getCastInstrCost( in getCastInstrCost()
2625 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
2659 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
2665 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
2685 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
3729 getCastInstrCost(Instruction::ZExt, PromotedVTy, LegalVTy, in getSpliceCost()
[all …]
H A DAArch64TargetTransformInfo.h174 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DAArch64ISelLowering.cpp15444 if (TTI.getCastInstrCost(I->getOpcode(), DstTy, TruncDstType, in optimizeExtendOrTruncateConversion()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h153 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DX86TargetTransformInfo.cpp232 return getCastInstrCost(Instruction::ZExt, WideVecTy, Ty, in getArithmeticInstrCost()
235 getCastInstrCost(Instruction::Trunc, Ty, WideVecTy, in getArithmeticInstrCost()
2099 InstructionCost X86TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in X86TTIImpl
3050 ExtCost = getCastInstrCost(ExtOpc, ExtSrc, Src, CCH, CostKind); in getCastInstrCost()
3052 return ExtCost + getCastInstrCost(Instruction::SIToFP, Dst, ExtSrc, in getCastInstrCost()
3061 return getCastInstrCost(Instruction::FPToSI, TruncDst, Src, CCH, CostKind) + in getCastInstrCost()
3062 getCastInstrCost(Instruction::Trunc, Dst, TruncDst, in getCastInstrCost()
3067 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
4729 PromotionCost += getCastInstrCost( in getReplicationShuffleCost()
4733 getCastInstrCost(Instruction::Trunc, /*Dst=*/DstVecTy, in getReplicationShuffleCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp374 SatCost += TTI.getCastInstrCost(Instruction::SExt, IntTy, SatTy, in tryToFPToSat()
378 InstructionCost MinMaxCost = TTI.getCastInstrCost( in tryToFPToSat()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h236 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DARMTargetTransformInfo.cpp474 InstructionCost ARMTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in ARMTTIImpl
500 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
875 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1322 getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1980 virtual InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst,
2606 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() function
2610 return Impl.getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
H A DTargetTransformInfoImpl.h582 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() function
1235 return TargetTTI->getCastInstrCost( in getInstructionCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp942 InstructionCost TargetTransformInfo::getCastInstrCost( in getCastInstrCost() function in TargetTransformInfo
948 TTIImpl->getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6318 TTI.getCastInstrCost(Op0->getOpcode(), MulType, ExtType, in getReductionPatternCost()
6323 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, MulType, in getReductionPatternCost()
6342 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
6362 InstructionCost ExtCost0 = TTI.getCastInstrCost( in getReductionPatternCost()
6365 InstructionCost ExtCost1 = TTI.getCastInstrCost( in getReductionPatternCost()
6376 ExtraExtCost = TTI.getCastInstrCost( in getReductionPatternCost()
7151 return TTI.getCastInstrCost(Instruction::Trunc, Trunc->getDestTy(), in getInstructionCost()
7181 return TTI.getCastInstrCost(Opcode, VectorTy, SrcVecTy, CCH, CostKind, I); in getInstructionCost()
H A DSLPVectorizer.cpp7491 Cost += TTI.getCastInstrCost( in adjustExtracts()
7873 VecCost += TTI->getCastInstrCost(VecOpcode, VecTy, SrcVecTy, CCH, in getEntryCost()
7876 Sz * TTI->getCastInstrCost(VecOpcode, ScalarTy, UserScalarTy, in getEntryCost()
8018 Cost -= TTI->getCastInstrCost( in getEntryCost()
8181 return TTI->getCastInstrCost(Opcode, VL0->getType(), in getEntryCost()
8193 TTI->getCastInstrCost(VecOpcode, VecTy, SrcVecTy, CCH, CostKind, in getEntryCost()
8446 VecCost = TTIRef.getCastInstrCost(E->getOpcode(), VecTy, Src0Ty, in getEntryCost()
8449 TTIRef.getCastInstrCost(E->getAltOpcode(), VecTy, Src1Ty, in getEntryCost()
9038 InstructionCost C = TTI->getCastInstrCost( in getTreeCost()
9093 Cost += TTI->getCastInstrCost(Opcode, DstTy, SrcTy, in getTreeCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1731 return TTI.getCastInstrCost(Opcode, S->getType(), in costAndCollectOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2298 Cost += TTI.getCastInstrCost(CI->getOpcode(), CI->getType(), SrcTy, in chainToBasePointerCost()