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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h148 unsigned getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DHexagonTargetTransformInfo.cpp272 unsigned HexagonTTIImpl::getCastInstrCost(unsigned Opcode, Type *DstTy, function in class:HexagonTTIImpl
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h105 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DPPCTargetTransformInfo.cpp215 // We already implement getCastInstrCost and getMemoryOpCost where we perform
798 int PPCTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, function in class:PPCTTIImpl
803 int Cost = BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h95 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DSystemZTargetTransformInfo.cpp701 int SystemZTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, function in class:SystemZTTIImpl
706 int BaseCost = BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I);
789 unsigned ScalarCost = getCastInstrCost(Opcode, Dst->getScalarType(),
831 return BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h657 // similarly to what getCastInstrCost() does.
693 unsigned getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, function in class:llvm::BasicTTIImplBase
696 if (BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I) == 0)
817 (2 * TTI->getCastInstrCost(Opcode, SplitDstTy, SplitSrcTy,
824 unsigned Cost = thisT()->getCastInstrCost(
849 thisT()->getCastInstrCost(Opcode, Dst, VecTy->getElementType(),
885 // similarly to what getCastInstrCost() does.
1482 Cost += 2 * thisT()->getCastInstrCost(ExtOp, ExtTy, RetTy, CostKind);
1485 Cost += 2 * thisT()->getCastInstrCost(Instruction::Trunc, RetTy, ExtTy,
1547 Cost += 2 * thisT()->getCastInstrCost(ExtO
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp272 int AArch64TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, function in class:AArch64TTIImpl
309 return AdjustCost(BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I));
413 return AdjustCost(BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I));
445 return Cost + getCastInstrCost(Opcode, Dst, Src, CostKind);
450 return Cost + getCastInstrCost(Opcode, Dst, Src, CostKind);
469 return Cost + getCastInstrCost(Opcode, Dst, Src, CostKind);
H A DAArch64TargetTransformInfo.h116 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h209 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DARMTargetTransformInfo.cpp171 int ARMTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, function in class:ARMTTIImpl
188 return AdjustCost(BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I));
543 BaseCost * BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h131 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
H A DX86TargetTransformInfo.cpp1369 int X86TTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, function in class:X86TTIImpl
1991 return AdjustCost(BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind));
2052 return AdjustCost(BaseT::getCastInstrCost(Opcode, Dst, Src, CostKind, I));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1002 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1420 virtual int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1828 int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,
1831 return Impl.getCastInstrCost(Opcode, Dst, Src, CostKind, I);
H A DTargetTransformInfoImpl.h405 unsigned getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, function in class:llvm::TargetTransformInfoImplBase
898 return TargetTTI->getCastInstrCost(Opcode, Ty, OpTy, CostKind, I);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp710 int TargetTransformInfo::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, function in class:TargetTransformInfo
715 int Cost = TTIImpl->getCastInstrCost(Opcode, Dst, Src, CostKind, I);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3401 DeadCost += TTI->getCastInstrCost(
3427 TTI->getCastInstrCost(E->getOpcode(), ScalarTy, SrcTy, CostKind,
3441 TTI->getCastInstrCost(E->getOpcode(), VecTy, SrcVecTy,
3646 VecCost = TTI->getCastInstrCost(E->getOpcode(), VecTy, Src0Ty,
3648 VecCost += TTI->getCastInstrCost(E->getAltOpcode(), VecTy, Src1Ty,
H A DLoopVectorize.cpp6410 return TTI.getCastInstrCost(Instruction::Trunc, Trunc->getDestTy(),
6437 return N * TTI.getCastInstrCost(I->getOpcode(), VectorTy, SrcVecTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2027 Cost += TTI.getCastInstrCost(CI->getOpcode(), CI->getType(), SrcTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp2183 BudgetRemaining -= TTI.getCastInstrCost(Opcode, /*Dst=*/S->getType(),

Completed in 394 milliseconds