Treehydra: support inter-procedural analysis

RESOLVED FIXED

Status

RESOLVED FIXED
10 years ago
7 months ago

People

(Reporter: taras.mozilla, Assigned: taras.mozilla)

Tracking

Trunk
x86
All
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

10 years ago
Currently treehydra only hooks into the GIMPLE lowering passes. IPA ones are interesting because they allow one to see functions in their inlined form.
Using IPA is also a performance advantage because there is only a single entry point into js, so there is no need to reset the lazy node cache on every function.

This adds a process_cgraph function as it doesn't make sense to reuse process_tree.


In order for this to work one needs to apply an updated gcc plugin patch.
(Assignee)

Comment 1

10 years ago
Created attachment 324309 [details] [diff] [review]
impl + testcase

silly bugzilla wouldn't let me do this in one shot
Attachment #324309 - Flags: review?(dmandelin)
Comment on attachment 324309 [details] [diff] [review]
impl + testcase

I don't understand much of this, but at least it looks like process_tree with CFGs still works.
Attachment #324309 - Flags: review?(dmandelin) → review+

Updated

10 years ago
Depends on: 447560
(Assignee)

Comment 3

10 years ago
pushed a while ago
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Updated

7 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.