Searched refs:CastCost (Results 1 – 2 of 2) sorted by relevance
1827 auto CastCost = [&](unsigned Opcode) -> InstructionCost { in costAndCollectOperands() local1859 Cost = CastCost(Instruction::PtrToInt); in costAndCollectOperands()1862 Cost = CastCost(Instruction::Trunc); in costAndCollectOperands()1865 Cost = CastCost(Instruction::ZExt); in costAndCollectOperands()1868 Cost = CastCost(Instruction::SExt); in costAndCollectOperands()
10759 InstructionCost CastCost; in getTreeCost() local 10771 CastCost += TTI->getCastInstrCost(Opcode, DstVecTy, SrcVecTy, CCH, in getTreeCost() 10773 Cost += CastCost; in getTreeCost() 10774 LLVM_DEBUG(dbgs() << "SLP: Adding cost " << CastCost in getTreeCost()