[llvm] r311168 - [Lexicon] Add "GEP"

Brian Gesiak via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 08:35:53 PDT 2017


Author: modocache
Date: Fri Aug 18 08:35:53 2017
New Revision: 311168

URL: http://llvm.org/viewvc/llvm-project?rev=311168&view=rev
Log:
[Lexicon] Add "GEP"

Summary:
`getelementptr` is frequently abbreviated as "GEP", often in source files that
do not ever reference the full name of the instruction. Add it to the Lexicon,
in case readers go to look for what it means there.

Test plan:
1. `ninja sphinx`
2. Confirm that the rendered docs HTML contains the new "GEP" entry


Modified:
    llvm/trunk/docs/Lexicon.rst

Modified: llvm/trunk/docs/Lexicon.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Lexicon.rst?rev=311168&r1=311167&r2=311168&view=diff
==============================================================================
--- llvm/trunk/docs/Lexicon.rst (original)
+++ llvm/trunk/docs/Lexicon.rst Fri Aug 18 08:35:53 2017
@@ -109,6 +109,11 @@ G
     Garbage Collection. The practice of using reachability analysis instead of
     explicit memory management to reclaim unused memory.
 
+**GEP**
+    ``GetElementPtr``. An LLVM IR instruction that is used to get the address
+    of a subelement of an aggregate data structure. It is documented in detail
+    `here <http://llvm.org/docs/GetElementPtr.html>`_.
+
 **GVN**
     Global Value Numbering. GVN is a pass that partitions values computed by a
     function into congruence classes. Values ending up in the same congruence




More information about the llvm-commits mailing list