Searched refs:Divisor (Results 1 - 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp31 Value *Divisor; member in struct:__anon9973::DivOpInfo
34 : SignedOp(InSignedOp), Dividend(InDividend), Divisor(InDivisor) {}
52 Val1.Divisor == Val2.Divisor;
65 reinterpret_cast<uintptr_t>(Val.Divisor)) ^
86 Value *Divisor = Instr->getOperand(1); local
88 if (isa<ConstantInt>(Divisor) ||
89 (isa<ConstantInt>(Dividend) && isa<ConstantInt>(Divisor))) {
108 SlowQuotientV = SlowBuilder.CreateSDiv(Dividend, Divisor);
109 SlowRemainderV = SlowBuilder.CreateSRem(Dividend, Divisor);
[all...]
H A DIntegerDivision.cpp32 static Value *generateSignedRemainderCode(Value *Dividend, Value *Divisor, argument
46 Value *DivisorSign = Builder.CreateAShr(Divisor, ThirtyOne);
48 Value *DvsXor = Builder.CreateXor(Divisor, DivisorSign);
67 static Value *generatedUnsignedRemainderCode(Value *Dividend, Value *Divisor, argument
69 // Remainder = Dividend - Quotient*Divisor
74 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor);
75 Value *Product = Builder.CreateMul(Divisor, Quotient);
89 static Value *generateSignedDivisionCode(Value *Dividend, Value *Divisor, argument
106 Value *Tmp1 = Builder.CreateAShr(Divisor, ThirtyOne);
109 Value *Tmp3 = Builder.CreateXor(Tmp1, Divisor);
125 generateUnsignedDivisionCode(Value *Dividend, Value *Divisor, IRBuilder<> &Builder) argument
[all...]
/external/clang/test/SemaTemplate/
H A Dinstantiate-static-var.cpp2 template<typename T, T Divisor>
5 static const T value = 10 / Divisor; // expected-error{{in-class initializer for static data member is not a constant expression}}
/external/llvm/lib/CodeGen/
H A DTargetSchedule.cpp39 static unsigned gcd(unsigned Dividend, unsigned Divisor) { argument
40 // Dividend and Divisor will be naturally swapped as needed.
41 while(Divisor) {
42 unsigned Rem = Dividend % Divisor;
43 Dividend = Divisor;
44 Divisor = Rem;
/external/webkit/Source/WebCore/svg/
H A DSVGFEConvolveMatrixElement.h61 DECLARE_ANIMATED_NUMBER(Divisor, divisor)
H A DSVGFEConvolveMatrixElement.cpp41 DEFINE_ANIMATED_NUMBER(SVGFEConvolveMatrixElement, SVGNames::divisorAttr, Divisor, divisor)
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp824 ConstantFP *Divisor,
826 const APFloat &FpVal = Divisor->getValueAPF();
823 CvtFDivConstToReciprocal(Value *Dividend, ConstantFP *Divisor, bool AllowReciprocal) argument
/external/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1538 const SCEVConstant *Divisor) {
1540 APInt ConstDivisor = Divisor->getValue()->getValue();
1537 isRemainderZero(const SCEVConstant *Dividend, const SCEVConstant *Divisor) argument
/external/dropbear/libtommath/
H A Dbn.tex1785 \section{Greatest Common Divisor}

Completed in 327 milliseconds