diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-05 21:00:58 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-05 21:00:58 +0000 |
commit | 576cd11ab8035d4240f7e6ea8d7c6c2e45154f86 (patch) | |
tree | 813cef92b22706b8f93e5c436b6342a415d33757 /include/llvm/CodeGen | |
parent | a759eb3bb9fe50832289fec522d5d0b5dd171af2 (diff) | |
download | llvm-576cd11ab8035d4240f7e6ea8d7c6c2e45154f86.tar.gz llvm-576cd11ab8035d4240f7e6ea8d7c6c2e45154f86.tar.bz2 llvm-576cd11ab8035d4240f7e6ea8d7c6c2e45154f86.tar.xz |
[ms-inline asm] Propagate the asm dialect into the MachineInstr representation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 42c8451f85..139122d47b 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -25,6 +25,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/DenseMapInfo.h" +#include "llvm/InlineAsm.h" #include "llvm/Support/DebugLoc.h" #include <vector> @@ -610,6 +611,7 @@ public: bool isImplicitDef() const { return getOpcode()==TargetOpcode::IMPLICIT_DEF; } bool isInlineAsm() const { return getOpcode() == TargetOpcode::INLINEASM; } bool isStackAligningInlineAsm() const; + InlineAsm::AsmDialect getInlineAsmDialect() const; bool isInsertSubreg() const { return getOpcode() == TargetOpcode::INSERT_SUBREG; } |