Lines Matching refs:ConstUser
477 const ConstantUser &ConstUser) { in emitBaseConstants() argument
480 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
481 ConstUser.OpndIdx); in emitBaseConstants()
488 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
490 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
494 DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
495 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
497 DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
517 DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
518 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
519 DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
527 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
528 ConstUser.OpndIdx)); in emitBaseConstants()
531 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
535 DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
536 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
541 DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()