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

References

include/llvm/Analysis/TargetTransformInfoImpl.h
   70     case Instruction::URem:
include/llvm/CodeGen/BasicTTIImpl.h
 1148         Cost += ConcreteTTI->getArithmeticInstrCost(BinaryOperator::URem, RetTy,
include/llvm/IR/IRBuilder.h
 1213     if (Value *V = foldConstant(Instruction::URem, LHS, RHS, Name)) return V;
include/llvm/IR/Instruction.h
  156     return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
include/llvm/IR/PatternMatch.h
  856 inline BinaryOp_match<LHS, RHS, Instruction::URem> m_URem(const LHS &L,
  858   return BinaryOp_match<LHS, RHS, Instruction::URem>(L, R);
 1051     return Opcode == Instruction::SRem || Opcode == Instruction::URem;
lib/Analysis/CFLGraph.h
  570       case Instruction::URem:
lib/Analysis/InstructionSimplify.cpp
 1077       (Opcode == Instruction::URem &&
 1085        (Opcode == Instruction::URem &&
 1159   return simplifyRem(Instruction::URem, Op0, Op1, Q, MaxRecurse);
 4784   case Instruction::URem:
 5290   case Instruction::URem:
lib/Analysis/ObjCARCInstKind.cpp
  262     case Instruction::URem:
lib/Analysis/ScalarEvolution.cpp
 4512   case Instruction::URem:
 6238     case Instruction::URem:
lib/Analysis/TargetTransformInfo.cpp
 1163   case Instruction::URem:
lib/Analysis/ValueTracking.cpp
 1267   case Instruction::URem: {
 3910   case Instruction::URem: {
 4369     case Instruction::URem:
 5562   case Instruction::URem:
lib/AsmParser/LLLexer.cpp
  845   INSTKEYWORD(urem,  URem); INSTKEYWORD(srem,  SRem); INSTKEYWORD(frem,  FRem);
lib/AsmParser/LLParser.cpp
 3490     case Instruction::URem:
lib/Bitcode/Reader/BitcodeReader.cpp
 1091     return IsFP ? -1 : Instruction::URem;
lib/Bitcode/Writer/BitcodeWriter.cpp
  539   case Instruction::URem: return bitc::BINOP_UREM;
lib/CodeGen/CodeGenPrepare.cpp
 6453     case Instruction::URem:
lib/CodeGen/SelectionDAG/FastISel.cpp
 1818   case Instruction::URem:
lib/CodeGen/TargetLoweringBase.cpp
 1601   case URem:           return ISD::UREM;
lib/ExecutionEngine/ExecutionEngine.cpp
  786     case Instruction::URem:
  804           case Instruction::URem:GV.IntVal = LHS.IntVal.urem(RHS.IntVal); break;
lib/ExecutionEngine/Interpreter/Execution.cpp
  791     case Instruction::URem:  INTEGER_VECTOR_FUNCTION(urem) break;
  833     case Instruction::URem:  R.IntVal = Src1.IntVal.urem(Src2.IntVal); break;
 2083   case Instruction::URem: Dest.IntVal = Op0.IntVal.urem(Op1.IntVal); break;
lib/FuzzMutate/Operations.cpp
   25   Ops.push_back(binOpDescriptor(1, Instruction::URem));
  103   case Instruction::URem:
lib/IR/ConstantFold.cpp
 1033     case Instruction::URem:
 1120     case Instruction::URem:
 1240       case Instruction::URem:
 1272     case Instruction::URem:
 1364     case Instruction::URem:
lib/IR/ConstantRange.cpp
  791   case Instruction::URem:
lib/IR/Constants.cpp
  448   case Instruction::URem:
 1883   case Instruction::URem:
 2298   return get(Instruction::URem, C1, C2);
lib/IR/Instruction.cpp
  321   case URem: return "urem";
lib/IR/Instructions.cpp
 2305   case URem:
lib/IR/Verifier.cpp
 3171   case Instruction::URem:
lib/Target/AArch64/AArch64FastISel.cpp
 5164   case Instruction::URem:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  110   case Instruction::URem:
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  290       I.getOpcode() == Instruction::URem)
  743   assert(Opc == Instruction::URem || Opc == Instruction::UDiv ||
  897   if ((Opc == Instruction::URem || Opc == Instruction::UDiv ||
lib/Target/ARM/ARMFastISel.cpp
 2862     case Instruction::URem:
lib/Target/ARM/ARMTargetTransformInfo.cpp
  114        Opcode == Instruction::SRem || Opcode == Instruction::URem) &&
lib/Target/Mips/MipsFastISel.cpp
 2057   case Instruction::URem:
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  448                 J->getOpcode() == Instruction::URem ||
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  164   case Instruction::URem:
  376       Opcode == Instruction::UDiv || Opcode == Instruction::URem;
lib/Target/X86/X86FastISel.cpp
 1930   case Instruction::URem: OpIndex = 3; break;
 1986        I->getOpcode() == Instruction::URem) &&
 3627   case Instruction::URem:
lib/Target/X86/X86InstructionSelector.cpp
 1688        I.getOpcode() == Instruction::URem) &&
lib/Target/X86/X86TargetTransformInfo.cpp
 3014   case Instruction::URem:
lib/Target/XCore/XCoreLowerThreadLocal.cpp
   94     case Instruction::URem:
lib/Transforms/InstCombine/InstCombineCasts.cpp
  186   case Instruction::URem: {
  362   case Instruction::URem: {
lib/Transforms/InstCombine/InstCombineInternal.h
  257       case Instruction::URem: // X %u 1 = 0
  274       case Instruction::URem: // 0 %u X = 0
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  322       auto RemOpc = Div->getOpcode() == Instruction::UDiv ? Instruction::URem
 1326             (I.getOpcode() == Instruction::URem ||
lib/Transforms/InstCombine/InstCombineSelect.cpp
 2576     case Instruction::URem:
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  644   case Instruction::URem: {
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1145     case Instruction::URem:
 1226     case Instruction::URem:
 1324     case Instruction::URem:
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  621          Instr->getOpcode() == Instruction::URem);
  867       case Instruction::URem:
lib/Transforms/Scalar/DivRemPairs.cpp
  106     case Instruction::URem:
  135       else if (I.getOpcode() == Instruction::URem)
lib/Transforms/Scalar/GVN.cpp
  506     case Instruction::URem:
lib/Transforms/Scalar/GVNSink.cpp
  454     case Instruction::URem:
lib/Transforms/Scalar/NewGVN.cpp
 2009     case Instruction::URem:
lib/Transforms/Scalar/SCCP.cpp
 1573       case Instruction::URem:
lib/Transforms/Utils/BypassSlowDivision.cpp
  117   case Instruction::URem:
lib/Transforms/Utils/IntegerDivision.cpp
  377           Rem->getOpcode() == Instruction::URem) &&
  487           Rem->getOpcode() == Instruction::URem) &&
  536           Rem->getOpcode() == Instruction::URem) &&
lib/Transforms/Utils/SimplifyIndVar.cpp
  322   auto *URem = BinaryOperator::Create(BinaryOperator::URem, N, D,
  624     if (IsSRem || Bin->getOpcode() == Instruction::URem) {
lib/Transforms/Vectorize/LoopVectorize.cpp
 4054           I.getOpcode() == Instruction::URem ||
 4139   case Instruction::URem:
 4573   case Instruction::URem:
 6158   case Instruction::URem:
 6880     case Instruction::URem:
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2576     case Instruction::URem:
 3090     case Instruction::URem:
 3974     case Instruction::URem:
tools/lldb/source/Expression/IRInterpreter.cpp
  591       case Instruction::URem:
  703     case Instruction::URem:
  771       case Instruction::URem:
tools/llvm-stress/llvm-stress.cpp
  401     case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; }
unittests/Transforms/Utils/IntegerDivisionTest.cpp
  131   EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem);
  252   EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem);