Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1827 auto CastCost = [&](unsigned Opcode) -> InstructionCost { in costAndCollectOperands() local
1859 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp10759 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()