X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FllvmGen%2FLlvm%2FAbsSyn.hs;fp=compiler%2FllvmGen%2FLlvm%2FAbsSyn.hs;h=e25f5be2b987a4b127270a30b8e06d49d158c90e;hp=08d27d75f85374968da69544ff1e40ac9d3e7f66;hb=1c59af0bf4fbd699aafd71082e6ba6d373b59c23;hpb=5d2f6a5323df8586c6534a50ebd6f06f1bf19109 diff --git a/compiler/llvmGen/Llvm/AbsSyn.hs b/compiler/llvmGen/Llvm/AbsSyn.hs index 08d27d7..e25f5be 100644 --- a/compiler/llvmGen/Llvm/AbsSyn.hs +++ b/compiler/llvmGen/Llvm/AbsSyn.hs @@ -210,5 +210,18 @@ data LlvmExpression -} | Phi LlvmType [(LlvmVar,LlvmVar)] + {- | + Inline assembly expression. Syntax is very similar to the style used by GCC. + * assembly: Actual inline assembly code. + * contraints: Operand constraints. + * return ty: Return type of function. + * vars: Any variables involved in the assembly code. + * sideeffect: Does the expression have side effects not visible from the + constraints list. + * alignstack: Should the stack be conservatively aligned before this + expression is executed. + -} + | Asm LMString LMString LlvmType [LlvmVar] Bool Bool + deriving (Show, Eq)