[LLVMdev] What is a FunctionType really?

edA-qa mort-ora-y eda-qa at disemia.com
Sun Nov 18 06:40:14 PST 2012


This may sound weird, but what exactly is a FunctionType? That is, in
terms of memory, or underlying value, what does the FunctionType
actually represent. At first I though it might be a pointer, but it is
not -- since you have to wrap a PointerType around it to use as such.
Can a FunctionType value actually exist, or is strictly an abstract
concept? In particular, can I actually directly define some type to be a
function type, or must I always declare it as a pointer to that type?

-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121118/f9068688/attachment.sig>


More information about the llvm-dev mailing list