This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: core changes for mep port


> Do you mean where is the best place to call these functions?

Yup.

> Look at the calls to cgraph_mark_edge in ipa-inline.c

There is no such function.  I couldn't find anything in ipa-inline
that (1) had access to both ends of the call edge, (2) was actually
called, and (3) was called before the inlining happened.

> and look at inline_forbidden_p--there I assume that cfun will hold
> the caller.

cfun holds the callee.  I found a lot of functions that only had
access to the callee (no help there).  I also found lots of functions
that looked promising but were never called.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]