summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sb/sb_liveness.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/sb/sb_liveness.cpp')
-rw-r--r--src/gallium/drivers/r600/sb/sb_liveness.cpp25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_liveness.cpp b/src/gallium/drivers/r600/sb/sb_liveness.cpp
index 50988d4f0bb..8ecc9a59872 100644
--- a/src/gallium/drivers/r600/sb/sb_liveness.cpp
+++ b/src/gallium/drivers/r600/sb/sb_liveness.cpp
@@ -25,7 +25,6 @@
*/
#include "sb_shader.h"
-
#include "sb_pass.h"
#define LIV_DEBUG 0
@@ -38,8 +37,6 @@
namespace r600_sb {
-using std::cerr;
-
bool liveness::visit(container_node& n, bool enter) {
if (enter) {
n.live_after = live;
@@ -191,9 +188,9 @@ void liveness::update_interferences() {
return;
LIV_DUMP(
- cerr << "interf ";
+ sblog << "interf ";
dump::dump_set(sh, live);
- cerr << "\n";
+ sblog << "\n";
);
val_set& s = live;
@@ -209,11 +206,11 @@ void liveness::update_interferences() {
v->interferences.remove_val(v);
LIV_DUMP(
- cerr << "interferences updated for ";
+ sblog << "interferences updated for ";
dump::dump_val(v);
- cerr << " : ";
+ sblog << " : ";
dump::dump_set(sh, v->interferences);
- cerr << "\n";
+ sblog << "\n";
);
}
live_changed = false;
@@ -320,12 +317,12 @@ void liveness::process_ins(node& n) {
void liveness::process_op(node& n) {
LIV_DUMP(
- cerr << "process_op: ";
+ sblog << "process_op: ";
dump::dump_op(&n);
- cerr << "\n";
- cerr << "process_op: live_after:";
+ sblog << "\n";
+ sblog << "process_op: live_after:";
dump::dump_set(sh, live);
- cerr << "\n";
+ sblog << "\n";
);
if(!n.dst.empty() || n.is_cf_op(CF_OP_CALL_FS)) {
@@ -339,9 +336,9 @@ void liveness::process_op(node& n) {
process_ins(n);
LIV_DUMP(
- cerr << "process_op: live_before:";
+ sblog << "process_op: live_before:";
dump::dump_set(sh, live);
- cerr << "\n";
+ sblog << "\n";
);
}