Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1053 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1057 if (BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I) == 0)
1175 (2 * TTI->getCastInstrCost(Opcode, SplitDstTy, SplitSrcTy, CCH,
1186 InstructionCost Cost = thisT()->getCastInstrCost(
1218 thisT()->getCastInstrCost(Opcode, Dst, VecTy->getElementType(), in getExtractWithExtendCost()
1800 Cost += thisT()->getCastInstrCost(Instruction::SExt, NewVecTy, in getIntrinsicInstrCost()
2199 Cost += 2 * thisT()->getCastInstrCost(ExtOp, ExtTy, RetTy, CCH, CostKind); in getTypeBasedIntrinsicInstrCost()
2202 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, RetTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
2265 Cost += 2 * thisT()->getCastInstrCost(ExtOp, ExtTy, MulTy, CCH, CostKind); in getTypeBasedIntrinsicInstrCost()
2268 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, MulTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
[all …]
/src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp1024 InstructionCost RISCVTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in RISCVTTIImpl
1031 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
1039 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
1062 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
1128 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
1180 getCastInstrCost(Instruction::UIToFP, DstTy, SrcTy, in getMinMaxReductionCost()
1199 getCastInstrCost(Instruction::UIToFP, DstTy, SrcTy, in getMinMaxReductionCost()
1599 = getCastInstrCost(Instruction::ZExt, WideTy, Val, in getVectorInstrCost()
1606 = getCastInstrCost(Instruction::ZExt, WideTy, Val, in getVectorInstrCost()
1611 = getCastInstrCost(Instruction::Trunc, Val, WideTy, in getVectorInstrCost()
H A DRISCVTargetTransformInfo.h172 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp768 InstructionCost SystemZTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in SystemZTTIImpl
775 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
851 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
901 InstructionCost ScalarCost = getCastInstrCost( in getCastInstrCost()
947 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
H A DSystemZTargetTransformInfo.h104 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h146 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DHexagonTargetTransformInfo.cpp294 InstructionCost HexagonTTIImpl::getCastInstrCost(unsigned Opcode, Type *DstTy, in getCastInstrCost() function in HexagonTTIImpl
/src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h117 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DPPCTargetTransformInfo.cpp638 InstructionCost PPCTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in PPCTTIImpl
650 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
/src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp765 (NumOps * TTI.getCastInstrCost(Instruction::BitCast, NewShuffleTy, SrcTy, in foldBitcastShuffle()
770 TTI.getCastInstrCost(Instruction::BitCast, DestTy, OldShuffleTy, in foldBitcastShuffle()
1554 TTI.getCastInstrCost(C0->getOpcode(), CastDstTy, CastSrcTy, in foldShuffleOfCastops()
1557 TTI.getCastInstrCost(C1->getOpcode(), CastDstTy, CastSrcTy, in foldShuffleOfCastops()
1566 NewCost += TTI.getCastInstrCost(Opcode, ShuffleDstTy, NewShuffleDstTy, in foldShuffleOfCastops()
2159 OldCost += TTI.getCastInstrCost(CastOpc, ReductionSrcTy, SrcTy, in foldCastFromReductions()
2165 TTI.getCastInstrCost(CastOpc, ResultTy, ReductionSrcTy->getScalarType(), in foldCastFromReductions()
H A DLoopVectorize.cpp5830 TTI.getCastInstrCost(Op0->getOpcode(), MulType, ExtType, in getReductionPatternCost()
5835 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, MulType, in getReductionPatternCost()
5854 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
5874 InstructionCost ExtCost0 = TTI.getCastInstrCost( in getReductionPatternCost()
5877 InstructionCost ExtCost1 = TTI.getCastInstrCost( in getReductionPatternCost()
5888 ExtraExtCost = TTI.getCastInstrCost( in getReductionPatternCost()
6636 return TTI.getCastInstrCost(Instruction::Trunc, Trunc->getDestTy(), in getInstructionCost()
6661 return TTI.getCastInstrCost(Opcode, VectorTy, SrcVecTy, CCH, CostKind, I); in getInstructionCost()
H A DSLPVectorizer.cpp8707 return TTI.getCastInstrCost(CastOpcode, getWidenedType(ScalarTy, VF), in createShuffle()
8725 return TTI.getCastInstrCost( in createShuffle()
8969 Cost += TTI.getCastInstrCost( in adjustExtracts()
9377 VecCost += TTI->getCastInstrCost(VecOpcode, UserVecTy, VecTy, CCH, in getEntryCost()
9453 Cost -= TTI->getCastInstrCost( in getEntryCost()
9617 return TTI->getCastInstrCost(Opcode, VL0->getType(), in getEntryCost()
9629 TTI->getCastInstrCost(VecOpcode, VecTy, SrcVecTy, CCH, CostKind, in getEntryCost()
9949 TTIRef.getCastInstrCost(Instruction::Trunc, VecTy, SrcTy, in getEntryCost()
9959 VecCost = TTIRef.getCastInstrCost(E->getOpcode(), VecTy, SrcTy, in getEntryCost()
9962 TTIRef.getCastInstrCost(E->getAltOpcode(), VecTy, SrcTy, in getEntryCost()
[all …]
/src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h156 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DX86TargetTransformInfo.cpp258 return getCastInstrCost(Instruction::ZExt, WideVecTy, Ty, in getArithmeticInstrCost()
261 getCastInstrCost(Instruction::Trunc, Ty, WideVecTy, in getArithmeticInstrCost()
2170 InstructionCost X86TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in X86TTIImpl
3134 ExtCost = getCastInstrCost(ExtOpc, ExtSrc, Src, CCH, CostKind); in getCastInstrCost()
3136 return ExtCost + getCastInstrCost(Instruction::SIToFP, Dst, ExtSrc, in getCastInstrCost()
3145 return getCastInstrCost(Instruction::FPToSI, TruncDst, Src, CCH, CostKind) + in getCastInstrCost()
3146 getCastInstrCost(Instruction::Trunc, Dst, TruncDst, in getCastInstrCost()
3158 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
4239 return getCastInstrCost(Instruction::FPToSI, RetTy, ArgTys[0], in getIntrinsicInstrCost()
4855 PromotionCost += getCastInstrCost( in getReplicationShuffleCost()
[all …]
/src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2476 InstructionCost AArch64TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in AArch64TTIImpl
2519 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
2805 getCastInstrCost( in getCastInstrCost()
2859 InstructionCost Part1 = AArch64TTIImpl::getCastInstrCost( in getCastInstrCost()
2861 InstructionCost Part2 = AArch64TTIImpl::getCastInstrCost( in getCastInstrCost()
2874 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
2908 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
2914 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
2934 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
4019 getCastInstrCost(Instruction::ZExt, PromotedVTy, LegalVTy, in getSpliceCost()
[all …]
H A DAArch64TargetTransformInfo.h174 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DAArch64ISelLowering.cpp16502 if (TTI.getCastInstrCost(I->getOpcode(), DstTy, TruncDstType, in optimizeExtendOrTruncateConversion()
/src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h237 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DARMTargetTransformInfo.cpp478 InstructionCost ARMTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in ARMTTIImpl
504 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
879 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1358 getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
2048 virtual InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst,
2702 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() function
2706 return Impl.getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
H A DTargetTransformInfoImpl.h605 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() function
1278 return TargetTTI->getCastInstrCost( in getInstructionCost()
/src/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp386 SatCost += TTI.getCastInstrCost(Instruction::SExt, IntTy, SatTy, in tryToFPToSat()
390 InstructionCost MinMaxCost = TTI.getCastInstrCost( in tryToFPToSat()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp987 InstructionCost TargetTransformInfo::getCastInstrCost( in getCastInstrCost() function in TargetTransformInfo
993 TTIImpl->getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1829 return TTI.getCastInstrCost(Opcode, S->getType(), in costAndCollectOperands()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2300 Cost += TTI.getCastInstrCost(CI->getOpcode(), CI->getType(), SrcTy, in chainToBasePointerCost()