[llvm-commits] [llvm] r82536 - /llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Evan Cheng
evan.cheng at apple.com
Tue Sep 22 01:47:59 PDT 2009
Author: evancheng
Date: Tue Sep 22 03:47:59 2009
New Revision: 82536
URL: http://llvm.org/viewvc/llvm-project?rev=82536&view=rev
Log:
Forgot this.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Modified: llvm/trunk/include/llvm/CodeGen/LiveVariables.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveVariables.h?rev=82536&r1=82535&r2=82536&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveVariables.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveVariables.h Tue Sep 22 03:47:59 2009
@@ -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 @@
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.
More information about the llvm-commits
mailing list