Home
last modified time | relevance | path

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

123456

/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/swiftshader/third_party/llvm-7.0/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()
DSimplifyIndVar.cpp312 auto *URem = BinaryOperator::Create(BinaryOperator::URem, N, D, in replaceSRemWithURem() local
314 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem()
621 if (IsSRem || Bin->getOpcode() == Instruction::URem) { in eliminateIVUser()
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/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/lib/Transforms/Utils/
DSimplifyIndVar.cpp254 if (IsSigned || Rem->getOpcode() == Instruction::URem) { in eliminateIVUser()
423 if (IsSigned || Rem->getOpcode() == Instruction::URem) { in simplifyIVUsers()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DDivRemPairs.cpp65 else if (I.getOpcode() == Instruction::URem) in optimizeDivRem()
DCorrelatedValuePropagation.cpp512 Instr->getOpcode() == Instruction::URem); in processUDivOrURem()
722 case Instruction::URem: in runImpl()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstruction.cpp118 case URem: return "urem"; in getOpcodeName()
404 case URem: { in isSafeToSpeculativelyExecute()
DConstantFold.cpp1042 case Instruction::URem: in ConstantFoldBinaryInstruction()
1092 case Instruction::URem: in ConstantFoldBinaryInstruction()
1195 case Instruction::URem: in ConstantFoldBinaryInstruction()
1236 case Instruction::URem: in ConstantFoldBinaryInstruction()
1346 case Instruction::URem: in ConstantFoldBinaryInstruction()
1451 case Instruction::URem: in ConstantFoldBinaryInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOperations.cpp26 Ops.push_back(binOpDescriptor(1, Instruction::URem)); in describeFuzzerIntOps()
104 case Instruction::URem: in binOpDescriptor()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp165 case Instruction::URem: in getIntImmCost()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp92 LLVMOpcode = Instruction::URem; in DecodeBinaryOpcode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp275 I.getOpcode() == Instruction::URem) in promoteUniformOpToI32()
614 assert(Opc == Instruction::URem || Opc == Instruction::UDiv || in expandDivRem32()
765 if ((Opc == Instruction::URem || Opc == Instruction::UDiv || in visitBinaryOperator()
/external/swiftshader/third_party/llvm-7.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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp165 case Instruction::URem: in getIntImmCost()
456 if (Opcode == Instruction::UDiv || Opcode == Instruction::URem) in getArithmeticInstrCost()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp809 case Instruction::URem: in printConstant()
830 case Instruction::URem: in printConstant()
1137 case Instruction::URem: in printConstExprCast()
1201 case Instruction::URem: in printConstantWithCast()
1343 case Instruction::URem: in writeInstructionCast()
1389 case Instruction::URem: // Cast to unsigned first in writeOperandWithCast()
2562 case Instruction::URem: 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-7.0/llvm/include/llvm/IR/
DInstruction.h147 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
DInstruction.def137 HANDLE_BINARY_INST(20, URem , BinaryOperator)
/external/swiftshader/third_party/LLVM/include/llvm/
DInstruction.def118 HANDLE_BINARY_INST(18, URem , BinaryOperator)
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def133 HANDLE_BINARY_INST(20, URem , BinaryOperator)

123456