diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-09-22 08:47:59 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-22 08:47:59 +0000 |
commit | dace0ed8c7b33056c533a7e878d600f7eec5fd1c (patch) | |
tree | 395cb38ed4c4da8150c63e9e3704119abf315e06 /include/llvm/CodeGen/LiveVariables.h | |
parent | 60c7df2c9311fc35ab02f1600419e91d55d5b133 (diff) |
Forgot this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveVariables.h')
-rw-r--r-- | include/llvm/CodeGen/LiveVariables.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h index 7a64504075..52d5595fc3 100644 --- a/include/llvm/CodeGen/LiveVariables.h +++ b/include/llvm/CodeGen/LiveVariables.h @@ -34,6 +34,7 @@ #include "llvm/CodeGen/MachineInstr.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SparseBitVector.h" @@ -151,8 +152,9 @@ private: // Intermediate data structures void HandlePhysRegDef(unsigned Reg, MachineInstr *MI); /// FindLastPartialDef - Return the last partial def of the specified register. - /// Also returns the sub-register that's defined. - MachineInstr *FindLastPartialDef(unsigned Reg, unsigned &PartDefReg); + /// Also returns the sub-registers that're defined by the instruction. + MachineInstr *FindLastPartialDef(unsigned Reg, + SmallSet<unsigned,4> &PartDefRegs); /// hasRegisterUseBelow - Return true if the specified register is used after /// the current instruction and before its next definition. |