Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Detect loops & improved value tracking #53

@NaC-L

Description

@NaC-L

Basically we can find loops if the jump is calculated in the edge between jump and jump location. However, as we currently propagate the values, some of the information is lost. So when calculating constants, we should also come up with a way to locate where the constant was calculated. As far as I know, constants are obtained with getOrCreateConstant, so they are not unique. Additionally, when we determine that we are in a loop, we can lift in "loop mode" without folding and with phi's. After we lift the loop, we should try to find loop invariant code, unroll certain variables and etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions