|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/ADT/APInt.h 1050 APInt udiv(const APInt &RHS) const;
References
include/llvm/ADT/APSInt.h 127 *this = udiv(RHS);
138 return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false);
lib/Analysis/BlockFrequencyInfo.cpp 247 BBFreq = BBFreq.udiv(OldFreq);
lib/Analysis/BlockFrequencyInfoImpl.cpp 580 BlockCount = (BlockCount + EntryFreq.lshr(1)).udiv(EntryFreq);
lib/Analysis/ScalarEvolution.cpp 3363 cast<SCEVConstant>(getConstant(LHSCst->getAPInt().udiv(Factor)));
3365 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor)));
5786 if (APInt::getMaxValue(StartRange.getBitWidth()).udiv(Step).ult(MaxBECount))
10841 APInt ExitVal = (End + A).udiv(A);
lib/Analysis/ValueTracking.cpp 5547 Upper = APInt::getMaxValue(Width).udiv(*C) + 1;
lib/CodeGen/GlobalISel/Utils.cpp 371 return C1.udiv(C2);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 4719 return std::make_pair(C1.udiv(C2), true);
lib/CodeGen/SelectionDAG/TargetLowering.cpp 4988 APInt Q = APInt::getAllOnesValue(W).udiv(D);
5175 APInt A = APInt::getSignedMaxValue(W).udiv(D0);
5185 APInt Q = (2 * A).udiv(APInt::getOneBitSet(W, K));
lib/ExecutionEngine/ExecutionEngine.cpp 802 case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break;
lib/ExecutionEngine/Interpreter/Execution.cpp 789 case Instruction::UDiv: INTEGER_VECTOR_FUNCTION(udiv) break;
831 case Instruction::UDiv: R.IntVal = Src1.IntVal.udiv(Src2.IntVal); break;
2082 case Instruction::UDiv: Dest.IntVal = Op0.IntVal.udiv(Op1.IntVal); break;
lib/IR/ConstantFold.cpp 1234 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V));
lib/IR/ConstantRange.cpp 1028 APInt Lower = getUnsignedMin().udiv(RHS.getUnsignedMax());
1040 APInt Upper = getUnsignedMax().udiv(RHS_umin) + 1;
lib/IR/Instructions.cpp 497 Type::getInt64Ty(getContext()), Val.udiv(APT).getLimitedValue())));
510 Val.udiv(APT).getLimitedValue())));
lib/Support/APFloat.cpp 3381 significand = significand.udiv(divisor);
lib/Support/APInt.cpp 1124 x_new = (this->udiv(x_old) + x_old).udiv(two);
1124 x_new = (this->udiv(x_old) + x_old).udiv(two);
1141 APInt midpoint((nextSquare - square).udiv(two));
1212 q1 = signedMin.udiv(anc); // initialize q1 = 2p/abs(nc)
1214 q2 = signedMin.udiv(ad); // initialize q2 = 2p/abs(d)
1257 q1 = signedMin.udiv(nc); // initialize q1 = 2p/nc
1259 q2 = signedMax.udiv(d); // initialize q2 = (2p-1)/d
1650 return (-(*this)).udiv(-RHS);
1651 return -((-(*this)).udiv(RHS));
1654 return -(this->udiv(-RHS));
1655 return this->udiv(RHS);
2798 return A.udiv(B);
2937 APInt LowkR = C - SqrB.udiv(2*TwoA); // udiv because all values > 0.
lib/Transforms/InstCombine/InstCombineCompares.cpp 2310 ConstantInt::get(Y->getType(), C2->udiv(C + 1)));
2317 ConstantInt::get(Y->getType(), C2->udiv(C)));
2366 bool ProdOV = (DivIsSigned ? Prod.sdiv(*C2) : Prod.udiv(*C2)) != C;
tools/clang/lib/Lex/LiteralSupport.cpp 1029 OverflowOccurred |= Val.udiv(RadixVal) != OldVal;
tools/lldb/source/Utility/Scalar.cpp 2196 result.m_integer = a->m_integer.udiv(b->m_integer);
unittests/ADT/APIntTest.cpp 311 EXPECT_EQ(neg_one, one.udiv(neg_one));
312 EXPECT_EQ(neg_one, neg_one.udiv(one));
313 EXPECT_EQ(one, neg_one.udiv(neg_one));
314 EXPECT_EQ(one, one.udiv(one));
916 auto q = p.udiv(a);
932 q = p.udiv(b);
2330 APInt MaxOver2 = Max.udiv(Two);
2537 APInt Quo = A.udiv(B);