forked from OSchip/llvm-project
parent
08d1e41c10
commit
0570bbbd0f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue