Lines Matching full:tlo
114 void CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO);
353 CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO) {
354 return ((DAGCombiner*)DC)->CommitTargetLoweringOpt(TLO);
614 CommitTargetLoweringOpt(const TargetLowering::TargetLoweringOpt &TLO) {
618 DAG.ReplaceAllUsesOfValueWith(TLO.Old, TLO.New, &DeadNodes);
621 AddToWorkList(TLO.New.getNode());
622 AddUsersToWorkList(TLO.New.getNode());
627 if (TLO.Old.getNode()->use_empty()) {
628 removeFromWorkList(TLO.Old.getNode());
632 for (unsigned i = 0, e = TLO.Old.getNode()->getNumOperands(); i != e; ++i)
633 if (TLO.Old.getNode()->getOperand(i).getNode()->hasOneUse())
634 AddToWorkList(TLO.Old.getNode()->getOperand(i).getNode());
636 DAG.DeleteNode(TLO.Old.getNode());
644 TargetLowering::TargetLoweringOpt TLO(DAG, LegalTypes, LegalOperations);
646 if (!TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO))
655 TLO.Old.getNode()->dump(&DAG);
657 TLO.New.getNode()->dump(&DAG);
660 CommitTargetLoweringOpt(TLO);