|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/ADT/APInt.h 1058 APInt sdiv(const APInt &RHS) const;
References
include/llvm/ADT/APSInt.h 129 *this = sdiv(RHS);
138 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
lib/Analysis/DependenceAnalysis.cpp 1433 Q = Delta.sdiv(G);
1546 APInt TMUL = BM.sdiv(G);
1565 TMUL = AM.sdiv(G);
1954 APInt TMUL = BM.sdiv(G);
1973 TMUL = AM.sdiv(G);
3134 APInt CdivB = Charlie.sdiv(Beta);
3149 APInt CdivA = Charlie.sdiv(Alpha);
3163 APInt CdivA = Charlie.sdiv(Alpha);
lib/Analysis/ScalarEvolutionExpander.cpp 264 ConstantInt::get(SE.getContext(), C->getAPInt().sdiv(FC->getAPInt()));
287 NewMulOps[0] = SE.getConstant(C->getAPInt().sdiv(FC->getAPInt()));
lib/Analysis/ValueTracking.cpp 5524 Lower = IntMin.sdiv(*C);
5525 Upper = IntMax.sdiv(*C);
lib/CodeGen/GlobalISel/Utils.cpp 375 return C1.sdiv(C2);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 4727 return std::make_pair(C1.sdiv(C2), true);
lib/ExecutionEngine/ExecutionEngine.cpp 803 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break;
lib/ExecutionEngine/Interpreter/Execution.cpp 790 case Instruction::SDiv: INTEGER_VECTOR_FUNCTION(sdiv) break;
832 case Instruction::SDiv: R.IntVal = Src1.IntVal.sdiv(Src2.IntVal); break;
2081 case Instruction::SDiv: Dest.IntVal = Op0.IntVal.sdiv(Op1.IntVal); break;
lib/IR/ConstantFold.cpp 1239 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V));
lib/IR/ConstantRange.cpp 1060 PosRes = ConstantRange(PosL.Lower.sdiv(PosR.Upper - 1),
1061 (PosL.Upper - 1).sdiv(PosR.Lower) + 1);
1070 APInt Lo = (NegL.Upper - 1).sdiv(NegR.Lower);
1084 ConstantRange(Lo, NegL.Lower.sdiv(AdjNegRUpper - 1) + 1));
1100 AdjNegLLower.sdiv(NegR.Upper - 1) + 1));
1104 ConstantRange(std::move(Lo), NegL.Lower.sdiv(NegR.Upper - 1) + 1));
1111 NegRes = ConstantRange((PosL.Upper - 1).sdiv(NegR.Upper - 1),
1112 PosL.Lower.sdiv(NegR.Lower) + 1);
1117 ConstantRange(NegL.Lower.sdiv(PosR.Lower),
1118 (NegL.Upper - 1).sdiv(PosR.Upper - 1) + 1));
lib/ProfileData/ProfileSummaryBuilder.cpp 78 Temp = Temp.sdiv(D);
lib/Support/APInt.cpp 1960 return sdiv(RHS);
1967 Overflow = Res.sdiv(RHS) != *this || Res.sdiv(*this) != RHS;
1967 Overflow = Res.sdiv(RHS) != *this || Res.sdiv(*this) != RHS;
2835 return A.sdiv(B);
lib/Transforms/InstCombine/InstCombineCompares.cpp 2366 bool ProdOV = (DivIsSigned ? Prod.sdiv(*C2) : Prod.udiv(*C2)) != C;
lib/Transforms/Scalar/LoopStrengthReduce.cpp 686 return SE.getConstant(LA.sdiv(RA));
lib/Transforms/Scalar/SROA.cpp 1487 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1499 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1555 APInt NumSkippedElements = Offset.sdiv(ElementSize);
tools/lldb/source/Utility/Scalar.cpp 2185 result.m_integer = a->m_integer.sdiv(b->m_integer);
tools/polly/lib/Analysis/ScopInfo.cpp 760 auto Min = LB.sdiv(APInt(BW, ElementSize));
761 auto Max = UB.sdiv(APInt(BW, ElementSize)) + One;
unittests/ADT/APIntTest.cpp 306 EXPECT_EQ(neg_one, one.sdiv(neg_one));
307 EXPECT_EQ(neg_one, neg_one.sdiv(one));
308 EXPECT_EQ(one, neg_one.sdiv(neg_one));
309 EXPECT_EQ(one, one.sdiv(one));
923 q = p.sdiv(a);
939 q = p.sdiv(b);
2578 APInt Quo = A.sdiv(B);
unittests/IR/ConstantRangeTest.cpp 1096 APInt N = N1.sdiv(N2);