Home
last modified time | relevance | path

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

1234

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp61 BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V); in TEST_F() local
65 BinaryOperator *MulClone = this->clone(Mul); in TEST_F()
78 Mul->setHasNoUnsignedWrap(); in TEST_F()
82 MulClone = this->clone(Mul); in TEST_F()
95 Mul->setHasNoSignedWrap(); in TEST_F()
99 MulClone = this->clone(Mul); in TEST_F()
112 Mul->setHasNoUnsignedWrap(false); in TEST_F()
116 MulClone = this->clone(Mul); in TEST_F()
/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/lib/Transforms/Scalar/
DReassociate.cpp307 assert(Opcode == Instruction::Mul && "Unknown associative operation!"); in IncorporateWeight()
544 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) { in LinearizeExprTree()
877 BinaryOperator *Mul = in ConvertShiftToMul() local
880 Mul->takeName(Shl); in ConvertShiftToMul()
881 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul()
882 Mul->setDebugLoc(Shl->getDebugLoc()); in ConvertShiftToMul()
883 return Mul; in ConvertShiftToMul()
920 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul); in RemoveFactorFromExpression()
983 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul); in FindSingleUseMultiplyFactors()
1071 Value *Mul = ConstantInt::get(cast<IntegerType>(I->getType()), NumFound); in OptimizeAdd() local
[all …]
DLoopStrengthReduce.cpp305 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) in DoInitialMatch() local
306 if (Mul->getOperand(0)->isAllOnesValue()) { in DoInitialMatch()
307 SmallVector<const SCEV *, 4> Ops(Mul->op_begin()+1, Mul->op_end()); in DoInitialMatch()
532 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) { in getExactSDiv() local
533 if (IgnoreSignificantBits || isMulSExtable(Mul, SE)) { in getExactSDiv()
536 for (SCEVMulExpr::op_iterator I = Mul->op_begin(), E = Mul->op_end(); in getExactSDiv()
716 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(S)) { in isHighCostExpansion() local
717 if (Mul->getNumOperands() == 2) { in isHighCostExpansion()
719 if (isa<SCEVConstant>(Mul->getOperand(0))) in isHighCostExpansion()
720 return isHighCostExpansion(Mul->getOperand(1), Processed, SE); in isHighCostExpansion()
[all …]
/external/skia/legacy/src/core/
DSkFloat.h45 void mul(const SkFloat& a) { fPacked = Mul(fPacked, a.fPacked); } in mul()
46 void setMul(const SkFloat& a, const SkFloat& b) { fPacked = Mul(a.fPacked, b.fPacked); } in setMul()
99 static int32_t Mul(int32_t, int32_t);
DSkFloat.cpp170 int32_t SkFloat::Mul(int32_t packed_a, int32_t packed_b) in Mul() function in SkFloat
186 return Mul(packed, SetShift(n, 0)); in MulInt()
DSkFP.h60 #define SkFPMul(a, b) SkFloat::Mul(a, b)
/external/skia/src/core/
DSkFloat.h45 void mul(const SkFloat& a) { fPacked = Mul(fPacked, a.fPacked); } in mul()
46 void setMul(const SkFloat& a, const SkFloat& b) { fPacked = Mul(a.fPacked, b.fPacked); } in setMul()
99 static int32_t Mul(int32_t, int32_t);
DSkFloat.cpp170 int32_t SkFloat::Mul(int32_t packed_a, int32_t packed_b) in Mul() function in SkFloat
186 return Mul(packed, SetShift(n, 0)); in MulInt()
DSkFP.h60 #define SkFPMul(a, b) SkFloat::Mul(a, b)
/external/llvm/lib/Analysis/
DScalarEvolution.cpp296 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(this); in isNonConstantNegative() local
297 if (!Mul) return false; in isNonConstantNegative()
300 const SCEVConstant *SC = dyn_cast<SCEVConstant>(Mul->getOperand(0)); in isNonConstantNegative()
1403 const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(Ops[i]); in CollectAddOperandsWithScales() local
1404 if (Mul && isa<SCEVConstant>(Mul->getOperand(0))) { in CollectAddOperandsWithScales()
1406 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getValue()->getValue(); in CollectAddOperandsWithScales()
1407 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales()
1409 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales()
1417 SmallVector<const SCEV *, 4> MulOps(Mul->op_begin()+1, Mul->op_end()); in CollectAddOperandsWithScales()
1525 const SCEV *Mul = getMulExpr(Scale, Ops[i]); in getAddExpr() local
[all …]
DInstructionSimplify.cpp637 if (Value *V = FactorizeBinOp(Instruction::Add, Op0, Op1, Instruction::Mul, in SimplifyAddInst()
837 if (Value *V = FactorizeBinOp(Instruction::Sub, Op0, Op1, Instruction::Mul, in SimplifySubInst()
978 return ConstantFoldInstOperands(Instruction::Mul, CLHS->getType(), in SimplifyMulInst()
1010 if (Value *V = SimplifyAssociativeBinOp(Instruction::Mul, Op0, Op1, Q, in SimplifyMulInst()
1015 if (Value *V = ExpandBinOp(Instruction::Mul, Op0, Op1, Instruction::Add, in SimplifyMulInst()
1022 if (Value *V = ThreadBinOpOverSelect(Instruction::Mul, Op0, Op1, Q, in SimplifyMulInst()
1029 if (Value *V = ThreadBinOpOverPHI(Instruction::Mul, Op0, Op1, Q, in SimplifyMulInst()
1103 OverflowingBinaryOperator *Mul = cast<OverflowingBinaryOperator>(Op0); in SimplifyDiv() local
1105 if ((isSigned && Mul->hasNoSignedWrap()) || in SimplifyDiv()
1106 (!isSigned && Mul->hasNoUnsignedWrap())) in SimplifyDiv()
[all …]
DCostModel.cpp110 case Instruction::Mul: in getInstructionCost()
/external/llvm/include/llvm/IR/
DOperator.h114 I->getOpcode() == Instruction::Mul || in classof()
120 CE->getOpcode() == Instruction::Mul || in classof()
335 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
/external/valgrind/main/VEX/priv/
Dhost_mips_defs.c1172 i->Min.Mul.syned = syned; in MIPSInstr_Mul()
1173 i->Min.Mul.widening = wid; /* widen=True else False */ in MIPSInstr_Mul()
1174 i->Min.Mul.sz32 = sz32; /* True = 32 bits */ in MIPSInstr_Mul()
1175 i->Min.Mul.dst = dst; in MIPSInstr_Mul()
1176 i->Min.Mul.srcL = srcL; in MIPSInstr_Mul()
1177 i->Min.Mul.srcR = srcR; in MIPSInstr_Mul()
1539 switch (i->Min.Mul.widening) { in ppMIPSInstr()
1542 ppHRegMIPS(i->Min.Mul.dst, mode64); in ppMIPSInstr()
1544 ppHRegMIPS(i->Min.Mul.srcL, mode64); in ppMIPSInstr()
1546 ppHRegMIPS(i->Min.Mul.srcR, mode64); in ppMIPSInstr()
[all …]
/external/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/llvm/test/Transforms/Reassociate/
Dotherops.ll1 ; Reassociation should apply to Add, Mul, And, Or, & Xor
/external/llvm/lib/IR/
DInstruction.cpp202 case Mul: return "mul"; in getOpcodeName()
478 Opcode == Add || Opcode == Mul; in isAssociative()
506 case Mul: in isCommutative()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp658 SDValue Mul; in TryExpandADDWithMul() local
661 Mul = N->getOperand(0); in TryExpandADDWithMul()
664 Mul = N->getOperand(1); in TryExpandADDWithMul()
672 Mul.getOperand(0), DAG.getConstant(0, MVT::i32)); in TryExpandADDWithMul()
674 Mul.getOperand(1), DAG.getConstant(0, MVT::i32)); in TryExpandADDWithMul()
680 unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0)); in TryExpandADDWithMul()
681 unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1)); in TryExpandADDWithMul()
682 if (DAG.MaskedValueIsZero(Mul.getOperand(0), HighMask) && in TryExpandADDWithMul()
683 DAG.MaskedValueIsZero(Mul.getOperand(1), HighMask)) { in TryExpandADDWithMul()
701 Mul.getOperand(0), DAG.getConstant(1, MVT::i32)); in TryExpandADDWithMul()
[all …]
/external/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp43 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0), in selectMULT() local
45 SDValue InFlag = SDValue(Mul, 0); in selectMULT()
/external/llvm/include/llvm/MC/
DMCExpr.h342 Mul, ///< Multiplication. enumerator
410 return Create(Mul, LHS, RHS, Ctx); in CreateMul()
/external/icu4c/data/locales/
Dsbp.txt81 "Mul",
Dkln.txt157 "Mul",
Dbez.txt76 "Mul",
/external/clang/include/clang/AST/
DStmtVisitor.h121 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) in BINOP_FALLBACK()

1234