diff options
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; } |