aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/LiveVar/BBLiveVar.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/LiveVar/BBLiveVar.h')
-rw-r--r--lib/Analysis/LiveVar/BBLiveVar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Analysis/LiveVar/BBLiveVar.h b/lib/Analysis/LiveVar/BBLiveVar.h
index 55a6c3a..6d7d4eb 100644
--- a/lib/Analysis/LiveVar/BBLiveVar.h
+++ b/lib/Analysis/LiveVar/BBLiveVar.h
@@ -35,6 +35,12 @@ class BBLiveVar
const LiveVarSet *const InSetOfThisBB,
const BasicBlock *const PredBB);
+ // To add an operand which is a def
+ void addDef(const Value *Op);
+
+ // To add an operand which is a use
+ void addUse(const Value *Op);
+
public:
BBLiveVar( const BasicBlock* baseBB, unsigned int POId);