| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 1039 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 D | RISCVTargetTransformInfo.cpp | 839 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 D | RISCVTargetTransformInfo.h | 146 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 766 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 D | SystemZTargetTransformInfo.h | 103 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.h | 153 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | HexagonTargetTransformInfo.cpp | 307 InstructionCost HexagonTTIImpl::getCastInstrCost(unsigned Opcode, Type *DstTy, in getCastInstrCost() function in HexagonTTIImpl
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 116 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | PPCTargetTransformInfo.cpp | 637 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 D | AArch64TargetTransformInfo.cpp | 2228 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 D | AArch64TargetTransformInfo.h | 174 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | AArch64ISelLowering.cpp | 15444 if (TTI.getCastInstrCost(I->getOpcode(), DstTy, TruncDstType, in optimizeExtendOrTruncateConversion()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 153 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | X86TargetTransformInfo.cpp | 232 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 D | AggressiveInstCombine.cpp | 374 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 D | ARMTargetTransformInfo.h | 236 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | ARMTargetTransformInfo.cpp | 474 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 D | TargetTransformInfo.h | 1322 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 D | TargetTransformInfoImpl.h | 582 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 D | TargetTransformInfo.cpp | 942 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 D | LoopVectorize.cpp | 6318 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 D | SLPVectorizer.cpp | 7491 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 D | ScalarEvolutionExpander.cpp | 1731 return TTI.getCastInstrCost(Opcode, S->getType(), in costAndCollectOperands()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.cpp | 2298 Cost += TTI.getCastInstrCost(CI->getOpcode(), CI->getType(), SrcTy, in chainToBasePointerCost()
|