Searched refs:CastCost (Results 1 – 3 of 3) sorted by relevance
1854 auto CastCost = [&](unsigned Opcode) -> InstructionCost { in costAndCollectOperands() local1886 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()
2386 InstructionCost CastCost = 0; in getArithmeticInstrCost() local2395 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()
15065 InstructionCost CastCost; in getTreeCost() local15077 CastCost += TTI->getCastInstrCost(Opcode, DstVecTy, SrcVecTy, CCH, in getTreeCost()15079 Cost += CastCost; in getTreeCost()15080 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << CastCost in getTreeCost()