Lines Matching refs:Trunc
1362 auto *Trunc = dyn_cast<TruncInst>(I); in isOptimizableIVTruncate() local
1363 if (!Trunc) in isOptimizableIVTruncate()
1375 Value *Op = Trunc->getOperand(0); in isOptimizableIVTruncate()
3565 case Instruction::Trunc: in truncateToMinimalBitwidths()
3922 Value *Trunc = Builder.CreateTrunc(RdxParts[Part], RdxVecTy); in fixReduction() local
3923 Value *Extnd = RdxDesc.isSigned() ? Builder.CreateSExt(Trunc, VecTy) in fixReduction()
3924 : Builder.CreateZExt(Trunc, VecTy); in fixReduction()
3926 if (U != Trunc) { in fixReduction()
7166 case Instruction::Trunc: in getInstructionCost()
7197 if (Opcode == Instruction::Trunc || Opcode == Instruction::FPTrunc) { in getInstructionCost()
7213 auto *Trunc = cast<TruncInst>(I); in getInstructionCost() local
7214 return TTI.getCastInstrCost(Instruction::Trunc, Trunc->getDestTy(), in getInstructionCost()
7215 Trunc->getSrcTy(), CCH, CostKind, Trunc); in getInstructionCost()
7232 if (Opcode == Instruction::Trunc) { in getInstructionCost()
8327 case Instruction::Trunc: in tryToWiden()
9236 TruncInst *Trunc = getTruncInst(); in execute() local
9243 Instruction *EntryVal = Trunc ? cast<Instruction>(Trunc) : IV; in execute()
9265 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in execute()