| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 65 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() local 70 return SRem; in generateSignedRemainderCode() 376 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder() 388 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder() 486 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo32Bits() 511 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo32Bits() 535 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo64Bits() 559 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo64Bits()
|
| H A D | BypassSlowDivision.cpp | 94 SlowDivOrRem->getOpcode() == Instruction::SRem; in isSignedOp() 118 case Instruction::SRem: in FastDivInsertionTask()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | DivRemPairs.cpp | 108 case Instruction::SRem: in isRemExpanded() 137 else if (I.getOpcode() == Instruction::SRem) in getWorklist()
|
| H A D | CorrelatedValuePropagation.cpp | 674 Instr->getOpcode() == Instruction::SRem); in narrowSDivOrSRem() 769 assert(SDI->getOpcode() == Instruction::SRem); in processSRem() 878 Instr->getOpcode() == Instruction::SRem); in processSDivOrSRem() 886 if (Instr->getOpcode() == Instruction::SRem) in processSDivOrSRem() 1047 case Instruction::SRem: in runImpl()
|
| H A D | GVNSink.cpp | 458 case Instruction::SRem: in lookupOrAdd()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 248 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned() 319 I.getOpcode() == Instruction::SRem || in promoteUniformOpToI32() 1018 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32() 1028 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() 1147 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64() 1177 if (Opc == Instruction::URem || Opc == Instruction::SRem) { in expandDivRem64() 1205 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ReplaceConstant.cpp | 40 case Instruction::SRem: in createReplacementInstr()
|
| H A D | ConstantFold.cpp | 1186 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1275 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1398 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1428 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1533 case Instruction::SRem: in ConstantFoldBinaryInstruction()
|
| H A D | Instruction.cpp | 347 case SRem: return "srem"; in getOpcodeName()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 316 case Instruction::SRem: // X % 1 = 0 in getSafeVectorConstantForBinop() 334 case Instruction::SRem: // 0 % X = 0 in getSafeVectorConstantForBinop()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 24 Ops.push_back(binOpDescriptor(1, Instruction::SRem)); in describeFuzzerIntOps() 102 case Instruction::SRem: in binOpDescriptor()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 2306 BinaryOperator *SRem, in foldICmpSRemConstant() argument 2318 if (!SRem->hasOneUse()) in foldICmpSRemConstant() 2322 if (!C.isNullValue() || !match(SRem->getOperand(1), m_Power2(DivisorC))) in foldICmpSRemConstant() 2326 Type *Ty = SRem->getType(); in foldICmpSRemConstant() 2329 Value *And = Builder.CreateAnd(SRem->getOperand(0), MaskC); in foldICmpSRemConstant() 2932 case Instruction::SRem: in foldICmpInstWithConstant() 2998 case Instruction::SRem: in foldICmpBinOpEqualityWithConstant() 4019 BinaryOperator *SRem = nullptr; in foldICmpBinOp() local 4021 if (BO0 && BO0->getOpcode() == Instruction::SRem && Op1 == BO0->getOperand(1)) in foldICmpBinOp() 4022 SRem = BO0; in foldICmpBinOp() [all …]
|
| H A D | InstCombineVectorOps.cpp | 1486 case Instruction::SRem: in canEvaluateShuffled() 1568 case Instruction::SRem: in buildNew() 1658 case Instruction::SRem: in evaluateInDifferentElementOrder()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 238 case Instruction::SRem: in expandPredicationInBinaryOperator()
|
| H A D | TypePromotion.cpp | 204 Opc == Instruction::SRem || Opc == Instruction::SExt; in GenerateSignBits()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | VPIntrinsics.def | 131 HELPER_REGISTER_BINARY_INT_VP(vp_srem, VP_SREM, SRem)
|
| H A D | Instruction.def | 157 HANDLE_BINARY_INST(23, SRem , BinaryOperator)
|
| H A D | Instruction.h | 191 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 462 case Instruction::SRem: 979 case Instruction::SRem: in getUserCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 168 case Instruction::SRem: in getIntImmCostInst() 413 Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in getArithmeticInstrCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | CFLGraph.h | 578 case Instruction::SRem: in visitConstantExpr()
|
| H A D | ObjCARCInstKind.cpp | 261 case Instruction::SRem: in GetARCInstKind()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 781 case Instruction::SRem: in getConstantValue() 799 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 400 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 794 case Instruction::SRem: INTEGER_VECTOR_FUNCTION(srem) break; in visitBinaryOperator() 836 case Instruction::SRem: R.IntVal = Src1.IntVal.srem(Src2.IntVal); break; in visitBinaryOperator() 2080 case Instruction::SRem: Dest.IntVal = Op0.IntVal.srem(Op1.IntVal); break; in getConstantExprValue()
|