/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 66 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() local 71 return SRem; in generateSignedRemainderCode() 377 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainder() 393 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder() 490 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo32Bits() 516 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo32Bits() 540 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo64Bits() 566 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo64Bits()
|
D | BypassSlowDivision.cpp | 234 bool UseRemOp = Opcode == Instruction::SRem || Opcode == Instruction::URem; in bypassSlowDivision() 236 Opcode == Instruction::SRem; in bypassSlowDivision()
|
D | SimplifyIndVar.cpp | 246 bool IsSigned = Rem->getOpcode() == Instruction::SRem; in eliminateIVUser()
|
/external/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 83 TEST(IntegerDivision, SRem) { in TEST() argument 102 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST() 223 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 166 case Instruction::SRem: in getIntImmCost()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1756 case Instruction::SRem: in visitICmpInstWithInstAndIntCst() 3390 BinaryOperator *SRem = nullptr; in visitICmpInst() local 3392 if (BO0 && BO0->getOpcode() == Instruction::SRem && in visitICmpInst() 3394 SRem = BO0; in visitICmpInst() 3396 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in visitICmpInst() 3398 SRem = BO1; in visitICmpInst() 3399 if (SRem) { in visitICmpInst() 3402 switch (SRem == BO0 ? ICmpInst::getSwappedPredicate(Pred) : Pred) { in visitICmpInst() 3410 return new ICmpInst(ICmpInst::ICMP_SGT, SRem->getOperand(1), in visitICmpInst() 3411 Constant::getAllOnesValue(SRem->getType())); in visitICmpInst() [all …]
|
D | InstCombineVectorOps.cpp | 620 case Instruction::SRem: in CanEvaluateShuffled() 683 case Instruction::SRem: in BuildNew() 783 case Instruction::SRem: in EvaluateInDifferentElementOrder()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 96 case Instruction::SRem: in createReplacementInstr()
|
/external/lldb/source/Expression/ |
D | IRInterpreter.cpp | 517 case Instruction::SRem: in CanInterpret() 622 case Instruction::SRem: in Interpret() 689 case Instruction::SRem: in Interpret()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.def | 118 HANDLE_BINARY_INST(18, SRem , BinaryOperator)
|
D | PatternMatch.h | 494 inline BinaryOp_match<LHS, RHS, Instruction::SRem> m_SRem(const LHS &L, in m_SRem() 496 return BinaryOp_match<LHS, RHS, Instruction::SRem>(L, R); in m_SRem()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 954 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1020 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1124 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1154 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1243 case Instruction::SRem: in ConstantFoldBinaryInstruction()
|
D | Instruction.cpp | 206 case SRem: return "srem"; in getOpcodeName()
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 406 case Instruction::SRem: in getInstructionCost()
|
D | ValueTracking.cpp | 1250 case Instruction::SRem: in computeKnownBits() 1914 case Instruction::SRem: { in ComputeNumSignBits() 2832 case Instruction::SRem: { in isSafeToSpeculativelyExecute()
|
D | InstructionSimplify.cpp | 1183 if ((Opcode == Instruction::SRem && in SimplifyRem() 1208 if (Value *V = SimplifyRem(Instruction::SRem, Op0, Op1, Q, MaxRecurse)) in SimplifySRemInst() 3449 case Instruction::SRem: return SimplifySRemInst(LHS, RHS, Q, MaxRecurse); in SimplifyBinOp() 3680 case Instruction::SRem: in SimplifyInstruction()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 92 case Instruction::SRem: in getIntImmCost()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCInstKind.cpp | 274 case Instruction::SRem: in GetARCInstKind()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 387 J->getOpcode() == Instruction::SRem)) { in mightUseCTR()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 879 case Instruction::SRem: Out << "getSRem("; break; in printConstant() 1227 case Instruction::SRem: in printInstruction() 1247 case Instruction::SRem:Out << "Instruction::SRem"; break; in printInstruction()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 767 case Instruction::SRem: in getConstantValue() 785 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 705 INSTKEYWORD(urem, URem); INSTKEYWORD(srem, SRem); INSTKEYWORD(frem, FRem); in LexIdentifier()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 739 case Instruction::SRem: INTEGER_VECTOR_FUNCTION(srem) break; in visitBinaryOperator() 781 case Instruction::SRem: R.IntVal = Src1.IntVal.srem(Src2.IntVal); break; in visitBinaryOperator() 2037 case Instruction::SRem: Dest.IntVal = Op0.IntVal.srem(Op1.IntVal); break; in getConstantExprValue()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 347 case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } in Act()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1765 case Instruction::SRem: in lowerConstant() 1778 case Instruction::SRem: return MCBinaryExpr::CreateMod(LHS, RHS, Ctx); in lowerConstant()
|