summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDGPUTargetMachine.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-05-01 13:08:26 -0400
committerTom Stellard <[email protected]>2012-05-01 13:12:27 -0400
commitff10dbf35f1c083d38bbdbec30cadf6703b609e5 (patch)
tree256b0f0f4a912481893829b83830c6c7c8851f21 /src/gallium/drivers/radeon/AMDGPUTargetMachine.h
parent2d75a1e25e6ddcd65964d30fc3c782df2e880cc4 (diff)
radeon/llvm: Add subtarget feature: DumpCode
With this feature enabled, the LLVM backend will dump the MachineIntrs prior to emitting code. The mesa env variable R600_DUMP_SHADERS will enable this feature in the backend.
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUTargetMachine.h')
-rw-r--r--src/gallium/drivers/radeon/AMDGPUTargetMachine.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUTargetMachine.h b/src/gallium/drivers/radeon/AMDGPUTargetMachine.h
index d4165b09e84..7f621d88e0a 100644
--- a/src/gallium/drivers/radeon/AMDGPUTargetMachine.h
+++ b/src/gallium/drivers/radeon/AMDGPUTargetMachine.h
@@ -52,9 +52,6 @@ public:
formatted_raw_ostream &Out,
CodeGenFileType FileType,
bool DisableVerify);
-public:
- void dumpCode() { mDump = true; }
- bool shouldDumpCode() const { return mDump; }
};
} /* End namespace llvm */