Value references¶
A value reference is a wrapper around an LLVM value for you to
inspect. You cannot create a value reference yourself. You get
them from methods of the ModuleRef class.
Enumerations¶
-
class
llvmlite.binding.Linkage¶ The linkage types allowed for global values are:
-
class
llvmlite.binding.Visibility¶ The visibility styles allowed for global values are:
The ValueRef class¶
-
class
llvmlite.binding.ValueRef¶ A wrapper around an LLVM value. The attributes available are:
-
is_declaration¶ True—The global value is a mere declaration.False—The global value is defined in the given module.
-
-
name¶ This value’s name, as a string. This attribute can be set.
-
-
storage_class¶ The storage class—a
StorageClassinstance—for this value. This attribute can be set.
-
-
visibility¶ The visibility style—a
Visibilityinstance—for this value. This attribute can be set.
-