reducing the number of variables that get expanded, sort is throwing problems though
got sort through again
removed induction variable searches
small code removal
removed duplicated code for loops and scoped regions
trying to make if-statements first class regions
need to change if-statements to only be first class when containing a barrier
added some return codes
set conditional regions to pass data to their parent is no barrier is found
started searching for deps in dependent regions
may have made it so that all variables are expanded again through dep region checking
fixed dependency checking in the main loop
added a check for so the second transformation pass isnt run if there isn't a barrier, but need to handle returns
KernelInitialiser now fixes returns
corrected the problem that thread dep if statements made their parents dependent too
changed return handling to use goto
just wrote notes on how to handle unaries properly
added some more notes
now treat continue and breaks in non-parallel regions as barrier but pathfinder is still a bit off
currently treating all returns as barriers