aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Analysis/LiveVar/BBLiveVar.h9
-rw-r--r--lib/Target/SparcV9/LiveVar/BBLiveVar.h9
2 files changed, 18 insertions, 0 deletions
diff --git a/lib/Analysis/LiveVar/BBLiveVar.h b/lib/Analysis/LiveVar/BBLiveVar.h
index aaee45fd45..79cf7dce07 100644
--- a/lib/Analysis/LiveVar/BBLiveVar.h
+++ b/lib/Analysis/LiveVar/BBLiveVar.h
@@ -14,6 +14,15 @@
class BasicBlock;
class Value;
+enum LiveVarDebugLevel_t {
+ LV_DEBUG_None,
+ LV_DEBUG_Normal,
+ LV_DEBUG_Instr,
+ LV_DEBUG_Verbose
+};
+
+extern LiveVarDebugLevel_t DEBUG_LV;
+
class BBLiveVar : public Annotation {
const BasicBlock *BB; // pointer to BasicBlock
unsigned POID; // Post-Order ID
diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.h b/lib/Target/SparcV9/LiveVar/BBLiveVar.h
index aaee45fd45..79cf7dce07 100644
--- a/lib/Target/SparcV9/LiveVar/BBLiveVar.h
+++ b/lib/Target/SparcV9/LiveVar/BBLiveVar.h
@@ -14,6 +14,15 @@
class BasicBlock;
class Value;
+enum LiveVarDebugLevel_t {
+ LV_DEBUG_None,
+ LV_DEBUG_Normal,
+ LV_DEBUG_Instr,
+ LV_DEBUG_Verbose
+};
+
+extern LiveVarDebugLevel_t DEBUG_LV;
+
class BBLiveVar : public Annotation {
const BasicBlock *BB; // pointer to BasicBlock
unsigned POID; // Post-Order ID