Lines Matching refs:Cast
573 static void visitIVCast(CastInst *Cast, WideIVInfo &WI, ScalarEvolution *SE,
575 bool IsSigned = Cast->getOpcode() == Instruction::SExt;
576 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
579 Type *Ty = Cast->getType();
581 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width))
584 // Check that `Cast` actually extends the induction variable (we rely on this
585 // later). This takes care of cases where `Cast` is extending a truncation of
592 // Cast is either an sext or zext up to this point.
601 Cast->getOperand(0)->getType())) {
1622 void visitCast(CastInst *Cast) override { visitIVCast(Cast, WI, SE, TTI); }