| /freebsd-14.2/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() 457 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo32Bits() 482 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo32Bits() 506 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo64Bits() 528 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo64Bits()
|
| H A D | BypassSlowDivision.cpp | 92 SlowDivOrRem->getOpcode() == Instruction::SRem; in isSignedOp() 116 case Instruction::SRem: in FastDivInsertionTask()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandLargeDivRem.cpp | 54 return Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in isSigned() 73 case Instruction::SRem: { in runImpl()
|
| H A D | TypePromotion.cpp | 203 Opc == Instruction::SRem || Opc == Instruction::SExt; in GenerateSignBits()
|
| H A D | ExpandVectorPredication.cpp | 276 case Instruction::SRem: in expandPredicationInBinaryOperator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanAnalysis.cpp | 65 case Instruction::SRem: in inferScalarTypeForRecipe() 131 case Instruction::SRem: in inferScalarTypeForRecipe()
|
| /freebsd-14.2/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 | 684 Instr->getOpcode() == Instruction::SRem); in narrowSDivOrSRem() 866 assert(SDI->getOpcode() == Instruction::SRem); in processSRem() 982 Instr->getOpcode() == Instruction::SRem); in processSDivOrSRem() 995 if (Instr->getOpcode() == Instruction::SRem) { in processSDivOrSRem() 1163 case Instruction::SRem: in runImpl()
|
| H A D | GVNSink.cpp | 462 case Instruction::SRem: in lookupOrAdd()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 333 case Instruction::SRem: // X % 1 = 0 in getSafeVectorConstantForBinop() 351 case Instruction::SRem: // 0 % X = 0 in getSafeVectorConstantForBinop()
|
| /freebsd-14.2/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()
|
| H A D | IRMutator.cpp | 299 case Instruction::SRem: in mutate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 741 case Instruction::SRem: in ConstantFoldBinaryInstruction() 812 case Instruction::SRem: in ConstantFoldBinaryInstruction() 914 case Instruction::SRem: in ConstantFoldBinaryInstruction() 944 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1056 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1684 ConstantFoldBinaryInstruction(Instruction::SRem, CurrIdx, Factor); in ConstantFoldGetElementPtr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 393 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned() 469 I.getOpcode() == Instruction::SRem || in promoteUniformOpToI32() 1372 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32() 1382 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() 1501 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64() 1531 if (Opc == Instruction::URem || Opc == Instruction::SRem) { in expandDivRem64() 1559 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 2542 if (!SRem->hasOneUse()) in foldICmpSRemConstant() 2546 if (!match(SRem->getOperand(1), m_Power2(DivisorC))) in foldICmpSRemConstant() 2558 Type *Ty = SRem->getType(); in foldICmpSRemConstant() 2561 Value *And = Builder.CreateAnd(SRem->getOperand(0), MaskC); in foldICmpSRemConstant() 3365 case Instruction::SRem: in foldICmpBinOpEqualityWithConstant() 3711 case Instruction::SRem: in foldICmpBinOpWithConstant() 4897 BinaryOperator *SRem = nullptr; in foldICmpBinOp() local 4900 SRem = BO0; in foldICmpBinOp() 4902 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in foldICmpBinOp() 4904 SRem = BO1; in foldICmpBinOp() [all …]
|
| H A D | InstCombineVectorOps.cpp | 1773 case Instruction::SRem: in canEvaluateShuffled() 1855 case Instruction::SRem: in buildNew() 1949 case Instruction::SRem: in evaluateInDifferentElementOrder()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 626 case Instruction::SRem: in CanInterpret() 773 case Instruction::SRem: in Interpret() 847 case Instruction::SRem: in Interpret()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instruction.def | 157 HANDLE_BINARY_INST(23, SRem , BinaryOperator)
|
| H A D | Instruction.h | 269 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 205 case Instruction::SRem: in getIntImmCostInst() 449 Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in getArithmeticInstrCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 548 case Instruction::SRem: 1205 case Instruction::SRem: in getInstructionCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ObjCARCInstKind.cpp | 261 case Instruction::SRem: in GetARCInstKind()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 793 case Instruction::SRem: in getConstantValue() 811 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 398 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 794 case Instruction::SRem: INTEGER_VECTOR_FUNCTION(srem) break; in visitBinaryOperator() 836 case Instruction::SRem: R.IntVal = Src1.IntVal.srem(Src2.IntVal); break; in visitBinaryOperator() 2080 case Instruction::SRem: Dest.IntVal = Op0.IntVal.srem(Op1.IntVal); break; in getConstantExprValue()
|