Lines Matching refs:IsSExt

3430                               bool IsSExt) {  in addPromotedInst()  argument
3431 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in addPromotedInst()
3453 bool IsSExt) { in getOrigType() argument
3454 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in getOrigType()
3473 const InstrToOrigTy &PromotedInsts, bool IsSExt);
3511 const TargetLowering &TLI, bool IsSExt);
3561 bool IsSExt) { in canGetThrough() argument
3573 if (IsSExt && isa<SExtInst>(Inst)) in canGetThrough()
3580 ((!IsSExt && BinOp->hasNoUnsignedWrap()) || in canGetThrough()
3581 (IsSExt && BinOp->hasNoSignedWrap()))) in canGetThrough()
3602 if (Inst->getOpcode() == Instruction::LShr && !IsSExt) in canGetThrough()
3649 const Type *OpndType = getOrigType(PromotedInsts, Opnd, IsSExt); in canGetThrough()
3652 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough()
3669 bool IsSExt = isa<SExtInst>(Ext); in getAction() local
3673 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt)) in getAction()
3692 return IsSExt ? signExtendOperandForOther : zeroExtendOperandForOther; in getAction()
3748 bool IsSExt) { in promoteOperandForOther() argument
3779 addPromotedInst(PromotedInsts, ExtOpnd, IsSExt); in promoteOperandForOther()
3801 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth) in promoteOperandForOther()
3818 Value *ValForExtOpnd = IsSExt ? TPT.createSExt(Ext, Opnd, Ext->getType()) in promoteOperandForOther()
4893 bool IsSExt = isa<SExtInst>(FirstUser); in hasSameExtUse() local
4897 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse()
4913 if (IsSExt) in hasSameExtUse()