Home
last modified time | relevance | path

Searched refs:Mul (Results 1 – 25 of 163) sorted by relevance

1234567

/external/libweave/third_party/chromium/crypto/
Dp224.cc202 void Mul(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Mul() function
278 Mul(&f1, f1, in); // 2**2 - 1 in Invert()
280 Mul(&f1, f1, in); // 2**3 - 1 in Invert()
284 Mul(&f1, f1, f2); // 2**6 - 1 in Invert()
289 Mul(&f2, f2, f1); // 2**12 - 1 in Invert()
294 Mul(&f2, f3, f2); // 2**24 - 1 in Invert()
299 Mul(&f3, f3, f2); // 2**48 - 1 in Invert()
304 Mul(&f3, f3, f4); // 2**96 - 1 in Invert()
309 Mul(&f2, f4, f2); // 2**120 - 1 in Invert()
313 Mul(&f1, f1, f2); // 2**126 - 1 in Invert()
[all …]
/external/libchrome/crypto/
Dp224.cc173 void Mul(FieldElement* out, const FieldElement& a, const FieldElement& b) { in Mul() function
249 Mul(&f1, f1, in); // 2**2 - 1 in Invert()
251 Mul(&f1, f1, in); // 2**3 - 1 in Invert()
255 Mul(&f1, f1, f2); // 2**6 - 1 in Invert()
260 Mul(&f2, f2, f1); // 2**12 - 1 in Invert()
265 Mul(&f2, f3, f2); // 2**24 - 1 in Invert()
270 Mul(&f3, f3, f2); // 2**48 - 1 in Invert()
275 Mul(&f3, f3, f4); // 2**96 - 1 in Invert()
280 Mul(&f2, f4, f2); // 2**120 - 1 in Invert()
284 Mul(&f1, f1, f2); // 2**126 - 1 in Invert()
[all …]
/external/skia/src/gpu/
DGrBlend.cpp43 static MaskedColor Mul(const MaskedColor& a, const MaskedColor& b) { in Mul() function in MaskedColor
89 return MaskedColor::Mul(dst, value); in get_term()
91 return MaskedColor::Mul(MaskedColor::Invert(dst), value); in get_term()
93 return MaskedColor::Mul(MaskedColor::ExtractAlpha(dst), value); in get_term()
95 return MaskedColor::Mul(MaskedColor::ExtractInverseAlpha(dst), value); in get_term()
97 return MaskedColor::Mul(src, value); in get_term()
99 return MaskedColor::Mul(MaskedColor::Invert(src), value); in get_term()
101 return MaskedColor::Mul(MaskedColor::ExtractAlpha(src), value); in get_term()
103 return MaskedColor::Mul(MaskedColor::ExtractInverseAlpha(src), value); in get_term()
/external/skia/src/gpu/glsl/
DGrGLSL_impl.h25 inline Self GrGLSLExpr<Self>::Mul(T0 in0, T1 in1) { in Mul() function
100 return GrGLSLExpr1::Mul(in0, in1);
140 return GrGLSLExpr4::Mul(in0, in1);
152 return GrGLSLExpr4::Mul(in0, in1);
164 return GrGLSLExpr4::Mul(in0, in1);
/external/clang/test/SemaTemplate/
Dalias-church-numerals.cpp23 typename X> using Mul = A<PartialApply<B,F>::template R, X>; typedef
26 template<template<typename> class F, typename X> using Sixteen = Mul<Four, Four, F, X>;
27 template<template<typename> class F, typename X> using TwoHundredAndFiftySix = Mul<Sixteen, Sixteen…
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp66 BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V); in TEST_F() local
70 BinaryOperator *MulClone = this->clone(Mul); in TEST_F()
83 Mul->setHasNoUnsignedWrap(); in TEST_F()
87 MulClone = this->clone(Mul); in TEST_F()
100 Mul->setHasNoSignedWrap(); in TEST_F()
104 MulClone = this->clone(Mul); in TEST_F()
117 Mul->setHasNoUnsignedWrap(false); in TEST_F()
121 MulClone = this->clone(Mul); in TEST_F()
/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/expressions/
DMul.java14 public class Mul implements IExpression { class
20 public Mul(final IExpression l, final IExpression r) { in Mul() method in Mul
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp422 assert((Opcode == Instruction::Mul || Opcode == Instruction::FMul) && in IncorporateWeight()
661 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) || in LinearizeExprTree()
1034 BinaryOperator *Mul = in ConvertShiftToMul() local
1037 Mul->takeName(Shl); in ConvertShiftToMul()
1040 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul()
1041 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul()
1049 Mul->setHasNoSignedWrap(true); in ConvertShiftToMul()
1050 Mul->setHasNoUnsignedWrap(NUW); in ConvertShiftToMul()
1051 return Mul; in ConvertShiftToMul()
1097 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul, Instruction::FMul); in RemoveFactorFromExpression()
[all …]
DNaryReassociate.cpp233 case Instruction::Mul: in isPotentiallyNaryReassociable()
293 case Instruction::Mul: in tryReassociate()
518 case Instruction::Mul: in tryReassociatedBinaryOp()
533 case Instruction::Mul: in matchTernaryOp()
546 case Instruction::Mul: in getBinarySCEV()
DStraightLineStrengthReduce.cpp87 Mul, // (B + i) * S enumerator
310 if (C.CandidateKind == Candidate::Mul) { in isSimplestForm()
371 case Instruction::Mul: in allocateCandidatesAndFindBasis()
432 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I); in allocateCandidatesAndFindBasisForMul()
438 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I); in allocateCandidatesAndFindBasisForMul()
442 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(LHS), Zero, RHS, in allocateCandidatesAndFindBasisForMul()
628 case Candidate::Mul: in rewriteCandidateWithBasis()
DSpeculativeExecution.cpp176 case Instruction::Mul: in ComputeSpeculationCost()
/external/valgrind/VEX/priv/
Dhost_tilegx_defs.c247 if (instr->GXin.Mul.widening == False) { in ppTILEGXInstr()
249 ppHRegTILEGX(instr->GXin.Mul.dst); in ppTILEGXInstr()
251 ppHRegTILEGX(instr->GXin.Mul.srcL); in ppTILEGXInstr()
253 ppHRegTILEGX(instr->GXin.Mul.srcR); in ppTILEGXInstr()
256 vex_printf("%s ", instr->GXin.Mul.syned ? "mull32s" : "mull32u"); in ppTILEGXInstr()
257 ppHRegTILEGX(instr->GXin.Mul.dst); in ppTILEGXInstr()
259 ppHRegTILEGX(instr->GXin.Mul.srcL); in ppTILEGXInstr()
261 ppHRegTILEGX(instr->GXin.Mul.srcR); in ppTILEGXInstr()
789 i->GXin.Mul.syned = syned; in TILEGXInstr_Mul()
790 i->GXin.Mul.widening = wid; /* widen=True else False */ in TILEGXInstr_Mul()
[all …]
Dhost_mips_defs.c822 i->Min.Mul.syned = syned; in MIPSInstr_Mul()
823 i->Min.Mul.widening = wid; /* widen=True else False */ in MIPSInstr_Mul()
824 i->Min.Mul.sz32 = sz32; /* True = 32 bits */ in MIPSInstr_Mul()
825 i->Min.Mul.dst = dst; in MIPSInstr_Mul()
826 i->Min.Mul.srcL = srcL; in MIPSInstr_Mul()
827 i->Min.Mul.srcR = srcR; in MIPSInstr_Mul()
1233 switch (i->Min.Mul.widening) { in ppMIPSInstr()
1236 ppHRegMIPS(i->Min.Mul.dst, mode64); in ppMIPSInstr()
1238 ppHRegMIPS(i->Min.Mul.srcL, mode64); in ppMIPSInstr()
1240 ppHRegMIPS(i->Min.Mul.srcR, mode64); in ppMIPSInstr()
[all …]
/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/parser/
DExpressionParser.java25 import org.jacoco.examples.expressions.Mul;
66 e = new Mul(e, factor()); in product()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp289 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative() local
290 if (!Mul) return false; in isNonConstantNegative()
293 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0)); in isNonConstantNegative()
1886 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales() local
1887 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) { in CollectAddOperandsWithScales()
1889 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getAPInt(); in CollectAddOperandsWithScales()
1890 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales()
1892 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales()
1900 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
2040 const SCEV *Mul = getMulExpr(Scale, Ops[i]); in getAddExpr() local
[all …]
/external/llvm/include/llvm/IR/
DOperator.h109 I->getOpcode() == Instruction::Mul || in classof()
115 CE->getOpcode() == Instruction::Mul || in classof()
340 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
/external/vixl/examples/
Dfactorial.cc45 __ Mul(x0, x0, x1); in GenerateFactorial() local
Dfactorial-rec.cc48 __ Mul(x0, x0, x1); in GenerateFactorialRec() local
/external/llvm/lib/IR/
DInstruction.cpp215 case Mul: return "mul"; in getOpcodeName()
495 Opcode == Add || Opcode == Mul; in isAssociative()
523 case Mul: in isCommutative()
/external/llvm/test/Transforms/Reassociate/
Dotherops.ll1 ; Reassociation should apply to Add, Mul, And, Or, & Xor
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp206 BinaryOperator *Mul = cast<BinaryOperator>(I.getOperand(0)); in visitMul() local
208 if (I.hasNoUnsignedWrap() && Mul->hasNoUnsignedWrap()) in visitMul()
210 if (I.hasNoSignedWrap() && Mul->hasNoSignedWrap() && in visitMul()
284 Value *Mul = Builder->CreateMul(C1, Op1); in visitMul() local
287 if (!match(Mul, m_Mul(m_Value(), m_Value()))) in visitMul()
288 return BinaryOperator::CreateAdd(Builder->CreateMul(X, Op1), Mul); in visitMul()
834 Instruction::Mul, X, ConstantInt::get(X->getType(), Quotient)); in commonIDivTransforms()
862 Instruction::Mul, X, ConstantInt::get(X->getType(), Quotient)); in commonIDivTransforms()
/external/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp50 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0), in selectMULT() local
52 SDValue InFlag = SDValue(Mul, 0); in selectMULT()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp664 SDValue Mul; in TryExpandADDWithMul() local
667 Mul = N->getOperand(0); in TryExpandADDWithMul()
670 Mul = N->getOperand(1); in TryExpandADDWithMul()
678 Mul.getOperand(0), DAG.getConstant(0, dl, MVT::i32)); in TryExpandADDWithMul()
680 Mul.getOperand(1), DAG.getConstant(0, dl, MVT::i32)); in TryExpandADDWithMul()
686 unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0)); in TryExpandADDWithMul()
687 unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1)); in TryExpandADDWithMul()
688 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) && in TryExpandADDWithMul()
689 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) { in TryExpandADDWithMul()
707 Mul.getOperand(0), DAG.getConstant(1, dl, MVT::i32)); in TryExpandADDWithMul()
[all …]
/external/llvm/include/llvm/MC/
DMCExpr.h425 Mul, ///< Multiplication. enumerator
494 return create(Mul, LHS, RHS, Ctx); in createMul()
/external/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp372 SDNode *Mul = in Select() local
374 SDValue ResultHigh = SDValue(Mul, 1); in Select()

1234567