Home
last modified time | relevance | path

Searched refs:URem (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp57 Value *URem = Builder.CreateURem(UDividend, UDivisor); in generateSignedRemainderCode() local
58 Value *Xored = Builder.CreateXor(URem, DividendSign); in generateSignedRemainderCode()
61 if (Instruction *URemInst = dyn_cast<Instruction>(URem)) in generateSignedRemainderCode()
356 Rem->getOpcode() == Instruction::URem) && in expandRemainder()
458 Rem->getOpcode() == Instruction::URem) && in expandRemainderUpTo32Bits()
507 Rem->getOpcode() == Instruction::URem) && in expandRemainderUpTo64Bits()
H A DSimplifyIndVar.cpp329 auto *URem = BinaryOperator::Create(BinaryOperator::URem, N, D, in replaceSRemWithURem() local
331 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem()
332 URem->setDebugLoc(Rem->getDebugLoc()); in replaceSRemWithURem()
602 if (IsSRem || Bin->getOpcode() == Instruction::URem) { in eliminateIVUser()
H A DBypassSlowDivision.cpp115 case Instruction::URem: in FastDivInsertionTask()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp796 Instr->getOpcode() == Instruction::URem); in expandUDivOrURem()
797 bool IsRem = Instr->getOpcode() == Instruction::URem; in expandUDivOrURem()
878 Instr->getOpcode() == Instruction::URem); in narrowUDivOrURem()
914 Instr->getOpcode() == Instruction::URem); in processUDivOrURem()
958 auto *URem = BinaryOperator::CreateURem(Ops[0].V, Ops[1].V, SDI->getName(), in processSRem() local
960 URem->setDebugLoc(SDI->getDebugLoc()); in processSRem()
962 auto *Res = URem; in processSRem()
975 processUDivOrURem(URem, LVI); in processSRem()
1238 case Instruction::URem: in runImpl()
H A DDivRemPairs.cpp107 case Instruction::URem: in isRemExpanded()
137 else if (I.getOpcode() == Instruction::URem) in getWorklist()
H A DGVNSink.cpp494 case Instruction::URem: in lookupOrAdd()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp67 case Instruction::URem: in getRelevantOperands()
146 case Instruction::URem: in buildTruncExpressionGraph()
330 I->getOpcode() == Instruction::URem) { in getBestTruncatedType()
436 case Instruction::URem: { in ReduceExpressionGraph()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp98 case Instruction::URem: in inferScalarTypeForRecipe()
164 case Instruction::URem: in inferScalarTypeForRecipe()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeDivRem.cpp96 case Instruction::URem: in runImpl()
H A DExpandVectorPredication.cpp275 case Instruction::URem: in expandPredicationInBinaryOperator()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h296 case Instruction::URem: // X %u 1 = 0 in getSafeVectorConstantForBinop()
314 case Instruction::URem: // 0 %u X = 0 in getSafeVectorConstantForBinop()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp673 case Instruction::URem: in ConstantFoldBinaryInstruction()
744 case Instruction::URem: in ConstantFoldBinaryInstruction()
828 case Instruction::URem: in ConstantFoldBinaryInstruction()
860 case Instruction::URem: in ConstantFoldBinaryInstruction()
972 case Instruction::URem: in ConstantFoldBinaryInstruction()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp25 Ops.push_back(binOpDescriptor(1, Instruction::URem)); in describeFuzzerIntOps()
128 case Instruction::URem: in binOpDescriptor()
H A DIRMutator.cpp301 case Instruction::URem: in mutate()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp631 case Instruction::URem: in CanInterpret()
774 case Instruction::URem: in Interpret()
852 case Instruction::URem: in Interpret()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.def156 HANDLE_BINARY_INST(22, URem , BinaryOperator)
H A DInstruction.h304 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp472 I.getOpcode() == Instruction::URem) in promoteUniformOpToI32()
1376 assert(Opc == Instruction::URem || Opc == Instruction::UDiv || in expandDivRem32()
1536 if (Opc == Instruction::URem || Opc == Instruction::SRem) { in expandDivRem64()
1563 if ((Opc == Instruction::URem || Opc == Instruction::UDiv || in visitBinaryOperator()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp208 case Instruction::URem: in getIntImmCostInst()
455 Opcode == Instruction::UDiv || Opcode == Instruction::URem; in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h571 case Instruction::URem:
1247 case Instruction::URem: in getInstructionCost()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp262 case Instruction::URem: in GetARCInstKind()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp792 case Instruction::URem: in getConstantValue()
810 case Instruction::URem:GV.IntVal = LHS.IntVal.urem(RHS.IntVal); break; in getConstantValue()
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp399 case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } in Act()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1780 case Instruction::URem: in canEvaluateShuffled()
1862 case Instruction::URem: in buildNew()
1956 case Instruction::URem: in evaluateInDifferentElementOrder()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp863 INSTKEYWORD(urem, URem); INSTKEYWORD(srem, SRem); INSTKEYWORD(frem, FRem); in LexIdentifier()

123