reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/TargetTransformInfoImpl.h
   67     case Instruction::SDiv:
include/llvm/IR/InstrTypes.h
  369   DEFINE_HELPERS(SDiv, Exact)  // CreateExactSDiv
include/llvm/IR/Instruction.h
  156     return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
include/llvm/IR/Operator.h
  140     return OpC == Instruction::SDiv ||
  435   : public ConcreteOperator<PossiblyExactOperator, Instruction::SDiv> {
include/llvm/IR/PatternMatch.h
  844 inline BinaryOp_match<LHS, RHS, Instruction::SDiv> m_SDiv(const LHS &L,
  846   return BinaryOp_match<LHS, RHS, Instruction::SDiv>(L, R);
 1045     return Opcode == Instruction::SDiv || Opcode == Instruction::UDiv;
lib/Analysis/CFLGraph.h
  568       case Instruction::SDiv:
lib/Analysis/InstructionSimplify.cpp
 1016   bool IsSigned = Opcode == Instruction::SDiv;
 1116   return simplifyDiv(Instruction::SDiv, Op0, Op1, Q, MaxRecurse);
 2944     case Instruction::SDiv:
 4778   case Instruction::SDiv:
 5277   case Instruction::SDiv:
lib/Analysis/ObjCARCInstKind.cpp
  258     case Instruction::SDiv:
lib/Analysis/TargetTransformInfo.cpp
 1161   case Instruction::SDiv:
lib/Analysis/ValueTracking.cpp
 2402     case Instruction::SDiv: {
 3917   case Instruction::SDiv:
 4368     case Instruction::SDiv:
 5512   case Instruction::SDiv:
lib/AsmParser/LLLexer.cpp
  844   INSTKEYWORD(udiv,  UDiv); INSTKEYWORD(sdiv,  SDiv); INSTKEYWORD(fdiv,  FDiv);
lib/AsmParser/LLParser.cpp
 3470     } else if (Opc == Instruction::SDiv || Opc == Instruction::UDiv ||
 3489     case Instruction::SDiv:
lib/Bitcode/Reader/BitcodeReader.cpp
 1089     return IsFP ? Instruction::FDiv : Instruction::SDiv;
 2550           } else if (Opc == Instruction::SDiv ||
 3908         } else if (Opc == Instruction::SDiv ||
lib/Bitcode/Writer/BitcodeWriter.cpp
  538   case Instruction::SDiv: return bitc::BINOP_SDIV;
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2293   case Instruction::SDiv:
 2306     case Instruction::SDiv: return MCBinaryExpr::createDiv(LHS, RHS, Ctx);
lib/CodeGen/CodeGenPrepare.cpp
 6450     case Instruction::SDiv:
lib/CodeGen/SelectionDAG/FastISel.cpp
 1810   case Instruction::SDiv:
lib/CodeGen/TargetLoweringBase.cpp
 1599   case SDiv:           return ISD::SDIV;
lib/ExecutionEngine/ExecutionEngine.cpp
  785     case Instruction::SDiv:
  803           case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break;
lib/ExecutionEngine/Interpreter/Execution.cpp
  790     case Instruction::SDiv:  INTEGER_VECTOR_FUNCTION(sdiv) break;
  832     case Instruction::SDiv:  R.IntVal = Src1.IntVal.sdiv(Src2.IntVal); break;
 2081   case Instruction::SDiv: Dest.IntVal = Op0.IntVal.sdiv(Op1.IntVal); break;
lib/FuzzMutate/Operations.cpp
   22   Ops.push_back(binOpDescriptor(1, Instruction::SDiv));
  100   case Instruction::SDiv:
lib/IR/ConstantFold.cpp
 1022     case Instruction::SDiv:
 1114     case Instruction::SDiv:
 1235       case Instruction::SDiv:
 1270     case Instruction::SDiv:
 1359     case Instruction::SDiv:
lib/IR/ConstantRange.cpp
  789   case Instruction::SDiv:
lib/IR/Constants.cpp
  447   case Instruction::SDiv:
 1882   case Instruction::SDiv:
 2289   return get(Instruction::SDiv, C1, C2,
 2374     case Instruction::SDiv: // X / 1 = X
lib/IR/Instruction.cpp
  131   case Instruction::SDiv:
  319   case SDiv: return "sdiv";
lib/IR/Instructions.cpp
 2293   case SDiv:
lib/IR/Verifier.cpp
 3168   case Instruction::SDiv:
lib/Target/AArch64/AArch64FastISel.cpp
 5158   case Instruction::SDiv:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  109   case Instruction::SDiv:
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  220       I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem;
  287   if (I.getOpcode() == Instruction::SDiv ||
  744          Opc == Instruction::SRem || Opc == Instruction::SDiv);
  753   bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv;
  754   bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv;
  898        Opc == Instruction::SRem || Opc == Instruction::SDiv) &&
lib/Target/ARM/ARMCodeGenPrepare.cpp
  186   return Opc == Instruction::AShr || Opc == Instruction::SDiv ||
lib/Target/ARM/ARMFastISel.cpp
 2856     case Instruction::SDiv:
lib/Target/ARM/ARMTargetTransformInfo.cpp
  113   if ((Opcode == Instruction::SDiv || Opcode == Instruction::UDiv ||
lib/Target/Mips/MipsFastISel.cpp
 2045   case Instruction::SDiv:
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  447                 J->getOpcode() == Instruction::SDiv ||
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  163   case Instruction::SDiv:
  374       Opcode == Instruction::SDiv || Opcode == Instruction::SRem;
  934        UserI->getOpcode() == Instruction::SDiv ||
  959   case Instruction::SDiv:// SE: 32->64
lib/Target/X86/X86FastISel.cpp
 1927   case Instruction::SDiv: OpIndex = 0; break;
 3624   case Instruction::SDiv:
lib/Target/X86/X86TargetTransformInfo.cpp
 3013   case Instruction::SDiv:
lib/Target/XCore/XCoreLowerThreadLocal.cpp
   92     case Instruction::SDiv:
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2345   bool DivIsSigned = Div->getOpcode() == Instruction::SDiv;
 2859     case Instruction::SDiv:
 3986     case Instruction::SDiv:
lib/Transforms/InstCombine/InstCombineInternal.h
  271       case Instruction::SDiv: // 0 / X = 0
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  304                  Div->getOpcode() != Instruction::SDiv)) {
  312          Div->getOpcode() == Instruction::SDiv)) {
  682   bool IsSigned = I.getOpcode() == Instruction::SDiv;
lib/Transforms/InstCombine/InstCombineSelect.cpp
 2577     case Instruction::SDiv:
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1144     case Instruction::SDiv:
 1224     case Instruction::SDiv:
 1322     case Instruction::SDiv:
lib/Transforms/Instrumentation/PoisonChecking.cpp
  163   case Instruction::SDiv: {
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  622           if (BO->getOpcode() == Instruction::SDiv ||
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  863       case Instruction::SDiv:
lib/Transforms/Scalar/DivRemPairs.cpp
   66   M.Key.SignedOp = Div->getOpcode() == Instruction::SDiv;
   86             DivInst->getOpcode() == Instruction::SDiv) &&
   97   bool isSigned() const { return DivInst->getOpcode() == Instruction::SDiv; }
  129       if (I.getOpcode() == Instruction::SDiv)
lib/Transforms/Scalar/GVN.cpp
  504     case Instruction::SDiv:
lib/Transforms/Scalar/GVNSink.cpp
  452     case Instruction::SDiv:
lib/Transforms/Scalar/NewGVN.cpp
 2007     case Instruction::SDiv:
lib/Transforms/Scalar/SCCP.cpp
 1023   if (I.getOpcode() == Instruction::UDiv || I.getOpcode() == Instruction::SDiv)
 1570       case Instruction::SDiv:
lib/Transforms/Utils/BypassSlowDivision.cpp
   93     return SlowDivOrRem->getOpcode() == Instruction::SDiv ||
   98     return SlowDivOrRem->getOpcode() == Instruction::SDiv ||
  116   case Instruction::SDiv:
lib/Transforms/Utils/IntegerDivision.cpp
  434   assert((Div->getOpcode() == Instruction::SDiv ||
  446   if (Div->getOpcode() == Instruction::SDiv) {
  584   assert((Div->getOpcode() == Instruction::SDiv ||
  608   if (Div->getOpcode() == Instruction::SDiv) {
  632   assert((Div->getOpcode() == Instruction::SDiv ||
  657   if (Div->getOpcode() == Instruction::SDiv) {
lib/Transforms/Utils/Local.cpp
 1699     case Instruction::SDiv:
lib/Transforms/Utils/SimplifyIndVar.cpp
  629     if (Bin->getOpcode() == Instruction::SDiv)
lib/Transforms/Vectorize/LoopVectorize.cpp
 4053           I.getOpcode() == Instruction::SDiv ||
 4137   case Instruction::SDiv:
 4571   case Instruction::SDiv:
 6157   case Instruction::SDiv:
 6869     case Instruction::SDiv:
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2574     case Instruction::SDiv:
 3088     case Instruction::SDiv:
 3972     case Instruction::SDiv:
tools/lldb/source/Expression/IRInterpreter.cpp
  583       case Instruction::SDiv:
  700     case Instruction::SDiv:
  756       case Instruction::SDiv:
tools/llvm-stress/llvm-stress.cpp
  398     case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; }
tools/polly/lib/Support/SCEVAffinator.cpp
  497   assert(SDiv->getOpcode() == Instruction::SDiv && "Assumed SDiv instruction!");
  537     case Instruction::SDiv:
tools/polly/lib/Support/SCEVValidator.cpp
  408     assert(SDiv->getOpcode() == Instruction::SDiv &&
  451       case Instruction::SDiv:
  594                   Inst->getOpcode() != Instruction::SDiv))
tools/polly/lib/Support/ScopHelper.cpp
  312                   Inst->getOpcode() != Instruction::SDiv))
unittests/Transforms/Utils/CloningTest.cpp
  154   BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V);
unittests/Transforms/Utils/IntegerDivisionTest.cpp
   41   EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);
  162   EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);