summaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/LiveVar/BBLiveVar.h
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2003-08-12 22:19:59 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2003-08-12 22:19:59 +0000
commit88d962aa58db913de0cbb8a9e4446d482994fd93 (patch)
treeec2b5a499b85eb2d62272933227108e9ecdae8dc /lib/Target/SparcV9/LiveVar/BBLiveVar.h
parentaee2fdf0690f1e074a5193bb73005f10abba8d4b (diff)
downloadllvm-88d962aa58db913de0cbb8a9e4446d482994fd93.tar.gz
llvm-88d962aa58db913de0cbb8a9e4446d482994fd93.tar.bz2
llvm-88d962aa58db913de0cbb8a9e4446d482994fd93.tar.xz
For an instruction with delay slots, mark all live values before
the instruction as being live before/after the delay slot instructions as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/LiveVar/BBLiveVar.h')
-rw-r--r--lib/Target/SparcV9/LiveVar/BBLiveVar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.h b/lib/Target/SparcV9/LiveVar/BBLiveVar.h
index ab11a93d7d..d9006290c9 100644
--- a/lib/Target/SparcV9/LiveVar/BBLiveVar.h
+++ b/lib/Target/SparcV9/LiveVar/BBLiveVar.h
@@ -72,7 +72,10 @@ class BBLiveVar : public Annotation {
bool applyFlowFunc();
inline const ValueSet &getOutSet() const { return OutSet; }
+ inline ValueSet &getOutSet() { return OutSet; }
+
inline const ValueSet &getInSet() const { return InSet; }
+ inline ValueSet &getInSet() { return InSet; }
void printAllSets() const; // for printing Def/In/Out sets
void printInOutSets() const; // for printing In/Out sets