Lines Matching defs:Mat
440 /// instruction Mat. If the instruction is a PHI node then special
444 /// Mat was used for the update or not.
445 static bool updateOperand(Instruction *Inst, unsigned Idx, Instruction *Mat) {
463 Inst->setOperand(Idx, Mat);
471 Instruction *Mat = Base;
475 Mat = BinaryOperator::Create(Instruction::Add, Base, Offset,
480 << Mat->getParent()->getName() << '\n' << *Mat << '\n');
481 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc());
488 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset)
489 Mat->eraseFromParent();
502 ClonedCastInst->setOperand(0, Mat);
519 ConstExprInst->setOperand(0, Mat);
532 Mat->eraseFromParent();