Home
last modified time | relevance | path

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

1234567891011

/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/swiftshader/third_party/LLVM/unittests/Transforms/Utils/
DCloning.cpp56 BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V); in TEST_F() local
60 BinaryOperator *MulClone = this->clone(Mul); in TEST_F()
73 Mul->setHasNoUnsignedWrap(); in TEST_F()
77 MulClone = this->clone(Mul); in TEST_F()
90 Mul->setHasNoSignedWrap(); in TEST_F()
94 MulClone = this->clone(Mul); in TEST_F()
107 Mul->setHasNoUnsignedWrap(false); in TEST_F()
111 MulClone = this->clone(Mul); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp283 if (I->getOpcode() == Instruction::Mul) { in LinearizeExprTree()
524 if (isReassociableOp(Shl->getOperand(0), Instruction::Mul) || in ConvertShiftToMul()
526 (isReassociableOp(Shl->use_back(), Instruction::Mul) || in ConvertShiftToMul()
531 Instruction *Mul = in ConvertShiftToMul() local
534 Mul->takeName(Shl); in ConvertShiftToMul()
535 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul()
536 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul()
538 return Mul; in ConvertShiftToMul()
575 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul); in RemoveFactorFromExpression()
636 BO->getOpcode() != Instruction::Mul) { in FindSingleUseMultiplyFactors()
[all …]
/external/gemmlowp/internal/
Dsimd_wrappers_sse.h67 inline Int32x4 Mul(Int32x4 a, std::int32_t b) {
68 return Mul(a, Dup<Int32x4>(b));
81 return Mul(a, DupLane<Lane>(b));
85 *acc = Add(*acc, Mul(lhs, rhs));
89 *acc = Add(*acc, Mul(lhs, rhs));
Dsimd_wrappers_common_neon_sse.h359 result.buf.reg[0] = Mul(lhs.buf.reg[0], Dup<Int32x4>(rhs.buf.reg[0]));
370 result.buf.reg[0] = Mul(lhs.buf.reg[0], rhs.buf.reg[0]);
381 result.buf.reg[0] = Mul(lhs.buf.reg[0], rhs.buf.reg[0]);
392 result.buf.reg[0] = Mul(lhs.buf.reg[0], rhs.buf.reg[0]);
419 result.buf.reg[0] = Mul(lhs.buf.reg[0], p);
420 result.buf.reg[1] = Mul(lhs.buf.reg[1], p);
421 result.buf.reg[2] = Mul(lhs.buf.reg[2], p);
422 result.buf.reg[3] = Mul(lhs.buf.reg[3], p);
435 result.buf.reg[i] = Mul(lhs.buf.reg[i], p);
448 result.buf.reg[i] = Mul(lhs.buf.reg[i], rhs.buf.reg[i]);
[all …]
/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.cpp65 BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V); in TEST_F() local
69 BinaryOperator *MulClone = this->clone(Mul); in TEST_F()
82 Mul->setHasNoUnsignedWrap(); in TEST_F()
86 MulClone = this->clone(Mul); in TEST_F()
99 Mul->setHasNoSignedWrap(); in TEST_F()
103 MulClone = this->clone(Mul); in TEST_F()
116 Mul->setHasNoUnsignedWrap(false); in TEST_F()
120 MulClone = this->clone(Mul); in TEST_F()
/external/skia/src/core/
DSkMallocPixelRef.cpp15 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw()
19 return sk_malloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_malloc_throw()
23 return sk_realloc_throw(buffer, SkSafeMath::Mul(count, elemSize)); in sk_realloc_throw()
27 return sk_malloc_canfail(SkSafeMath::Mul(count, elemSize)); in sk_malloc_canfail()
/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.cpp321 assert((Opcode == Instruction::Mul || Opcode == Instruction::FMul) && in IncorporateWeight()
560 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) || in LinearizeExprTree()
933 BinaryOperator *Mul = in ConvertShiftToMul() local
936 Mul->takeName(Shl); in ConvertShiftToMul()
939 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul()
940 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul()
948 Mul->setHasNoSignedWrap(true); in ConvertShiftToMul()
949 Mul->setHasNoUnsignedWrap(NUW); in ConvertShiftToMul()
950 return Mul; in ConvertShiftToMul()
996 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul, Instruction::FMul); in RemoveFactorFromExpression()
[all …]
DStraightLineStrengthReduce.cpp87 Mul, // (B + i) * S enumerator
281 if (C.CandidateKind == Candidate::Mul) { in isSimplestForm()
342 case Instruction::Mul: in allocateCandidatesAndFindBasis()
403 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I); in allocateCandidatesAndFindBasisForMul()
409 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I); in allocateCandidatesAndFindBasisForMul()
413 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(LHS), Zero, RHS, in allocateCandidatesAndFindBasisForMul()
609 case Candidate::Mul: in rewriteCandidateWithBasis()
DNaryReassociate.cpp233 case Instruction::Mul: in isPotentiallyNaryReassociable()
293 case Instruction::Mul: in tryReassociate()
487 case Instruction::Mul: in tryReassociatedBinaryOp()
502 case Instruction::Mul: in matchTernaryOp()
515 case Instruction::Mul: in getBinarySCEV()
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DMul.java18 public class Mul extends ArithmeticBinop { class
20 public Mul(NumericType type, Value dest, Value left, Value right) { in Mul() method in Mul
117 public Mul asMul() { in asMul()
/external/boringssl/src/crypto/fipsmodule/bn/
Dcheck_bn_tests.go200 r := new(big.Int).Mul(test.Values["A"], test.Values["A"])
205 r := new(big.Int).Mul(test.Values["A"], test.Values["B"])
216 r := new(big.Int).Mul(test.Values["A"], test.Values["B"])
237 r := new(big.Int).Mul(test.Values["ModSqrt"], test.Values["ModSqrt"])
/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/eigen/unsupported/test/
Dcxx11_tensor_complex_cwise_ops_cuda.cu53 Mul, in test_cuda_complex_cwise_ops() enumerator
69 case Mul: in test_cuda_complex_cwise_ops()
/external/swiftshader/third_party/LLVM/include/llvm/
DOperator.h109 I->getOpcode() == Instruction::Mul || in classof()
115 CE->getOpcode() == Instruction::Mul || in classof()
197 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
/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/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp1391 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales() local
1392 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) { in CollectAddOperandsWithScales()
1394 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getValue()->getValue(); in CollectAddOperandsWithScales()
1395 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales()
1397 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales()
1405 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
1513 const SCEV *Mul = getMulExpr(Scale, Ops[i]); in getAddExpr() local
1515 return Mul; in getAddExpr()
1516 Ops[i] = Mul; in getAddExpr()
1643 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); in getAddExpr() local
[all …]
/external/llvm/lib/Analysis/
DScalarEvolution.cpp291 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative() local
292 if (!Mul) return false; in isNonConstantNegative()
295 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0)); in isNonConstantNegative()
1923 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales() local
1924 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) { in CollectAddOperandsWithScales()
1926 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getAPInt(); in CollectAddOperandsWithScales()
1927 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales()
1929 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales()
1937 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
2075 const SCEV *Mul = getMulExpr(Scale, Ops[i]); in getAddExpr() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp175 SDNode *Mul = CurDAG->getMachineNode(Opcode, dl, MVT::i32, MVT::Glue, in Select() local
178 return CurDAG->SelectNodeTo(N, SP::RDY, MVT::i32, SDValue(Mul, 1)); in Select()
/external/valgrind/VEX/priv/
Dhost_mips_defs.c819 i->Min.Mul.syned = syned; in MIPSInstr_Mul()
820 i->Min.Mul.widening = wid; /* widen=True else False */ in MIPSInstr_Mul()
821 i->Min.Mul.sz32 = sz32; /* True = 32 bits */ in MIPSInstr_Mul()
822 i->Min.Mul.dst = dst; in MIPSInstr_Mul()
823 i->Min.Mul.srcL = srcL; in MIPSInstr_Mul()
824 i->Min.Mul.srcR = srcR; in MIPSInstr_Mul()
1230 switch (i->Min.Mul.widening) { in ppMIPSInstr()
1233 ppHRegMIPS(i->Min.Mul.dst, mode64); in ppMIPSInstr()
1235 ppHRegMIPS(i->Min.Mul.srcL, mode64); in ppMIPSInstr()
1237 ppHRegMIPS(i->Min.Mul.srcR, mode64); in ppMIPSInstr()
[all …]
/external/vixl/examples/aarch64/
Dfactorial.cc44 __ Mul(x0, x0, x1); in GenerateFactorial() local
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Darith.ll95 define internal i32 @Mul(i32 %a, i32 %b) {
100 ; CHECK-LABEL: Mul
102 ; ARM32-LABEL: Mul
104 ; MIPS32-LABEL: Mul

1234567891011