/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 63 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/ |
D | IntegerDivision.cpp | 63 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()
|
D | SimplifyIndVar.cpp | 322 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/ |
D | IntegerDivision.cpp | 64 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()
|
D | BypassSlowDivision.cpp | 223 bool UseRemOp = Opcode == Instruction::SRem || Opcode == Instruction::URem; in bypassSlowDivision()
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | IntegerDivisionTest.cpp | 112 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/ |
D | IntegerDivision.cpp | 113 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/ |
D | bypass-slow-div.ll | 84 ; 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/ |
D | DivRemPairs.cpp | 107 case Instruction::URem: in isRemExpanded() 136 else if (I.getOpcode() == Instruction::URem) in getWorklist()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 676 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()
|
D | DivRemPairs.cpp | 109 case Instruction::URem: in isRemExpanded() 139 else if (I.getOpcode() == Instruction::URem) in getWorklist()
|
/external/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
D | InstCombiner.h | 305 case Instruction::URem: // X %u 1 = 0 in getSafeVectorConstantForBinop() 323 case Instruction::URem: // 0 %u X = 0 in getSafeVectorConstantForBinop()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 165 case Instruction::URem: in getIntImmCost()
|
/external/llvm-project/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 25 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/ |
D | Operations.cpp | 25 Ops.push_back(binOpDescriptor(1, Instruction::URem)); in describeFuzzerIntOps() 103 case Instruction::URem: in binOpDescriptor()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 91 LLVMOpcode = Instruction::URem; in DecodeBinaryOpcode()
|
/external/llvm-project/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 95 case Instruction::URem: in createReplacementInstr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 95 case Instruction::URem: in createReplacementInstr()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 95 case Instruction::URem: in createReplacementInstr()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 342 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/ |
D | ConvertFromLLVMIR.cpp | 428 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/ |
D | AMDGPUCodeGenPrepare.cpp | 292 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/ |
D | InstCombineVectorOps.cpp | 659 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/ |
D | Instruction.h | 156 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
|
/external/llvm/include/llvm/IR/ |
D | Instruction.def | 133 HANDLE_BINARY_INST(20, URem , BinaryOperator)
|