aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-05 23:57:37 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-05 23:57:37 +0000
commit366df7945f0e65052d2e1df701ae1fd16b943642 (patch)
treeef92d68eaf631feab6e57fd9ab3fe10aa7f7e6d6 /include/llvm/CodeGen/AsmPrinter.h
parent0c09e76e52e5652262a581db53b762addb65e0c7 (diff)
downloadexternal_llvm-366df7945f0e65052d2e1df701ae1fd16b943642.zip
external_llvm-366df7945f0e65052d2e1df701ae1fd16b943642.tar.gz
external_llvm-366df7945f0e65052d2e1df701ae1fd16b943642.tar.bz2
[ms-inline asm] Use the asm dialect from the MI to set the parser dialect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 170a528..2920675 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -17,6 +17,7 @@
#define LLVM_CODEGEN_ASMPRINTER_H
#include "llvm/CodeGen/MachineFunctionPass.h"
+#include "llvm/InlineAsm.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/ErrorHandling.h"
@@ -460,7 +461,8 @@ namespace llvm {
mutable unsigned SetCounter;
/// EmitInlineAsm - Emit a blob of inline asm to the output streamer.
- void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0) const;
+ void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0,
+ InlineAsm::AsmDialect AsmDialect = InlineAsm::AD_ATT) const;
/// EmitInlineAsm - This method formats and emits the specified machine
/// instruction that is an inline asm.