Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h879 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
883 if (BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I) == 0)
1003 (2 * TTI->getCastInstrCost(Opcode, SplitDstTy, SplitSrcTy, CCH,
1014 InstructionCost Cost = thisT()->getCastInstrCost(
1039 thisT()->getCastInstrCost(Opcode, Dst, VecTy->getElementType(), in getExtractWithExtendCost()
1765 Cost += 2 * thisT()->getCastInstrCost(ExtOp, ExtTy, RetTy, CCH, CostKind); in getTypeBasedIntrinsicInstrCost()
1768 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, RetTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
1834 Cost += 2 * thisT()->getCastInstrCost(ExtOp, ExtTy, MulTy, CCH, CostKind); in getTypeBasedIntrinsicInstrCost()
1837 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, MulTy, ExtTy, in getTypeBasedIntrinsicInstrCost()
2029 return thisT()->getCastInstrCost(Instruction::BitCast, ValTy, Ty, in getTreeReductionCost()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp720 InstructionCost SystemZTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in SystemZTTIImpl
727 auto BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
769 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
815 InstructionCost ScalarCost = getCastInstrCost( in getCastInstrCost()
857 return BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
DSystemZTargetTransformInfo.h100 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.h152 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
DHexagonTargetTransformInfo.cpp283 InstructionCost HexagonTTIImpl::getCastInstrCost(unsigned Opcode, Type *DstTy, in getCastInstrCost() function in HexagonTTIImpl
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp905 InstructionCost AArch64TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in AArch64TTIImpl
945 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
1179 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
1213 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
1219 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
1239 return Cost + getCastInstrCost(Opcode, Dst, Src, TTI::CastContextHint::None, in getExtractWithExtendCost()
2084 getCastInstrCost(Instruction::ZExt, PromotedVTy, LegalVTy, in getSpliceCost()
2086 getCastInstrCost(Instruction::Trunc, LegalVTy, PromotedVTy, in getSpliceCost()
DAArch64TargetTransformInfo.h158 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h115 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
DPPCTargetTransformInfo.cpp1015 InstructionCost PPCTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in PPCTTIImpl
1023 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86TargetTransformInfo.h134 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
DX86TargetTransformInfo.cpp193 return getCastInstrCost(Instruction::ZExt, WideVecTy, Ty, in getArithmeticInstrCost()
196 getCastInstrCost(Instruction::Trunc, Ty, WideVecTy, in getArithmeticInstrCost()
1501 InstructionCost X86TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in X86TTIImpl
2329 ExtCost = getCastInstrCost(ExtOpc, ExtSrc, Src, CCH, CostKind); in getCastInstrCost()
2331 return ExtCost + getCastInstrCost(Instruction::SIToFP, Dst, ExtSrc, in getCastInstrCost()
2340 return getCastInstrCost(Instruction::FPToSI, TruncDst, Src, CCH, CostKind) + in getCastInstrCost()
2341 getCastInstrCost(Instruction::Trunc, Dst, TruncDst, in getCastInstrCost()
2346 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
3821 return getCastInstrCost(Instruction::ZExt, WideVecTy, ValTy, in getArithmeticReductionCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h212 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
DARMTargetTransformInfo.cpp401 InstructionCost ARMTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, in getCastInstrCost() function in ARMTTIImpl
427 BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
802 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I)); in getCastInstrCost()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfo.h1073 getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1609 virtual InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst,
2093 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() function
2097 return Impl.getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
DTargetTransformInfoImpl.h477 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() function
1015 return TargetTTI->getCastInstrCost( in getUserCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp770 InstructionCost TargetTransformInfo::getCastInstrCost( in getCastInstrCost() function in TargetTransformInfo
776 TTIImpl->getCastInstrCost(Opcode, Dst, Src, CCH, CostKind, I); in getCastInstrCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3705 Cost += TTIRef.getCastInstrCost( in getEntryCost()
3883 CommonCost += TTI->getCastInstrCost( in getEntryCost()
3955 TTI->getCastInstrCost(E->getOpcode(), ScalarTy, SrcTy, in getEntryCost()
3968 VecCost = CommonCost + TTI->getCastInstrCost( in getEntryCost()
4212 VecCost = TTI->getCastInstrCost(E->getOpcode(), VecTy, Src0Ty, in getEntryCost()
4214 VecCost += TTI->getCastInstrCost(E->getAltOpcode(), VecTy, Src1Ty, in getEntryCost()
DLoopVectorize.cpp7244 TTI.getCastInstrCost(RedOp->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
7258 TTI.getCastInstrCost(Op0->getOpcode(), VectorTy, ExtType, in getReductionPatternCost()
7826 return TTI.getCastInstrCost(Instruction::Trunc, Trunc->getDestTy(), in getInstructionCost()
7855 return TTI.getCastInstrCost(Opcode, VectorTy, SrcVecTy, CCH, CostKind, I); in getInstructionCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp2197 Cost += TTI.getCastInstrCost(CI->getOpcode(), CI->getType(), SrcTy, in chainToBasePointerCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DScalarEvolutionExpander.cpp2262 return TTI.getCastInstrCost(Opcode, S->getType(), in costAndCollectOperands()