Searched defs:Mul (Results 1 - 25 of 36) sorted by relevance

12

/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/expressions/
H A DMul.java14 public class Mul implements IExpression { class in inherits:IExpression
20 public Mul(final IExpression l, final IExpression r) { method in class:Mul
/external/skia/src/gpu/glsl/
H A DGrGLSL_impl.h25 inline Self GrGLSLExpr<Self>::Mul(T0 in0, T1 in1) { function in class:GrGLSLExpr
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/skia/src/gpu/
H A DGrBlend.cpp43 static MaskedColor Mul(const MaskedColor& a, const MaskedColor& b) { function in class:MaskedColor
89 return MaskedColor::Mul(dst, value);
91 return MaskedColor::Mul(MaskedColor::Invert(dst), value);
93 return MaskedColor::Mul(MaskedColor::ExtractAlpha(dst), value);
95 return MaskedColor::Mul(MaskedColor::ExtractInverseAlpha(dst), value);
97 return MaskedColor::Mul(src, value);
99 return MaskedColor::Mul(MaskedColor::Invert(src), value);
101 return MaskedColor::Mul(MaskedColor::ExtractAlpha(src), value);
103 return MaskedColor::Mul(MaskedColor::ExtractInverseAlpha(src), value);
/external/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp50 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0), local
52 SDValue InFlag = SDValue(Mul, 0);
294 /// Mul with two results
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp372 SDNode *Mul = local
374 SDValue ResultHigh = SDValue(Mul, 1);
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp66 BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V); local
70 BinaryOperator *MulClone = this->clone(Mul);
83 Mul->setHasNoUnsignedWrap();
87 MulClone = this->clone(Mul);
100 Mul->setHasNoSignedWrap();
104 MulClone = this->clone(Mul);
117 Mul->setHasNoUnsignedWrap(false);
121 MulClone = this->clone(Mul);
/external/libchrome/crypto/
H A Dp224.cc169 // Mul computes *out = a*b
173 void Mul(FieldElement* out, const FieldElement& a, const FieldElement& b) { function in namespace:__anon9379
249 Mul(&f1, f1, in); // 2**2 - 1
251 Mul(&f1, f1, in); // 2**3 - 1
255 Mul(&f1, f1, f2); // 2**6 - 1
260 Mul(&f2, f2, f1); // 2**12 - 1
265 Mul(&f2, f3, f2); // 2**24 - 1
270 Mul(&f3, f3, f2); // 2**48 - 1
275 Mul(&f3, f3, f4); // 2**96 - 1
280 Mul(
[all...]
/external/libweave/third_party/chromium/crypto/
H A Dp224.cc198 // Mul computes *out = a*b
202 void Mul(FieldElement* out, const FieldElement& a, const FieldElement& b) { function in namespace:__anon11496
278 Mul(&f1, f1, in); // 2**2 - 1
280 Mul(&f1, f1, in); // 2**3 - 1
284 Mul(&f1, f1, f2); // 2**6 - 1
289 Mul(&f2, f2, f1); // 2**12 - 1
294 Mul(&f2, f3, f2); // 2**24 - 1
299 Mul(&f3, f3, f2); // 2**48 - 1
304 Mul(&f3, f3, f4); // 2**96 - 1
309 Mul(
[all...]
/external/llvm/include/llvm/MC/
H A DMCExpr.h425 Mul, ///< Multiplication. enumerator in enum:llvm::MCBinaryExpr::Opcode
494 return create(Mul, LHS, RHS, Ctx);
/external/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp87 Mul, // (B + i) * S enumerator in enum:__anon12991::StraightLineStrengthReduce::Candidate::Kind
166 // Allocate candidates and find bases for Mul instructions.
310 if (C.CandidateKind == Candidate::Mul) {
371 case Instruction::Mul:
432 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I);
438 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(B), Idx, RHS, I);
442 allocateCandidatesAndFindBasis(Candidate::Mul, SE->getSCEV(LHS), Zero, RHS,
628 case Candidate::Mul:
H A DReassociate.cpp422 assert((Opcode == Instruction::Mul || Opcode == Instruction::FMul) &&
661 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) ||
1034 BinaryOperator *Mul = local
1037 Mul->takeName(Shl);
1040 Shl->replaceAllUsesWith(Mul);
1041 Mul->setDebugLoc(Shl->getDebugLoc());
1049 Mul->setHasNoSignedWrap(true);
1050 Mul->setHasNoUnsignedWrap(NUW);
1051 return Mul;
1097 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul, Instructio
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp206 BinaryOperator *Mul = cast<BinaryOperator>(I.getOperand(0)); local
208 if (I.hasNoUnsignedWrap() && Mul->hasNoUnsignedWrap())
210 if (I.hasNoSignedWrap() && Mul->hasNoSignedWrap() &&
284 Value *Mul = Builder->CreateMul(C1, Op1); local
287 if (!match(Mul, m_Mul(m_Value(), m_Value())))
288 return BinaryOperator::CreateAdd(Builder->CreateMul(X, Op1), Mul);
834 Instruction::Mul, X, ConstantInt::get(X->getType(), Quotient));
862 Instruction::Mul, X, ConstantInt::get(X->getType(), Quotient));
H A DInstCombineCompares.cpp1579 case Instruction::Mul: { // (icmp pred (mul X, Val), CI)
1967 case Instruction::Mul:
2339 assert(MulInstr->getOpcode() == Instruction::Mul);
2488 Value *Mul = Builder->CreateExtractValue(Call, 0, "umul.value"); local
2494 IC.ReplaceInstUsesWith(*TI, Mul);
2496 TI->setOperand(0, Mul);
2502 Value *ShortAnd = Builder->CreateAnd(Mul, ShortMask);
3573 case Instruction::Mul:
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp892 /// SimplifyMulInst - Given operands for a Mul, see if we can
899 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(),
931 if (Value *V = SimplifyAssociativeBinOp(Instruction::Mul, Op0, Op1, Q,
935 // Mul distributes over Add. Try some generic simplifications based on this.
936 if (Value *V = ExpandBinOp(Instruction::Mul, Op0, Op1, Instruction::Add,
943 if (Value *V = ThreadBinOpOverSelect(Instruction::Mul, Op0, Op1, Q,
950 if (Value *V = ThreadBinOpOverPHI(Instruction::Mul, Op0, Op1, Q,
1037 OverflowingBinaryOperator *Mul = cast<OverflowingBinaryOperator>(Op0); local
1038 // If the Mul knows it does not overflow, then we are good to go.
1039 if ((isSigned && Mul
[all...]
H A DScalarEvolution.cpp289 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); local
290 if (!Mul) return false;
293 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0));
1886 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); local
1887 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) {
1889 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getAPInt();
1890 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) {
1892 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul
2040 const SCEV *Mul = getMulExpr(Scale, Ops[i]); variable
2173 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); variable
[all...]
/external/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1773 static bool ConvertOmodMul(int64_t &Mul) { argument
1774 if (Mul != 1 && Mul != 2 && Mul != 4)
1777 Mul >>= 1;
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp664 SDValue Mul; local
667 Mul = N->getOperand(0);
670 Mul = N->getOperand(1);
678 Mul.getOperand(0), DAG.getConstant(0, dl, MVT::i32));
680 Mul.getOperand(1), DAG.getConstant(0, dl, MVT::i32));
686 unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0));
687 unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1));
688 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) &&
689 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) {
707 Mul
[all...]
/external/v8/src/arm64/
H A Dmacro-assembler-arm64-inl.h998 void MacroAssembler::Mul(const Register& rd, function in class:v8::internal::MacroAssembler
/external/v8/src/ppc/
H A Dmacro-assembler-ppc.h88 #define Mul mulld macro
103 #define Mul mullw macro
/external/v8/src/wasm/
H A Dasm-wasm-builder.cc1442 // Work around Mul + Div being defined in PPC assembler.
1443 #ifdef Mul
1444 #undef Mul macro
1523 BINOP_CASE(Token::MUL, Mul, NON_SIGNED_BINOP, true);
/external/valgrind/VEX/priv/
H A Dhost_tilegx_defs.h394 } Mul; member in union:__anon18364::__anon18365
H A Dhost_mips_defs.h432 } Mul; member in union:__anon18142::__anon18143
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.ml164 | Mul Constructor in type:Opcode/t
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1096 // Add, Sub, and Mul don't demand any bits in positions beyond that
2724 SDValue Mul = DAG.getNode(ISD::MUL, dl, Op1.getValueType(), Op1, Op2); local
2725 Created.push_back(Mul.getNode());
2726 return Mul;
/external/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp1486 SDValue Mul = DAG.getNode(ISD::FMUL, SL, MVT::f32, LHS, r0); local
1488 return DAG.getNode(ISD::FMUL, SL, MVT::f32, r3, Mul);
1518 SDValue Mul = DAG.getNode(ISD::FMUL, SL, MVT::f64, DivScale1, Fma3); local
1521 NegDivScale0, Mul, DivScale1);
1553 Fma4, Fma3, Mul, Scale);

Completed in 896 milliseconds

12