Home
last modified time | relevance | path

Searched refs:CastCost (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1854 auto CastCost = [&](unsigned Opcode) -> InstructionCost { in costAndCollectOperands() local
1886 Cost = CastCost(Instruction::PtrToInt); in costAndCollectOperands()
1889 Cost = CastCost(Instruction::Trunc); in costAndCollectOperands()
1892 Cost = CastCost(Instruction::ZExt); in costAndCollectOperands()
1895 Cost = CastCost(Instruction::SExt); in costAndCollectOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp2386 InstructionCost CastCost = 0; in getArithmeticInstrCost() local
2395 CastCost += LT.first * Args.size() * in getArithmeticInstrCost()
2399 CastCost += in getArithmeticInstrCost()
2471 return CastCost + ConstantMatCost + in getArithmeticInstrCost()
2482 return CastCost + ConstantMatCost + LT.first * InstrCost; in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp15065 InstructionCost CastCost; in getTreeCost() local
15077 CastCost += TTI->getCastInstrCost(Opcode, DstVecTy, SrcVecTy, CCH, in getTreeCost()
15079 Cost += CastCost; in getTreeCost()
15080 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << CastCost in getTreeCost()