Lines Matching refs:Mat
451 static bool updateOperand(Instruction *Inst, unsigned Idx, Instruction *Mat) { in updateOperand() argument
469 Inst->setOperand(Idx, Mat); in updateOperand()
478 Instruction *Mat = Base; in emitBaseConstants() local
482 Mat = BinaryOperator::Create(Instruction::Add, Base, Offset, in emitBaseConstants()
487 << Mat->getParent()->getName() << '\n' << *Mat << '\n'); in emitBaseConstants()
488 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
495 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
496 Mat->eraseFromParent(); in emitBaseConstants()
509 ClonedCastInst->setOperand(0, Mat); in emitBaseConstants()
526 ConstExprInst->setOperand(0, Mat); in emitBaseConstants()
539 Mat->eraseFromParent(); in emitBaseConstants()