Lines Matching refs:IsSExt

4378                               Instruction *ExtOpnd, bool IsSExt) {  in addPromotedInst()  argument
4379 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in addPromotedInst()
4400 Instruction *Opnd, bool IsSExt) { in getOrigType() argument
4401 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in getOrigType()
4420 const InstrToOrigTy &PromotedInsts, bool IsSExt);
4458 const TargetLowering &TLI, bool IsSExt);
4508 bool IsSExt) { in canGetThrough() argument
4520 if (IsSExt && isa<SExtInst>(Inst)) in canGetThrough()
4527 ((!IsSExt && BinOp->hasNoUnsignedWrap()) || in canGetThrough()
4528 (IsSExt && BinOp->hasNoSignedWrap()))) in canGetThrough()
4549 if (Inst->getOpcode() == Instruction::LShr && !IsSExt) in canGetThrough()
4594 const Type *OpndType = getOrigType(PromotedInsts, Opnd, IsSExt); in canGetThrough()
4597 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough()
4614 bool IsSExt = isa<SExtInst>(Ext); in getAction() local
4618 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt)) in getAction()
4637 return IsSExt ? signExtendOperandForOther : zeroExtendOperandForOther; in getAction()
4693 bool IsSExt) { in promoteOperandForOther() argument
4724 addPromotedInst(PromotedInsts, ExtOpnd, IsSExt); in promoteOperandForOther()
4744 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth) in promoteOperandForOther()
4757 Value *ValForExtOpnd = IsSExt in promoteOperandForOther()
6034 bool IsSExt = isa<SExtInst>(FirstUser); in hasSameExtUse() local
6038 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse()
6054 if (IsSExt) in hasSameExtUse()