nv50/ir: Scan program functions in DFS-postorder.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 9 Apr 2012 19:18:31 +0000 (21:18 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 14 Apr 2012 19:54:01 +0000 (21:54 +0200)
commitd32ebb8c304725fa6bb7ec2d3d40ce828c713917
treeb519847487de56fa05b7de9f3bd5af2c2972ae6f
parent78de8c8ab54c50c96bc3fae2fe0976054e0acd14
nv50/ir: Scan program functions in DFS-postorder.

The reason is that several passes (regalloc, function argument
binding, inlining) are going to require the callees of a function to
be processed before the caller.
src/gallium/drivers/nv50/codegen/nv50_ir.cpp
src/gallium/drivers/nv50/codegen/nv50_ir.h
src/gallium/drivers/nv50/codegen/nv50_ir_bb.cpp
src/gallium/drivers/nv50/codegen/nv50_ir_inlines.h
src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp