module LLVM.AST.FunctionAttribute where
import LLVM.Prelude
data FunctionAttribute
= NoReturn
| NoUnwind
| ReadNone
| ReadOnly
| NoInline
| NoRecurse
| AlwaysInline
| MinimizeSize
| OptimizeForSize
| OptimizeNone
| StackProtect
| StackProtectReq
| StackProtectStrong
| NoRedZone
| NoImplicitFloat
| Naked
| InlineHint
| StackAlignment Word64
| ReturnsTwice
| UWTable
| NonLazyBind
| Builtin
| NoBuiltin
| Cold
| JumpTable
| NoDuplicate
| SanitizeAddress
| SanitizeThread
| SanitizeMemory
| StringAttribute {
stringAttributeKind :: String,
stringAttributeValue :: String
}
| AllocSize Word (Maybe Word)
| WriteOnly
| ArgMemOnly
| Convergent
| InaccessibleMemOnly
| InaccessibleMemOrArgMemOnly
| SafeStack
deriving (Eq, Ord, Read, Show, Typeable, Data)
newtype GroupID = GroupID Word
deriving (Eq, Ord, Read, Show, Typeable, Data)