Home | History | Annotate | Download | only in IPO

Lines Matching refs:Returned

379       // The value is returned from a function. It's only live when the
736 // Keep track of if we have a live 'returned' argument
756 HasLiveReturnedArg |= PAL.hasParamAttribute(i, Attribute::Returned);
774 // If there is a function with a live 'returned' argument but a dead return
776 // 1) Eliminate the return value and take off the 'returned' attribute on the
778 // 2) Retain the 'returned' attribute and treat the return value (but not the
783 // is free to use the 'returned' attribute to do things like eliding
788 // Fortunately, the only places where 'returned' is currently generated by
789 // the FE are places where 'returned' is basically free and almost always a
792 // This should be revisited if 'returned' is ever applied more liberally.
898 if (NRetTy != RetTy && Attrs.hasAttribute(Attribute::Returned)) {
899 // If the return type has changed, then get rid of 'returned' on the
900 // call site. The alternative is to make all 'returned' attributes on
901 // call sites keep the return value alive just like 'returned'
906 AttrBuilder(Attrs).removeAttribute(Attribute::Returned)));