Lines Matching defs:Mat
726 /// instruction Mat. If the instruction is a PHI node then special
730 /// Mat was used for the update or not.
731 static bool updateOperand(Instruction *Inst, unsigned Idx, Instruction *Mat) {
749 Inst->setOperand(Idx, Mat);
757 Instruction *Mat = Base;
766 Mat = GetElementPtrInst::Create(Type::getInt8Ty(*Ctx), Base, Adj->Offset,
769 Mat = new BitCastInst(Mat, Adj->Ty, "mat_bitcast",
773 Mat =
779 << Mat->getParent()->getName() << '\n'
780 << *Mat << '\n');
781 Mat->setDebugLoc(Adj->User.Inst->getDebugLoc());
788 if (!updateOperand(Adj->User.Inst, Adj->User.OpndIdx, Mat) && Adj->Offset)
789 Mat->eraseFromParent();
802 ClonedCastInst->setOperand(0, Mat);
820 updateOperand(Adj->User.Inst, Adj->User.OpndIdx, Mat);
828 ConstExprInst->setOperand(0, Mat);
839 Mat->eraseFromParent();