Lines Matching refs:ConstUser
169 const ConstantUser &ConstUser);
470 const ConstantUser &ConstUser) { in emitBaseConstants() argument
473 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
474 ConstUser.OpndIdx); in emitBaseConstants()
481 Mat->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
483 Value *Opnd = ConstUser.Inst->getOperand(ConstUser.OpndIdx); in emitBaseConstants()
487 DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
488 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, Mat) && Offset) in emitBaseConstants()
490 DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
510 DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
511 updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ClonedCastInst); in emitBaseConstants()
512 DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()
520 ConstExprInst->insertBefore(findMatInsertPt(ConstUser.Inst, in emitBaseConstants()
521 ConstUser.OpndIdx)); in emitBaseConstants()
524 ConstExprInst->setDebugLoc(ConstUser.Inst->getDebugLoc()); in emitBaseConstants()
528 DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n'); in emitBaseConstants()
529 if (!updateOperand(ConstUser.Inst, ConstUser.OpndIdx, ConstExprInst)) { in emitBaseConstants()
534 DEBUG(dbgs() << "To : " << *ConstUser.Inst << '\n'); in emitBaseConstants()