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

1234

/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp58 BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V); local
62 BinaryOperator *MulClone = this->clone(Mul);
75 Mul->setHasNoUnsignedWrap();
79 MulClone = this->clone(Mul);
92 Mul->setHasNoSignedWrap();
96 MulClone = this->clone(Mul);
109 Mul->setHasNoUnsignedWrap(false);
113 MulClone = this->clone(Mul);
/external/clang/test/SemaTemplate/
H A Dalias-church-numerals.cpp22 typename X> using Mul = A<PartialApply<B,F>::template R, X>;
25 template<template<typename> class F, typename X> using Sixteen = Mul<Four, Four, F, X>;
26 template<template<typename> class F, typename X> using TwoHundredAndFiftySix = Mul<Sixteen, Sixteen, F, X>;
/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.cpp307 assert(Opcode == Instruction::Mul && "Unknown associative operation!");
587 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) {
920 BinaryOperator *Mul = local
923 Mul->takeName(Shl);
924 Shl->replaceAllUsesWith(Mul);
925 Mul->setDebugLoc(Shl->getDebugLoc());
926 return Mul;
963 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul);
1026 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul);
1114 Value *Mul
[all...]
H A DLoopStrengthReduce.cpp294 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S))
295 if (Mul->getOperand(0)->isAllOnesValue()) {
296 SmallVector<const SCEV *, 4> Ops(Mul->op_begin()+1, Mul->op_end());
521 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) {
522 if (IgnoreSignificantBits || isMulSExtable(Mul, SE)) {
525 for (SCEVMulExpr::op_iterator I = Mul->op_begin(), E = Mul->op_end();
705 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) {
706 if (Mul
[all...]
/external/llvm/include/llvm/
H A DOperator.h69 /// which may exhibit overflow - Add, Sub, and Mul. It does not include SDiv,
110 I->getOpcode() == Instruction::Mul ||
116 CE->getOpcode() == Instruction::Mul ||
220 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
H A DInstrTypes.h271 DEFINE_HELPERS(Mul, NSW) // CreateNSWMul
272 DEFINE_HELPERS(Mul, NUW) // CreateNUWMul
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp175 SDNode *Mul = CurDAG->getMachineNode(Opcode, dl, MVT::i32, MVT::Glue, local
178 return CurDAG->SelectNodeTo(N, SP::RDY, MVT::i32, SDValue(Mul, 1));
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp290 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); local
291 if (!Mul) return false;
294 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0));
1397 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); local
1398 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) {
1400 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getValue()->getValue();
1401 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) {
1403 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul
1519 const SCEV *Mul = getMulExpr(Scale, Ops[i]); variable
1649 const SCEVMulExpr *Mul = cast<SCEVMulExpr>(Ops[Idx]); variable
[all...]
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,
860 // Mul distributes over Sub. Try some generic simplifications based on this.
861 if (Value *V = FactorizeBinOp(Instruction::Sub, Op0, Op1, Instruction::Mul,
889 /// SimplifyMulInst - Given operands for a Mul, see if we can
896 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(),
928 if (Value *V = SimplifyAssociativeBinOp(Instruction::Mul, Op0, Op1, Q,
932 // Mul distributes over Add. Try some generic simplifications based on this.
933 if (Value *V = ExpandBinOp(Instruction::Mul, Op
1001 OverflowingBinaryOperator *Mul = cast<OverflowingBinaryOperator>(Op0); local
[all...]
H A DValueTracking.cpp373 case Instruction::Mul: {
663 Opcode == Instruction::Mul) {
1224 case Instruction::Mul: {
/external/llvm/lib/VMCore/
H A DInstruction.cpp112 case Mul: return "mul";
380 /// In LLVM, the Add, Mul, And, Or, and Xor operators are associative.
384 Opcode == Add || Opcode == Mul;
398 case Mul:
/external/llvm/include/llvm/MC/
H A DMCExpr.h327 Mul, ///< Multiplication. enumerator in enum:llvm::MCBinaryExpr::Opcode
395 return Create(Mul, LHS, RHS, Ctx);
/external/llvm/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp140 case Instruction::Mul:
206 case Instruction::Mul:
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp657 SDValue Mul; local
660 Mul = N->getOperand(0);
663 Mul = N->getOperand(1);
671 Mul.getOperand(0), DAG.getConstant(0, MVT::i32));
673 Mul.getOperand(1), DAG.getConstant(0, MVT::i32));
679 unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0));
680 unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1));
681 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) &&
682 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) {
700 Mul
[all...]
/external/clang/include/clang/AST/
H A DStmtVisitor.h121 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem)
/external/llvm/lib/MC/
H A DMCExpr.cpp117 case MCBinaryExpr::Mul: OS << '*'; break;
579 case MCBinaryExpr::Mul: Result = LHS * RHS; break;
/external/llvm/lib/Target/Mips/
H A DMipsISelDAGToDAG.cpp370 SDNode *Mul = CurDAG->getMachineNode(Opc, dl, MVT::Glue, N->getOperand(0), local
372 SDValue InFlag = SDValue(Mul, 0);
443 /// Mul with two results
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp51 if (I->getOpcode() == Instruction::Mul) {
171 case Instruction::Mul:
350 case Instruction::Mul:
670 case Instruction::Mul:
1011 case Instruction::Mul:
H A DInstCombineSelect.cpp87 case Instruction::Mul:
117 case Instruction::Mul:
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp922 SDValue Mul = ShiftOp0; local
923 if (Mul.getOpcode() != ISD::MUL) {
927 SDValue MulOp0 = Mul.getOperand(0);
928 SDValue MulOp1 = Mul.getOperand(1);
/external/llvm/include/llvm/Support/
H A DPatternMatch.h337 inline BinaryOp_match<LHS, RHS, Instruction::Mul>
339 return BinaryOp_match<LHS, RHS, Instruction::Mul>(L, R);
/external/v8/src/mips/
H A Dic-mips.cc791 __ Mul(scratch3, key, scratch3);
804 __ Mul(scratch3, scratch2, scratch3);
831 __ Mul(scratch, key, scratch);

Completed in 3326 milliseconds

1234