Commit Graph

12 Commits

Author SHA1 Message Date
Andrea Gussoni 0281dbe040 DAGify: insert Head metadata 2025-09-10 13:36:09 +02:00
Andrea Gussoni 7965fa3039 DAGify: implement abnormal entry normalization
Perform the abnormal (late) entries normalization in the DAGify pass.

In this way, we are exploiting the information computed by
`GenericRegionInfo` as close as possible to where it is computed the
first time (in DAGify).

Actualize the unit tests to reflect these changes.
2025-09-10 13:36:09 +02:00
Andrea Gussoni c0b9e3b425 DAGify: rename Logger 2025-09-10 13:36:08 +02:00
Andrea Gussoni 4143187942 DAGify: Logger typo 2025-09-10 13:36:08 +02:00
Andrea Gussoni 95ecd2d519 DAGify: compute GenericRegionInfo on raw CFG
Compute the `GenericRegionInfo` analysis on the raw CFG and not on the
`ScopeGraph`.
2025-09-10 13:36:08 +02:00
Andrea Gussoni 4b4fe388cb DAGify: improve variable name 2025-09-10 13:36:08 +02:00
Andrea Gussoni cf7fba7beb DAGify: single ScopeGraphBuilder instance 2025-06-12 15:31:38 +02:00
Andrea Gussoni 71988af041 Fix MIT license 2025-04-30 16:10:54 +02:00
Andrea Gussoni c14c2d64dc DAGify: reorder FunctionPass method declarations 2025-04-02 16:47:14 +02:00
Andrea Gussoni 023807f0bb DAGify: remove useless llvm:: namespace 2025-04-02 16:47:14 +02:00
Andrea Gussoni f92db5d4a6 DAGify: use the makeGotoEdge helper 2025-04-02 16:47:14 +02:00
Andrea Gussoni 93f4a620dd DAGify: implement the DAGify pass
Implement the DAGify pass. This pass, using the results exposed by the
`GenericRegionInfo` analysis, transforms all the retreating edges of
each identified `GenericRegion`, processed in a bottom-up fashion, into
a `goto` edge on the `ScopeGraph`.
2025-03-11 12:26:36 +01:00