Lines Matching refs:IsSExt

4047                               bool IsSExt) {  in addPromotedInst()  argument
4048 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in addPromotedInst()
4070 bool IsSExt) { in getOrigType() argument
4071 ExtType ExtTy = IsSExt ? SignExtension : ZeroExtension; in getOrigType()
4090 const InstrToOrigTy &PromotedInsts, bool IsSExt);
4128 const TargetLowering &TLI, bool IsSExt);
4178 bool IsSExt) { in canGetThrough() argument
4190 if (IsSExt && isa<SExtInst>(Inst)) in canGetThrough()
4197 ((!IsSExt && BinOp->hasNoUnsignedWrap()) || in canGetThrough()
4198 (IsSExt && BinOp->hasNoSignedWrap()))) in canGetThrough()
4219 if (Inst->getOpcode() == Instruction::LShr && !IsSExt) in canGetThrough()
4264 const Type *OpndType = getOrigType(PromotedInsts, Opnd, IsSExt); in canGetThrough()
4267 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough()
4284 bool IsSExt = isa<SExtInst>(Ext); in getAction() local
4288 if (!ExtOpnd || !canGetThrough(ExtOpnd, ExtTy, PromotedInsts, IsSExt)) in getAction()
4307 return IsSExt ? signExtendOperandForOther : zeroExtendOperandForOther; in getAction()
4363 bool IsSExt) { in promoteOperandForOther() argument
4394 addPromotedInst(PromotedInsts, ExtOpnd, IsSExt); in promoteOperandForOther()
4416 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth) in promoteOperandForOther()
4433 Value *ValForExtOpnd = IsSExt ? TPT.createSExt(Ext, Opnd, Ext->getType()) in promoteOperandForOther()
5681 bool IsSExt = isa<SExtInst>(FirstUser); in hasSameExtUse() local
5685 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse()
5701 if (IsSExt) in hasSameExtUse()