/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() 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/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandLargeDivRem.cpp | 54 return Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in isSigned() 97 case Instruction::SRem: { in runImpl()
|
H A D | TypePromotion.cpp | 204 Opc == Instruction::SRem || Opc == Instruction::SExt; in GenerateSignBits()
|
H A D | ExpandVectorPredication.cpp | 276 case Instruction::SRem: in expandPredicationInBinaryOperator()
|
/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 | 749 Instr->getOpcode() == Instruction::SRem); in narrowSDivOrSRem() 928 assert(SDI->getOpcode() == Instruction::SRem); in processSRem() 1044 Instr->getOpcode() == Instruction::SRem); in processSDivOrSRem() 1054 if (Instr->getOpcode() == Instruction::SRem) { in processSDivOrSRem() 1233 case Instruction::SRem: in runImpl()
|
H A D | GVNSink.cpp | 495 case Instruction::SRem: in lookupOrAdd()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanAnalysis.cpp | 97 case Instruction::SRem: in inferScalarTypeForRecipe() 163 case Instruction::SRem: in inferScalarTypeForRecipe()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
H A D | InstCombiner.h | 295 case Instruction::SRem: // X % 1 = 0 in getSafeVectorConstantForBinop() 313 case Instruction::SRem: // 0 % X = 0 in getSafeVectorConstantForBinop()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 674 case Instruction::SRem: in ConstantFoldBinaryInstruction() 745 case Instruction::SRem: in ConstantFoldBinaryInstruction() 831 case Instruction::SRem: in ConstantFoldBinaryInstruction() 861 case Instruction::SRem: in ConstantFoldBinaryInstruction() 973 case Instruction::SRem: in ConstantFoldBinaryInstruction()
|
/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()
|
H A D | IRMutator.cpp | 300 case Instruction::SRem: in mutate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 395 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned() 471 I.getOpcode() == Instruction::SRem || in promoteUniformOpToI32() 1377 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32() 1387 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() 1506 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64() 1536 if (Opc == Instruction::URem || Opc == Instruction::SRem) { in expandDivRem64() 1564 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 2620 BinaryOperator *SRem, in foldICmpSRemConstant() argument 2633 if (!SRem->hasOneUse()) in foldICmpSRemConstant() 2637 if (!match(SRem->getOperand(1), m_Power2(DivisorC))) in foldICmpSRemConstant() 2649 Type *Ty = SRem->getType(); in foldICmpSRemConstant() 2652 Value *And = Builder.CreateAnd(SRem->getOperand(0), MaskC); in foldICmpSRemConstant() 3474 case Instruction::SRem: in foldICmpBinOpEqualityWithConstant() 3823 case Instruction::SRem: in foldICmpBinOpWithConstant() 5228 BinaryOperator *SRem = nullptr; in foldICmpBinOp() local 5230 if (BO0 && BO0->getOpcode() == Instruction::SRem && Op1 == BO0->getOperand(1)) in foldICmpBinOp() 5231 SRem = BO0; in foldICmpBinOp() [all …]
|
H A D | InstCombineVectorOps.cpp | 1781 case Instruction::SRem: in canEvaluateShuffled() 1863 case Instruction::SRem: in buildNew() 1957 case Instruction::SRem: in evaluateInDifferentElementOrder()
|
/freebsd/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/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instruction.def | 157 HANDLE_BINARY_INST(23, SRem , BinaryOperator)
|
H A D | Instruction.h | 304 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 209 case Instruction::SRem: in getIntImmCostInst() 453 Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in getArithmeticInstrCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 569 case Instruction::SRem: 1248 case Instruction::SRem: in getInstructionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ObjCARCInstKind.cpp | 261 case Instruction::SRem: in GetARCInstKind()
|
/freebsd/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/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/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 863 INSTKEYWORD(urem, URem); INSTKEYWORD(srem, SRem); INSTKEYWORD(frem, FRem); in LexIdentifier()
|