summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beasm.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-05-25 22:20:18 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-05-29 17:35:21 +0200
commita6da8020942bb5b8ebc7e3d357aad0a21922a11d (patch)
tree3bd346e3581044086b3328dbbc273f500a12f430 /ir/be/beasm.h
parent73db736b279fbc742fb6c839fe8231b29bd7ed17 (diff)
be: Move be_emit_asm() into a separate file for asm handling.
Diffstat (limited to 'ir/be/beasm.h')
-rw-r--r--ir/be/beasm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/ir/be/beasm.h b/ir/be/beasm.h
new file mode 100644
index 0000000..4595f49
--- /dev/null
+++ b/ir/be/beasm.h
@@ -0,0 +1,19 @@
+/*
+ * This file is part of libFirm.
+ * Copyright (C) 2015 University of Karlsruhe.
+ */
+
+/**
+ * @file
+ * @brief Helper functions to handle inline assembler nodes.
+ */
+#ifndef FIRM_BE_BEASM_H
+#define FIRM_BE_BEASM_H
+
+#include "firm_types.h"
+
+typedef void be_emit_asm_operand_func(ir_node const *asmn, char modifier, unsigned pos);
+
+void be_emit_asm(ir_node const *asmn, ident *text, unsigned n_operands, be_emit_asm_operand_func *emit_asm_operand);
+
+#endif