| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 263 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 D | RISCVTargetTransformInfo.h | 101 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 928 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 D | SystemZTargetTransformInfo.cpp | 758 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 D | SystemZTargetTransformInfo.h | 102 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.h | 150 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | HexagonTargetTransformInfo.cpp | 285 InstructionCost HexagonTTIImpl::getCastInstrCost(unsigned Opcode, Type *DstTy, in getCastInstrCost() function in HexagonTTIImpl
|
| /llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 406 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 D | PPCTargetTransformInfo.h | 116 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | PPCTargetTransformInfo.cpp | 1035 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 D | AArch64TargetTransformInfo.h | 165 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | AArch64TargetTransformInfo.cpp | 1561 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 D | X86TargetTransformInfo.h | 141 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | X86TargetTransformInfo.cpp | 194 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 D | ARMTargetTransformInfo.h | 230 InstructionCost getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
|
| H A D | ARMTargetTransformInfo.cpp | 471 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 D | TargetTransformInfo.h | 1133 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 D | TargetTransformInfoImpl.h | 511 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 D | TargetTransformInfo.cpp | 826 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 D | LoopVectorize.cpp | 6562 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 D | SLPVectorizer.cpp | 5877 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 D | ScalarEvolutionExpander.cpp | 2109 return TTI.getCastInstrCost(Opcode, S->getType(), in costAndCollectOperands()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.cpp | 2273 Cost += TTI.getCastInstrCost(CI->getOpcode(), CI->getType(), SrcTy, in chainToBasePointerCost()
|