NOTE: this is loop_architecture_pt_3 in disguise.
This PR is for the Week 1 milestone for my GSoC project. It adds
what source line range the source filename belongs to the loop body (for both for and while constructs)
what source line range defines the condition check (for the while construct)
These informations are stored as DebugInfoProperty in the LoopRegion class.
Needs confirmation
I created a separate file ( tests/loop_region_code_location_file.py) containing some functions annotated as dace program which are tested by the unit tests. I placed them to avoid messing up the line numbers every time the test file is modified.
NOTE: this is loop_architecture_pt_3 in disguise. This PR is for the Week 1 milestone for my GSoC project. It adds
for
andwhile
constructs)while
construct)These informations are stored as
DebugInfoProperty
in theLoopRegion
class.Needs confirmation
tests/loop_region_code_location_file.py
) containing some functions annotated as dace program which are tested by the unit tests. I placed them to avoid messing up the line numbers every time the test file is modified.