Home
last modified time | relevance | path

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

12345678

/external/llvm-project/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp63 Value *URem = Builder.CreateURem(UDividend, UDivisor); in generateSignedRemainderCode() local
64 Value *Xored = Builder.CreateXor(URem, DividendSign); in generateSignedRemainderCode()
67 if (Instruction *URemInst = dyn_cast<Instruction>(URem)) in generateSignedRemainderCode()
377 Rem->getOpcode() == Instruction::URem) && in expandRemainder()
487 Rem->getOpcode() == Instruction::URem) && in expandRemainderUpTo32Bits()
536 Rem->getOpcode() == Instruction::URem) && in expandRemainderUpTo64Bits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp63 Value *URem = Builder.CreateURem(UDividend, UDivisor); in generateSignedRemainderCode() local
64 Value *Xored = Builder.CreateXor(URem, DividendSign); in generateSignedRemainderCode()
67 if (Instruction *URemInst = dyn_cast<Instruction>(URem)) in generateSignedRemainderCode()
377 Rem->getOpcode() == Instruction::URem) && in expandRemainder()
487 Rem->getOpcode() == Instruction::URem) && in expandRemainderUpTo32Bits()
536 Rem->getOpcode() == Instruction::URem) && in expandRemainderUpTo64Bits()
DSimplifyIndVar.cpp322 auto *URem = BinaryOperator::Create(BinaryOperator::URem, N, D, in replaceSRemWithURem() local
324 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem()
624 if (IsSRem || Bin->getOpcode() == Instruction::URem) { in eliminateIVUser()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp64 Value *URem = Builder.CreateURem(UDividend, UDivisor); in generateSignedRemainderCode() local
65 Value *Xored = Builder.CreateXor(URem, DividendSign); in generateSignedRemainderCode()
68 if (Instruction *URemInst = dyn_cast<Instruction>(URem)) in generateSignedRemainderCode()
378 Rem->getOpcode() == Instruction::URem) && in expandRemainder()
488 Rem->getOpcode() == Instruction::URem) && in expandRemainderUpTo32Bits()
537 Rem->getOpcode() == Instruction::URem) && in expandRemainderUpTo64Bits()
DBypassSlowDivision.cpp223 bool UseRemOp = Opcode == Instruction::SRem || Opcode == Instruction::URem; in bypassSlowDivision()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DIntegerDivisionTest.cpp112 TEST(IntegerDivision, URem) { in TEST() argument
131 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem); in TEST()
252 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem); in TEST()
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp113 TEST(IntegerDivision, URem) { in TEST() argument
132 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem); in TEST()
253 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem); in TEST()
/external/llvm-project/llvm/test/Transforms/CodeGenPrepare/NVPTX/
Dbypass-slow-div.ll84 ; URem version of udiv_by_constant_negative_0
95 ; URem version of udiv_by_constant_negative_1
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp107 case Instruction::URem: in isRemExpanded()
136 else if (I.getOpcode() == Instruction::URem) in getWorklist()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp676 Instr->getOpcode() == Instruction::URem); in processUDivOrURem()
748 auto *URem = in processSRem() local
750 URem->setDebugLoc(SDI->getDebugLoc()); in processSRem()
752 Value *Res = URem; in processSRem()
762 processUDivOrURem(URem, LVI); in processSRem()
1003 case Instruction::URem: in runImpl()
DDivRemPairs.cpp109 case Instruction::URem: in isRemExpanded()
139 else if (I.getOpcode() == Instruction::URem) in getWorklist()
/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h305 case Instruction::URem: // X %u 1 = 0 in getSafeVectorConstantForBinop()
323 case Instruction::URem: // 0 %u X = 0 in getSafeVectorConstantForBinop()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp165 case Instruction::URem: in getIntImmCost()
/external/llvm-project/llvm/lib/FuzzMutate/
DOperations.cpp25 Ops.push_back(binOpDescriptor(1, Instruction::URem)); in describeFuzzerIntOps()
103 case Instruction::URem: in binOpDescriptor()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp25 Ops.push_back(binOpDescriptor(1, Instruction::URem)); in describeFuzzerIntOps()
103 case Instruction::URem: in binOpDescriptor()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp91 LLVMOpcode = Instruction::URem; in DecodeBinaryOpcode()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp95 case Instruction::URem: in createReplacementInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp95 case Instruction::URem: in createReplacementInstr()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp95 case Instruction::URem: in createReplacementInstr()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp342 I.getOpcode() == Instruction::URem) in promoteUniformOpToI32()
1034 assert(Opc == Instruction::URem || Opc == Instruction::UDiv || in expandDivRem32()
1194 if (Opc == Instruction::URem || Opc == Instruction::SRem) { in expandDivRem64()
1221 if ((Opc == Instruction::URem || Opc == Instruction::UDiv || in visitBinaryOperator()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DConvertFromLLVMIR.cpp428 INST(FDiv, FDiv), INST(URem, URem), INST(SRem, SRem), INST(FRem, FRem), in lookupOperationNameFromOpcode()
542 case llvm::Instruction::URem: in processInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp292 I.getOpcode() == Instruction::URem) in promoteUniformOpToI32()
744 assert(Opc == Instruction::URem || Opc == Instruction::UDiv || in expandDivRem32()
898 if ((Opc == Instruction::URem || Opc == Instruction::UDiv || in visitBinaryOperator()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp659 case Instruction::URem: in CanEvaluateShuffled()
722 case Instruction::URem: in buildNew()
822 case Instruction::URem: in EvaluateInDifferentElementOrder()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstruction.h156 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
/external/llvm/include/llvm/IR/
DInstruction.def133 HANDLE_BINARY_INST(20, URem , BinaryOperator)

12345678