summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h8
-rw-r--r--include/llvm/CodeGen/FunctionLiveVarInfo.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h b/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
index 07cf225b2c..d107350dab 100644
--- a/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
+++ b/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
@@ -119,17 +119,17 @@ public:
// --------- Functions to access analysis results -------------------
// gets OutSet of a BB
- const ValueSet *getOutSetOfBB(const BasicBlock *BB) const;
+ const ValueSet &getOutSetOfBB(const BasicBlock *BB) const;
// gets InSet of a BB
- const ValueSet *getInSetOfBB(const BasicBlock *BB) const;
+ const ValueSet &getInSetOfBB(const BasicBlock *BB) const;
// gets the Live var set BEFORE an instruction
- const ValueSet *getLiveVarSetBeforeMInst(const MachineInstr *MI,
+ const ValueSet &getLiveVarSetBeforeMInst(const MachineInstr *MI,
const BasicBlock *BB);
// gets the Live var set AFTER an instruction
- const ValueSet *getLiveVarSetAfterMInst(const MachineInstr *MI,
+ const ValueSet &getLiveVarSetAfterMInst(const MachineInstr *MI,
const BasicBlock *BB);
};
diff --git a/include/llvm/CodeGen/FunctionLiveVarInfo.h b/include/llvm/CodeGen/FunctionLiveVarInfo.h
index 07cf225b2c..d107350dab 100644
--- a/include/llvm/CodeGen/FunctionLiveVarInfo.h
+++ b/include/llvm/CodeGen/FunctionLiveVarInfo.h
@@ -119,17 +119,17 @@ public:
// --------- Functions to access analysis results -------------------
// gets OutSet of a BB
- const ValueSet *getOutSetOfBB(const BasicBlock *BB) const;
+ const ValueSet &getOutSetOfBB(const BasicBlock *BB) const;
// gets InSet of a BB
- const ValueSet *getInSetOfBB(const BasicBlock *BB) const;
+ const ValueSet &getInSetOfBB(const BasicBlock *BB) const;
// gets the Live var set BEFORE an instruction
- const ValueSet *getLiveVarSetBeforeMInst(const MachineInstr *MI,
+ const ValueSet &getLiveVarSetBeforeMInst(const MachineInstr *MI,
const BasicBlock *BB);
// gets the Live var set AFTER an instruction
- const ValueSet *getLiveVarSetAfterMInst(const MachineInstr *MI,
+ const ValueSet &getLiveVarSetAfterMInst(const MachineInstr *MI,
const BasicBlock *BB);
};