llvm-hs-6.2.0: General purpose LLVM bindings
LLVM.Internal.FFI.Cleanup
foreignDecl :: String -> String -> [TypeQ] -> TypeQ -> DecsQ Source #
hasFlags :: [Type] -> Bool Source #
The LLVM C-API for instructions with boolean flags (e.g. nsw) and is weak, so they get separated out for different handling. This check is an accurate but crude test for whether an instruction needs such handling.
typeMapping :: Type -> TypeQ Source #