| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 59 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() local 64 return SRem; in generateSignedRemainderCode() 355 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder() 364 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder() 456 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo32Bits() 481 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo32Bits() 505 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo64Bits() 527 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo64Bits()
|
| H A D | BypassSlowDivision.cpp | 91 SlowDivOrRem->getOpcode() == Instruction::SRem; in isSignedOp() 115 case Instruction::SRem: in FastDivInsertionTask()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandLargeDivRem.cpp | 53 return Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in isSigned() 96 case Instruction::SRem: { in runImpl()
|
| H A D | ExpandVectorPredication.cpp | 254 case Instruction::SRem: in expandPredicationInBinaryOperator()
|
| H A D | TypePromotion.cpp | 204 Opc == Instruction::SRem || Opc == Instruction::SExt; in GenerateSignBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | DivRemPairs.cpp | 106 case Instruction::SRem: in isRemExpanded() 135 else if (I.getOpcode() == Instruction::SRem) in getWorklist()
|
| H A D | CorrelatedValuePropagation.cpp | 771 Instr->getOpcode() == Instruction::SRem); in narrowSDivOrSRem() 948 assert(SDI->getOpcode() == Instruction::SRem); in processSRem() 1064 Instr->getOpcode() == Instruction::SRem); in processSDivOrSRem() 1074 if (Instr->getOpcode() == Instruction::SRem) { in processSDivOrSRem() 1286 case Instruction::SRem: in runImpl()
|
| H A D | GVNSink.cpp | 414 case Instruction::SRem: in lookupOrAdd()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 291 case Instruction::SRem: // X % 1 = 0 in getSafeVectorConstantForBinop() 309 case Instruction::SRem: // 0 % X = 0 in getSafeVectorConstantForBinop()
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 24 Ops.push_back(binOpDescriptor(1, Instruction::SRem)); in describeFuzzerIntOps() 127 case Instruction::SRem: in binOpDescriptor()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 401 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned() 476 I.getOpcode() == Instruction::SRem || in promoteUniformOpToI32() 1394 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32() 1404 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() 1522 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64() 1552 if (Opc == Instruction::URem || Opc == Instruction::SRem) { in expandDivRem64() 1657 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Values.def | 103 OP(SRem) \
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 669 case Instruction::SRem: in ConstantFoldBinaryInstruction() 740 case Instruction::SRem: in ConstantFoldBinaryInstruction() 820 case Instruction::SRem: in ConstantFoldBinaryInstruction() 949 case Instruction::SRem: in ConstantFoldBinaryInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/ |
| H A D | Legality.cpp | 138 case Instruction::Opcode::SRem: in notVectorizableBasedOnOpcodesAndTypes()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 2670 BinaryOperator *SRem, in foldICmpSRemConstant() argument 2681 if (!match(SRem->getOperand(1), m_APInt(DivisorC))) in foldICmpSRemConstant() 2697 Type *Ty = SRem->getType(); in foldICmpSRemConstant() 2699 return new ICmpInst(ICmpInst::ICMP_SLT, SRem, in foldICmpSRemConstant() 2701 return new ICmpInst(ICmpInst::ICMP_SGT, SRem, in foldICmpSRemConstant() 2714 if (!SRem->hasOneUse()) in foldICmpSRemConstant() 2718 if (!match(SRem->getOperand(1), m_Power2(DivisorC))) in foldICmpSRemConstant() 2730 Type *Ty = SRem->getType(); in foldICmpSRemConstant() 2733 Value *And = Builder.CreateAnd(SRem->getOperand(0), MaskC); in foldICmpSRemConstant() 3621 case Instruction::SRem: in foldICmpBinOpEqualityWithConstant() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 622 case Instruction::SRem: in CanInterpret() 770 case Instruction::SRem: in Interpret() 842 case Instruction::SRem: in Interpret()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.def | 157 HANDLE_BINARY_INST(23, SRem , BinaryOperator)
|
| H A D | Instruction.h | 343 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ObjCARCInstKind.cpp | 261 case Instruction::SRem: in GetARCInstKind()
|
| H A D | HashRecognize.cpp | 168 case Instruction::BinaryOps::SRem: in computeBinOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/ |
| H A D | BottomUpVec.cpp | 130 case Instruction::Opcode::SRem: in createVectorInstr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 288 case Instruction::SRem: in getIntImmCostInst() 569 Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in getArithmeticInstrCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 792 case Instruction::SRem: in getConstantValue() 810 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 685 case Instruction::SRem: 1421 case Instruction::SRem: in getInstructionCost()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 386 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
|