From be5e85e9d3a1e41eca85881024b923597375d201 Mon Sep 17 00:00:00 2001
From: Reid Spencer
Global values (GlobalVariables or Functions) are the only LLVM values that are @@ -1778,15 +1778,17 @@ GlobalValue is currently embedded into.
#include "llvm/Function.h"
doxygen
info: Function Class
-Superclasses: GlobalValue, User, Value
The Function class represents a single procedure in LLVM. It is actually one of the more complex classes in the LLVM heirarchy because it must keep track of a large amount of data. The Function class keeps track -of a list of BasicBlocks, a list of formal Arguments, and a SymbolTable.
+of a list of BasicBlocks, a list of formal +Arguments, and a +SymbolTable.The list of BasicBlocks is the most
commonly used part of Function objects. The list imposes an implicit
@@ -1915,20 +1917,22 @@ iterator
href="/doxygen/GlobalVariable_8h-source.html">llvm/GlobalVariable.h"
doxygen info: GlobalVariable
-Class
Superclasses: GlobalValue, User, Value
Global variables are represented with the (suprise suprise) GlobalVariable class. Like functions, GlobalVariables are also subclasses of GlobalValue, and as such are always referenced by their address (global values must live in memory, so their -"name" refers to their address). See GlobalValue for more on this. Global variables -may have an initial value (which must be a Constant), and if they have an initializer, they -may be marked as "constant" themselves (indicating that their contents never -change at runtime).
- +"name" refers to their constant address). See +GlobalValue for more on this. Global +variables may have an initial value (which must be a +Constant), and if they have an initializer, +they may be marked as "constant" themselves (indicating that their contents +never change at runtime).