diff options
author | Andrew Trick <atrick@apple.com> | 2012-02-08 02:17:25 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-02-08 02:17:25 +0000 |
commit | 99a7a13f4aa5bf8f272c95f7b09ba997d2b30a35 (patch) | |
tree | 5f4693eb6e8c5f69494c69274979dbc22af18c98 /include/llvm/CodeGen | |
parent | 291411c7a164dd1b347b5ef21e062120efac3db7 (diff) | |
download | external_llvm-99a7a13f4aa5bf8f272c95f7b09ba997d2b30a35.zip external_llvm-99a7a13f4aa5bf8f272c95f7b09ba997d2b30a35.tar.gz external_llvm-99a7a13f4aa5bf8f272c95f7b09ba997d2b30a35.tar.bz2 |
Added MachineInstr::isBundled() to check if an instruction is part of a bundle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index f1c1cd1..9a8ac7c 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -230,6 +230,10 @@ public: clearFlag(InsideBundle); } + /// isBundled - Return true if this instruction part of a bundle. This is true + /// if either itself or its following instruction is marked "InsideBundle". + bool isBundled() const; + /// getDebugLoc - Returns the debug location id of this MachineInstr. /// DebugLoc getDebugLoc() const { return debugLoc; } |