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.cpp2311 bool IsSRem = I.getOpcode() == Instruction::SRem; in simplifyIRemMulShl() local
2318 bool BO0NoWrap = IsSRem ? BO0HasNSW : BO0HasNUW; in simplifyIRemMulShl()
2320 APInt RemYZ = IsSRem ? Y.srem(Z) : Y.urem(Z); in simplifyIRemMulShl()
2341 bool BO1NoWrap = IsSRem ? BO1HasNSW : BO1HasNUW; in simplifyIRemMulShl()
2348 BO->setHasNoSignedWrap(IsSRem || BO0HasNSW); in simplifyIRemMulShl()
2349 BO->setHasNoUnsignedWrap(!IsSRem || BO0HasNUW); in simplifyIRemMulShl()
2356 if (Y.uge(Z) && (IsSRem ? (BO0HasNSW && BO1HasNSW) : BO0HasNUW)) { in simplifyIRemMulShl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp603 bool IsSRem = Bin->getOpcode() == Instruction::SRem; in eliminateIVUser() local
604 if (IsSRem || Bin->getOpcode() == Instruction::URem) { in eliminateIVUser()
605 simplifyIVRemainder(Bin, IVOperand, IsSRem); in eliminateIVUser()