diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-09-16 01:08:15 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-09-16 01:08:15 +0000 |
commit | 3fa50f9b0529f046c27a0a9d7f93732138638a6c (patch) | |
tree | 5839a9eb7a11a3ca38a19c38dbb0cd1760ee7e5e /llvm/docs/BitCodeFormat.rst | |
parent | 3ee2bf6a627fcd2e872eaa748bb886ff3d4faa12 (diff) | |
download | bcm5719-llvm-3fa50f9b0529f046c27a0a9d7f93732138638a6c.tar.gz bcm5719-llvm-3fa50f9b0529f046c27a0a9d7f93732138638a6c.zip |
Implement function prefix data as an IR feature.
Previous discussion:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-July/063909.html
Differential Revision: http://llvm-reviews.chandlerc.com/D1191
llvm-svn: 190773
Diffstat (limited to 'llvm/docs/BitCodeFormat.rst')
-rw-r--r-- | llvm/docs/BitCodeFormat.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/docs/BitCodeFormat.rst b/llvm/docs/BitCodeFormat.rst index c83b6c1801c..d9d1df0b8e6 100644 --- a/llvm/docs/BitCodeFormat.rst +++ b/llvm/docs/BitCodeFormat.rst @@ -718,7 +718,7 @@ global variable. The operand fields are: MODULE_CODE_FUNCTION Record ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -``[FUNCTION, type, callingconv, isproto, linkage, paramattr, alignment, section, visibility, gc]`` +``[FUNCTION, type, callingconv, isproto, linkage, paramattr, alignment, section, visibility, gc, prefix]`` The ``FUNCTION`` record (code 8) marks the declaration or definition of a function. The operand fields are: @@ -757,6 +757,9 @@ function. The operand fields are: * *unnamed_addr*: If present and non-zero, indicates that the function has ``unnamed_addr`` +* *prefix*: If non-zero, the value index of the prefix data for this function, + plus 1. + MODULE_CODE_ALIAS Record ^^^^^^^^^^^^^^^^^^^^^^^^ |