Lines Matching defs:IsSigned
653 bool IsSigned; // Was an sext user seen before a zext?
656 IsSigned(false) {}
665 bool IsSigned = Cast->getOpcode() == Instruction::SExt;
666 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
676 WI.IsSigned = IsSigned;
681 if (WI.IsSigned != IsSigned)
713 bool IsSigned;
736 IsSigned(WI.IsSigned),
751 Value *getExtend(Value *NarrowOper, Type *WideType, bool IsSigned,
777 Value *WidenIV::getExtend(Value *NarrowOper, Type *WideType, bool IsSigned,
787 return IsSigned ? Builder.CreateSExt(NarrowOper, WideType) :
817 getExtend(DU.NarrowUse->getOperand(0), WideType, IsSigned, DU.NarrowUse);
819 getExtend(DU.NarrowUse->getOperand(1), WideType, IsSigned, DU.NarrowUse);
853 if (IsSigned && OBO->hasNoSignedWrap())
856 else if(!IsSigned && OBO->hasNoUnsignedWrap())
892 const SCEV *WideExpr = IsSigned ?
939 if (IsSigned ? isa<SExtInst>(DU.NarrowUse) : isa<ZExtInst>(DU.NarrowUse)) {
1051 const SCEV *WideIVExpr = IsSigned ?