Home
last modified time | relevance | path

Searched refs:IsSRem (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp1895 bool IsSRem = I.getOpcode() == Instruction::SRem; in simplifyIRemMulShl() local
1902 bool BO0NoWrap = IsSRem ? BO0HasNSW : BO0HasNUW; in simplifyIRemMulShl()
1904 APInt RemYZ = IsSRem ? Y.srem(Z) : Y.urem(Z); in simplifyIRemMulShl()
1925 bool BO1NoWrap = IsSRem ? BO1HasNSW : BO1HasNUW; in simplifyIRemMulShl()
1932 BO->setHasNoSignedWrap(IsSRem || BO0HasNSW); in simplifyIRemMulShl()
1933 BO->setHasNoUnsignedWrap(!IsSRem || BO0HasNUW); in simplifyIRemMulShl()
1940 if (Y.uge(Z) && (IsSRem ? (BO0HasNSW && BO1HasNSW) : BO0HasNUW)) { in simplifyIRemMulShl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp587 bool IsSRem = Bin->getOpcode() == Instruction::SRem; in eliminateIVUser() local
588 if (IsSRem || Bin->getOpcode() == Instruction::URem) { in eliminateIVUser()
589 simplifyIVRemainder(Bin, IVOperand, IsSRem); in eliminateIVUser()