Lines Matching refs:Mat
445 static bool updateOperand(Instruction *Inst, unsigned Idx, Instruction *Mat) { in updateOperand() argument
463 Inst->setOperand(Idx, Mat); in updateOperand()
471 Instruction *Mat = Base; in emitBaseConstants() local
475 Mat = BinaryOperator::Create(Instruction::Add, Base, Offset, in emitBaseConstants()
480 << Mat->getParent()->getName() << '\n' << *Mat << '\n'); in emitBaseConstants()
481 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
488 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
489 Mat->eraseFromParent(); in emitBaseConstants()
502 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
519 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
532 Mat->eraseFromParent(); in emitBaseConstants()