scan.cc: extract out PetScan::extract_affine_while
commit916efcabeab0e190ab3aefd8005fd1d4b51ed6e8
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 30 May 2012 14:02:54 +0000 (30 16:02 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 3 Jun 2012 11:38:45 +0000 (3 13:38 +0200)
tree42aa76a5e161beb53112e366877a1b0fc870069d
parent1dfbf2d2306536dbe8cca158274a839831c6ffcf
scan.cc: extract out PetScan::extract_affine_while

This makes extract(WhileStmt *) more readable and prepares for
adding support for while loops with non-affine conditions.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc
scan.h