Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp2051 bool IsSRem = I.getOpcode() == Instruction::SRem; in simplifyIRemMulShl() local
2058 bool BO0NoWrap = IsSRem ? BO0HasNSW : BO0HasNUW; in simplifyIRemMulShl()
2060 APInt RemYZ = IsSRem ? Y.srem(Z) : Y.urem(Z); in simplifyIRemMulShl()
2081 bool BO1NoWrap = IsSRem ? BO1HasNSW : BO1HasNUW; in simplifyIRemMulShl()
2088 BO->setHasNoSignedWrap(IsSRem || BO0HasNSW); in simplifyIRemMulShl()
2089 BO->setHasNoUnsignedWrap(!IsSRem || BO0HasNUW); in simplifyIRemMulShl()
2096 if (Y.uge(Z) && (IsSRem ? (BO0HasNSW && BO1HasNSW) : BO0HasNUW)) { in simplifyIRemMulShl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp601 bool IsSRem = Bin->getOpcode() == Instruction::SRem; in eliminateIVUser() local
602 if (IsSRem || Bin->getOpcode() == Instruction::URem) { in eliminateIVUser()
603 simplifyIVRemainder(Bin, IVOperand, IsSRem); in eliminateIVUser()