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

123

/macosx-10.10.1/llvmCore-3425.0.34/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);
/macosx-10.10.1/llvmCore-3425.0.34/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...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DOperator.h71 /// which may exhibit overflow - Add, Sub, and Mul. It does not include SDiv,
112 I->getOpcode() == Instruction::Mul ||
118 CE->getOpcode() == Instruction::Mul ||
222 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
H A DInstrTypes.h271 DEFINE_HELPERS(Mul, NSW) // CreateNSWMul
272 DEFINE_HELPERS(Mul, NUW) // CreateNUWMul
/macosx-10.10.1/llvmCore-3425.0.34/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));
/macosx-10.10.1/llvmCore-3425.0.34/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: {
/macosx-10.10.1/llvmCore-3425.0.34/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:
H A DConstantFold.cpp890 case Instruction::Mul: {
947 case Instruction::Mul:
1051 case Instruction::Mul:
1178 case Instruction::Mul:
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/MC/
H A DMCExpr.h327 Mul, ///< Multiplication. enumerator in enum:llvm::MCBinaryExpr::Opcode
395 return Create(Mul, LHS, RHS, Ctx);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp140 case Instruction::Mul:
206 case Instruction::Mul:
/macosx-10.10.1/llvmCore-3425.0.34/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...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/MC/
H A DMCExpr.cpp117 case MCBinaryExpr::Mul: OS << '*'; break;
579 case MCBinaryExpr::Mul: Result = LHS * RHS; break;
/macosx-10.10.1/llvmCore-3425.0.34/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
/macosx-10.10.1/llvmCore-3425.0.34/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:
/macosx-10.10.1/llvmCore-3425.0.34/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);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DPatternMatch.h337 inline BinaryOp_match<LHS, RHS, Instruction::Mul>
339 return BinaryOp_match<LHS, RHS, Instruction::Mul>(L, R);
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp658 SDValue Mul = DAG.getNode(N->getOpcode(), DL, VTs, LHS, RHS); local
666 SDValue Hi = DAG.getNode(ISD::SRL, DL, Mul.getValueType(), Mul,
672 SDValue SExt = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, Mul.getValueType(),
673 Mul, DAG.getValueType(SmallVT));
674 Overflow = DAG.getSetCC(DL, N->getValueType(1), SExt, Mul, ISD::SETNE);
680 SDValue(Mul.getNode(), 1));
684 return Mul;
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/
H A DExecutionEngine.cpp690 case Instruction::Mul:
709 case Instruction::Mul: GV.IntVal = LHS.IntVal * RHS.IntVal; break;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/CppBackend/
H A DCPPBackend.cpp849 case Instruction::Mul: Out << "getMul("; break;
1191 case Instruction::Mul:
1211 case Instruction::Mul: Out << "Instruction::Mul"; break;
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp531 case Instruction::Mul: R.IntVal = Src1.IntVal * Src2.IntVal; break;
1241 case Instruction::Mul: Dest.IntVal = Op0.IntVal * Op1.IntVal; break;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp183 case Instruction::Mul:
196 case Instruction::Mul: return MCBinaryExpr::CreateMul(LHS, RHS, Ctx);

Completed in 448 milliseconds

123