diff options
author | Lang Hames <lhames@gmail.com> | 2012-02-15 23:21:33 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-02-15 23:21:33 +0000 |
commit | cc2037be2cf0159e9f7a917a4db434258fe6eb6b (patch) | |
tree | dbdc24337bcd60b38f7009e8ccb9e3416823ec5c /include/llvm/CodeGen/MachineInstr.h | |
parent | 2de3ff50439918b5a822b3d06d4d7c5826e11e6c (diff) |
Make LiveIntervals::handleMove() bundle aware.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 7f29d316ea..cd94abae7e 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -234,6 +234,11 @@ public: /// if either itself or its following instruction is marked "InsideBundle". bool isBundled() const; + /// getBundleStart - If this instruction is inside a bundle return the + /// instruction at the start of the bundle. Otherwise just returns the + /// instruction itself. + MachineInstr* getBundleStart(); + /// getDebugLoc - Returns the debug location id of this MachineInstr. /// DebugLoc getDebugLoc() const { return debugLoc; } |