Searched refs:Mul (Results 1 - 25 of 104) sorted by relevance

12345

/external/clang/test/SemaTemplate/
H A Dalias-church-numerals.cpp23 typename X> using Mul = A<PartialApply<B,F>::template R, X>;
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, F, X>;
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp61 BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V); local
65 BinaryOperator *MulClone = this->clone(Mul);
78 Mul->setHasNoUnsignedWrap();
82 MulClone = this->clone(Mul);
95 Mul->setHasNoSignedWrap();
99 MulClone = this->clone(Mul);
112 Mul->setHasNoUnsignedWrap(false);
116 MulClone = this->clone(Mul);
/external/chromium_org/crypto/
H A Dp224.cc167 // Mul computes *out = a*b
171 void Mul(FieldElement* out, const FieldElement& a, const FieldElement& b) { function in namespace:__anon8169
247 Mul(&f1, f1, in); // 2**2 - 1
249 Mul(&f1, f1, in); // 2**3 - 1
253 Mul(&f1, f1, f2); // 2**6 - 1
258 Mul(&f2, f2, f1); // 2**12 - 1
263 Mul(&f2, f3, f2); // 2**24 - 1
268 Mul(&f3, f3, f2); // 2**48 - 1
273 Mul(&f3, f3, f4); // 2**96 - 1
278 Mul(
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkFloat.h45 void mul(const SkFloat& a) { fPacked = Mul(fPacked, a.fPacked); }
46 void setMul(const SkFloat& a, const SkFloat& b) { fPacked = Mul(a.fPacked, b.fPacked); }
99 static int32_t Mul(int32_t, int32_t);
H A DSkFP.h60 #define SkFPMul(a, b) SkFloat::Mul(a, b)
H A DSkFloat.cpp170 int32_t SkFloat::Mul(int32_t packed_a, int32_t packed_b) function in class:SkFloat
186 return Mul(packed, SetShift(n, 0));
/external/skia/src/core/
H A DSkFloat.h45 void mul(const SkFloat& a) { fPacked = Mul(fPacked, a.fPacked); }
46 void setMul(const SkFloat& a, const SkFloat& b) { fPacked = Mul(a.fPacked, b.fPacked); }
99 static int32_t Mul(int32_t, int32_t);
H A DSkFP.h60 #define SkFPMul(a, b) SkFloat::Mul(a, b)
H A DSkFloat.cpp170 int32_t SkFloat::Mul(int32_t packed_a, int32_t packed_b) function in class:SkFloat
186 return Mul(packed, SetShift(n, 0));
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp386 assert(Opcode == Instruction::Mul && "Unknown associative operation!");
623 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) {
956 BinaryOperator *Mul = local
959 Mul->takeName(Shl);
960 Shl->replaceAllUsesWith(Mul);
961 Mul->setDebugLoc(Shl->getDebugLoc());
962 return Mul;
999 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul);
1062 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul);
1394 Value *Mul
[all...]
H A DLoopStrengthReduce.cpp305 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S))
306 if (Mul->getOperand(0)->isAllOnesValue()) {
307 SmallVector<const SCEV *, 4> Ops(Mul->op_begin()+1, Mul->op_end());
532 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) {
533 if (IgnoreSignificantBits || isMulSExtable(Mul, SE)) {
536 for (SCEVMulExpr::op_iterator I = Mul->op_begin(), E = Mul->op_end();
716 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) {
717 if (Mul
[all...]
/external/llvm/include/llvm/IR/
H A DOperator.h76 /// which may exhibit overflow - Add, Sub, and Mul. It does not include SDiv,
114 I->getOpcode() == Instruction::Mul ||
120 CE->getOpcode() == Instruction::Mul ||
335 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
H A DInstrTypes.h269 DEFINE_HELPERS(Mul, NSW) // CreateNSWMul
270 DEFINE_HELPERS(Mul, NUW) // CreateNUWMul
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp181 SDNode *Mul = CurDAG->getMachineNode(Opcode, dl, MVT::i32, MVT::Glue, local
184 return CurDAG->SelectNodeTo(N, SP::RDY, MVT::i32, SDValue(Mul, 1));
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp296 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); local
297 if (!Mul) return false;
300 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0));
1406 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); local
1407 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) {
1409 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getValue()->getValue();
1410 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) {
1412 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul
1528 const SCEV *Mul = getMulExpr(Scale, Ops[i]); variable
1658 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); variable
[all...]
H A DCostModel.cpp127 case Instruction::Mul:
H A DInstructionSimplify.cpp187 /// OpCodeToExtract is Mul then this tries to turn "(A*B)+(A*C)" into "A*(B+C)".
636 // Mul distributes over Add. Try some generic simplifications based on this.
637 if (Value *V = FactorizeBinOp(Instruction::Add, Op0, Op1, Instruction::Mul,
835 // Mul distributes over Sub. Try some generic simplifications based on this.
836 if (Value *V = FactorizeBinOp(Instruction::Sub, Op0, Op1, Instruction::Mul,
970 /// SimplifyMulInst - Given operands for a Mul, see if we can
977 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(),
1009 if (Value *V = SimplifyAssociativeBinOp(Instruction::Mul, Op0, Op1, Q,
1013 // Mul distributes over Add. Try some generic simplifications based on this.
1014 if (Value *V = ExpandBinOp(Instruction::Mul, Op
1102 OverflowingBinaryOperator *Mul = cast<OverflowingBinaryOperator>(Op0); local
[all...]
/external/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp48 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0), local
50 SDValue InFlag = SDValue(Mul, 0);
287 /// Mul with two results
/external/valgrind/main/VEX/priv/
H A Dhost_mips_defs.c1172 i->Min.Mul.syned = syned;
1173 i->Min.Mul.widening = wid; /* widen=True else False */
1174 i->Min.Mul.sz32 = sz32; /* True = 32 bits */
1175 i->Min.Mul.dst = dst;
1176 i->Min.Mul.srcL = srcL;
1177 i->Min.Mul.srcR = srcR;
1539 switch (i->Min.Mul.widening) {
1542 ppHRegMIPS(i->Min.Mul.dst, mode64);
1544 ppHRegMIPS(i->Min.Mul.srcL, mode64);
1546 ppHRegMIPS(i->Min.Mul
[all...]
/external/llvm/lib/IR/
H A DInstruction.cpp202 case Mul: return "mul";
474 /// In LLVM, the Add, Mul, And, Or, and Xor operators are associative.
478 Opcode == Add || Opcode == Mul;
506 case Mul:
/external/llvm/include/llvm/MC/
H A DMCExpr.h374 Mul, ///< Multiplication. enumerator in enum:llvm::MCBinaryExpr::Opcode
442 return Create(Mul, LHS, RHS, Ctx);
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp610 SDValue Mul; local
613 Mul = N->getOperand(0);
616 Mul = N->getOperand(1);
624 Mul.getOperand(0), DAG.getConstant(0, MVT::i32));
626 Mul.getOperand(1), DAG.getConstant(0, MVT::i32));
632 unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0));
633 unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1));
634 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) &&
635 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) {
653 Mul
[all...]
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp218 case Instruction::Mul: case Instruction::FMul:
/external/llvm/lib/MC/
H A DMCExpr.cpp111 case MCBinaryExpr::Mul: OS << '*'; break;
726 case MCBinaryExpr::Mul: Result = LHS * RHS; break;
/external/clang/include/clang/AST/
H A DStmtVisitor.h122 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem)

Completed in 831 milliseconds

12345