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

References

include/llvm/Analysis/TargetTransformInfoImpl.h
   69     case Instruction::UDiv:
include/llvm/IR/InstrTypes.h
  370   DEFINE_HELPERS(UDiv, Exact)  // CreateExactUDiv
include/llvm/IR/Instruction.h
  156     return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
include/llvm/IR/Operator.h
  141            OpC == Instruction::UDiv ||
  438   : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
include/llvm/IR/PatternMatch.h
  838 inline BinaryOp_match<LHS, RHS, Instruction::UDiv> m_UDiv(const LHS &L,
  840   return BinaryOp_match<LHS, RHS, Instruction::UDiv>(L, R);
 1045     return Opcode == Instruction::SDiv || Opcode == Instruction::UDiv;
lib/Analysis/CFLGraph.h
  567       case Instruction::UDiv:
lib/Analysis/InstructionSimplify.cpp
 1127   return simplifyDiv(Instruction::UDiv, Op0, Op1, Q, MaxRecurse);
 2935     case Instruction::UDiv:
 4780   case Instruction::UDiv:
 5280   case Instruction::UDiv:
lib/Analysis/ObjCARCInstKind.cpp
  259     case Instruction::UDiv:
lib/Analysis/ScalarEvolution.cpp
 4511   case Instruction::UDiv:
 4540         return BinaryOp(Instruction::UDiv, Op->getOperand(0), X);
 6236     case Instruction::UDiv:
lib/Analysis/ScalarEvolutionExpander.cpp
  868   return InsertBinop(Instruction::UDiv, LHS, RHS, SCEV::FlagAnyWrap,
lib/Analysis/TargetTransformInfo.cpp
 1160   case Instruction::UDiv:
lib/Analysis/ValueTracking.cpp
 1041   case Instruction::UDiv: {
 3909   case Instruction::UDiv:
 4367     case Instruction::UDiv:
 5544   case Instruction::UDiv:
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 ||
 3488     case Instruction::UDiv:
lib/Bitcode/Reader/BitcodeReader.cpp
 1087     return IsFP ? -1 : Instruction::UDiv;
 2551                      Opc == Instruction::UDiv ||
 3909                    Opc == Instruction::UDiv ||
lib/Bitcode/Writer/BitcodeWriter.cpp
  536   case Instruction::UDiv: return bitc::BINOP_UDIV;
lib/CodeGen/CodeGenPrepare.cpp
 6451     case Instruction::UDiv:
lib/CodeGen/SelectionDAG/FastISel.cpp
 1812   case Instruction::UDiv:
lib/CodeGen/TargetLoweringBase.cpp
 1598   case UDiv:           return ISD::UDIV;
lib/ExecutionEngine/ExecutionEngine.cpp
  784     case Instruction::UDiv:
  802           case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break;
lib/ExecutionEngine/Interpreter/Execution.cpp
  789     case Instruction::UDiv:  INTEGER_VECTOR_FUNCTION(udiv) break;
  831     case Instruction::UDiv:  R.IntVal = Src1.IntVal.udiv(Src2.IntVal); break;
 2082   case Instruction::UDiv: Dest.IntVal = Op0.IntVal.udiv(Op1.IntVal); break;
lib/FuzzMutate/Operations.cpp
   23   Ops.push_back(binOpDescriptor(1, Instruction::UDiv));
  101   case Instruction::UDiv:
lib/IR/ConstantFold.cpp
 1023     case Instruction::UDiv:
 1113     case Instruction::UDiv:
 1232       case Instruction::UDiv:
 1271     case Instruction::UDiv:
 1360     case Instruction::UDiv:
lib/IR/ConstantRange.cpp
  787   case Instruction::UDiv:
lib/IR/Constants.cpp
  446   case Instruction::UDiv:
 1881   case Instruction::UDiv:
 2284   return get(Instruction::UDiv, C1, C2,
 2375     case Instruction::UDiv: // X /u 1 = X
lib/IR/Instruction.cpp
  130   case Instruction::UDiv:
  318   case UDiv: return "udiv";
lib/IR/Instructions.cpp
 2292   case UDiv:
lib/IR/Verifier.cpp
 3169   case Instruction::UDiv:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  108   case Instruction::UDiv:
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  288       I.getOpcode() == Instruction::UDiv ||
  743   assert(Opc == Instruction::URem || Opc == Instruction::UDiv ||
  753   bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv;
  897   if ((Opc == Instruction::URem || Opc == Instruction::UDiv ||
lib/Target/ARM/ARMFastISel.cpp
 2858     case Instruction::UDiv:
lib/Target/ARM/ARMTargetTransformInfo.cpp
  113   if ((Opcode == Instruction::SDiv || Opcode == Instruction::UDiv ||
lib/Target/Mips/MipsFastISel.cpp
 2049   case Instruction::UDiv:
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  446                (J->getOpcode() == Instruction::UDiv ||
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  162   case Instruction::UDiv:
  376       Opcode == Instruction::UDiv || Opcode == Instruction::URem;
  935        UserI->getOpcode() == Instruction::UDiv) &&
  963   case Instruction::UDiv:
lib/Target/X86/X86FastISel.cpp
 1929   case Instruction::UDiv: OpIndex = 2; break;
 3625   case Instruction::UDiv:
lib/Target/X86/X86TargetTransformInfo.cpp
 3012   case Instruction::UDiv:
lib/Target/XCore/XCoreLowerThreadLocal.cpp
   91     case Instruction::UDiv:
lib/Transforms/InstCombine/InstCombineCasts.cpp
  185   case Instruction::UDiv:
  361   case Instruction::UDiv:
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2855     case Instruction::UDiv:
 3010   case Instruction::UDiv:
 3980     case Instruction::UDiv:
lib/Transforms/InstCombine/InstCombineInternal.h
  272       case Instruction::UDiv: // 0 /u X = 0
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  303     if (!Div || (Div->getOpcode() != Instruction::UDiv &&
  311         (Div->getOpcode() == Instruction::UDiv ||
  322       auto RemOpc = Div->getOpcode() == Instruction::UDiv ? Instruction::URem
lib/Transforms/InstCombine/InstCombineSelect.cpp
 2578     case Instruction::UDiv:
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  579   case Instruction::UDiv: {
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1143     case Instruction::UDiv:
 1223     case Instruction::UDiv:
 1321     case Instruction::UDiv:
lib/Transforms/Instrumentation/PoisonChecking.cpp
  154   case Instruction::UDiv: {
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  623               BO->getOpcode() == Instruction::UDiv)
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  620   assert(Instr->getOpcode() == Instruction::UDiv ||
  651     if (BinOp->getOpcode() == Instruction::UDiv)
  866       case Instruction::UDiv:
lib/Transforms/Scalar/DivRemPairs.cpp
   85     assert((DivInst->getOpcode() == Instruction::UDiv ||
  131       else if (I.getOpcode() == Instruction::UDiv)
lib/Transforms/Scalar/GVN.cpp
  503     case Instruction::UDiv:
lib/Transforms/Scalar/GVNSink.cpp
  451     case Instruction::UDiv:
lib/Transforms/Scalar/IndVarSimplify.cpp
 1095   case Instruction::UDiv:
 1193     case Instruction::UDiv:
lib/Transforms/Scalar/NewGVN.cpp
 2006     case Instruction::UDiv:
lib/Transforms/Scalar/SCCP.cpp
 1023   if (I.getOpcode() == Instruction::UDiv || I.getOpcode() == Instruction::SDiv)
 1571       case Instruction::UDiv:
lib/Transforms/Utils/BypassSlowDivision.cpp
   99            SlowDivOrRem->getOpcode() == Instruction::UDiv;
  115   case Instruction::UDiv:
lib/Transforms/Utils/IntegerDivision.cpp
  418     assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?");
  435           Div->getOpcode() == Instruction::UDiv) &&
  585           Div->getOpcode() == Instruction::UDiv) &&
  633           Div->getOpcode() == Instruction::UDiv) &&
lib/Transforms/Utils/SimplifyIndVar.cpp
  116   case Instruction::UDiv:
  305         BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1),
lib/Transforms/Vectorize/LoopVectorize.cpp
 4052   assert((I.getOpcode() == Instruction::UDiv ||
 4136   case Instruction::UDiv:
 4570   case Instruction::UDiv:
 6156   case Instruction::UDiv:
 6878     case Instruction::UDiv:
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2573     case Instruction::UDiv:
 3087     case Instruction::UDiv:
 3971     case Instruction::UDiv:
tools/lldb/source/Expression/IRInterpreter.cpp
  590       case Instruction::UDiv:
  701     case Instruction::UDiv:
  761       case Instruction::UDiv:
tools/llvm-stress/llvm-stress.cpp
  399     case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; }
unittests/Transforms/Utils/IntegerDivisionTest.cpp
   71   EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
  192   EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);