Lines Matching defs:IsSExt
4665 Instruction *ExtOpnd, bool IsSExt) {
4666 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension;
4687 Instruction *Opnd, bool IsSExt) {
4688 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension;
4698 /// The type of the extension is defined by \p IsSExt.
4707 const InstrToOrigTy &PromotedInsts, bool IsSExt);
4745 const TargetLowering &TLI, bool IsSExt);
4795 bool IsSExt) {
4807 if (IsSExt && isa<SExtInst>(Inst))
4814 ((!IsSExt && BinOp->hasNoUnsignedWrap()) ||
4815 (IsSExt && BinOp->hasNoSignedWrap())))
4836 if (Inst->getOpcode() == Instruction::LShr && !IsSExt)
4881 const Type *OpndType = getOrigType(PromotedInsts, Opnd, IsSExt);
4884 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd)))
4901 bool IsSExt = isa<SExtInst>(Ext);
4905 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt))
4924 return IsSExt ? signExtendOperandForOther : zeroExtendOperandForOther;
4980 bool IsSExt) {
5011 addPromotedInst(PromotedInsts, ExtOpnd, IsSExt);
5031 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth)
5044 Value *ValForExtOpnd = IsSExt
6319 bool IsSExt = isa<SExtInst>(FirstUser);
6323 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI)))
6330 // If IsSExt is true, we are in this situation:
6339 if (IsSExt)