/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() 389 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainder() 487 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo32Bits() 512 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo32Bits() 536 assert((Rem->getOpcode() == Instruction::SRem || in expandRemainderUpTo64Bits() 560 if (Rem->getOpcode() == Instruction::SRem) { in expandRemainderUpTo64Bits()
|
D | BypassSlowDivision.cpp | 223 bool UseRemOp = Opcode == Instruction::SRem || Opcode == Instruction::URem; in bypassSlowDivision() 225 Opcode == Instruction::SRem; in bypassSlowDivision()
|
/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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1370 case Instruction::SRem: in visitICmpInstWithInstAndIntCst() 2339 BinaryOperator *SRem = NULL; in visitICmpInst() local 2341 if (BO0 && BO0->getOpcode() == Instruction::SRem && in visitICmpInst() 2343 SRem = BO0; in visitICmpInst() 2345 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in visitICmpInst() 2347 SRem = BO1; in visitICmpInst() 2348 if (SRem) { in visitICmpInst() 2351 switch (SRem == BO0 ? ICmpInst::getSwappedPredicate(Pred) : Pred) { in visitICmpInst() 2359 return new ICmpInst(ICmpInst::ICMP_SGT, SRem->getOperand(1), in visitICmpInst() 2360 Constant::getAllOnesValue(SRem->getType())); in visitICmpInst() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 253 bool IsSigned = Rem->getOpcode() == Instruction::SRem; in eliminateIVUser() 422 bool IsSigned = Rem->getOpcode() == Instruction::SRem; in simplifyIVUsers()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instruction.cpp | 119 case SRem: return "srem"; in getOpcodeName() 410 case SRem: { in isSafeToSpeculativelyExecute()
|
D | ConstantFold.cpp | 1043 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1093 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1198 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1237 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1353 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1452 case Instruction::SRem: in ConstantFoldBinaryInstruction()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 166 case Instruction::SRem: in getIntImmCost()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 95 LLVMOpcode = Ty->isFPOrFPVectorTy() ? Instruction::FRem : Instruction::SRem; in DecodeBinaryOpcode()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 96 case Instruction::SRem: in createReplacementInstr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2207 case Instruction::SRem: in visitICmpInstWithInstAndIntCst() 3972 BinaryOperator *SRem = nullptr; in visitICmpInst() local 3974 if (BO0 && BO0->getOpcode() == Instruction::SRem && in visitICmpInst() 3976 SRem = BO0; in visitICmpInst() 3978 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in visitICmpInst() 3980 SRem = BO1; in visitICmpInst() 3981 if (SRem) { in visitICmpInst() 3984 switch (SRem == BO0 ? ICmpInst::getSwappedPredicate(Pred) : Pred) { in visitICmpInst() 3992 return new ICmpInst(ICmpInst::ICMP_SGT, SRem->getOperand(1), in visitICmpInst() 3993 Constant::getAllOnesValue(SRem->getType())); in visitICmpInst() [all …]
|
D | InstCombineVectorOps.cpp | 660 case Instruction::SRem: in CanEvaluateShuffled() 723 case Instruction::SRem: in buildNew() 823 case Instruction::SRem: in EvaluateInDifferentElementOrder()
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVOpCodeEnum.h | 128 _SPIRV_OP(SRem, 138)
|
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
D | CBackend.cpp | 810 case Instruction::SRem: in printConstant() 831 case Instruction::SRem: in printConstant() 1140 case Instruction::SRem: in printConstExprCast() 1206 case Instruction::SRem: in printConstantWithCast() 1350 case Instruction::SRem: in writeInstructionCast() 1396 case Instruction::SRem: // Cast to signed first in writeOperandWithCast() 2563 case Instruction::SRem: in visitBinaryOperator()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Instruction.def | 119 HANDLE_BINARY_INST(19, SRem , BinaryOperator)
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVInternal.h | 118 _SPIRV_OP(SRem, SRem) in init()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.def | 134 HANDLE_BINARY_INST(21, SRem , BinaryOperator)
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.def | 134 HANDLE_BINARY_INST(21, SRem , BinaryOperator)
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 961 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1040 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1143 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1173 case Instruction::SRem: in ConstantFoldBinaryInstruction() 1262 case Instruction::SRem: in ConstantFoldBinaryInstruction()
|
D | Instruction.cpp | 284 case SRem: return "srem"; in getOpcodeName()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 351 inline BinaryOp_match<LHS, RHS, Instruction::SRem> 353 return BinaryOp_match<LHS, RHS, Instruction::SRem>(L, R); in m_SRem()
|
/external/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 433 case Instruction::SRem: in runImpl()
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 401 case Instruction::SRem: in getInstructionCost()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 68 case Instruction::SRem: in getOperationCost()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 685 case Instruction::SRem: in getConstantValue() 703 case Instruction::SRem:GV.IntVal = LHS.IntVal.srem(RHS.IntVal); break; in getConstantValue()
|