Class: LLVM::GlobalValue
Instance Method Summary
collapse
Methods inherited from Constant
#bitcast_to, #gep, null, null_ptr, poison, #ptr_to_int, undef
Methods inherited from User
#operands
Methods inherited from Value
#add_attribute, #allocated_type, #allocated_type?, #constant?, #dump, from_ptr, from_ptr_kind, #gep_source_element_type, #gep_source_element_type?, #global_parent, #kind, #name, #name=, #null?, #poison?, #remove_attribute, to_ptr, #to_s, type, #type, #undef?
#==, #eql?, #hash, #to_ptr
Instance Method Details
#alignment ⇒ Object
831
832
833
|
# File 'lib/llvm/core/value.rb', line 831
def alignment
C.get_alignment(self)
end
|
#alignment=(bytes) ⇒ Object
835
836
837
|
# File 'lib/llvm/core/value.rb', line 835
def alignment=(bytes)
C.set_alignment(self, bytes)
end
|
#declaration? ⇒ Boolean
803
804
805
|
# File 'lib/llvm/core/value.rb', line 803
def declaration?
C.is_declaration(self)
end
|
#dll_storage_class ⇒ Object
#dll_storage_class=(klass) ⇒ Object
851
852
853
|
# File 'lib/llvm/core/value.rb', line 851
def dll_storage_class=(klass)
C.set_dll_storage_class(self, klass)
end
|
#linkage ⇒ Object
807
808
809
|
# File 'lib/llvm/core/value.rb', line 807
def linkage
C.get_linkage(self)
end
|
#linkage=(linkage) ⇒ Object
811
812
813
|
# File 'lib/llvm/core/value.rb', line 811
def linkage=(linkage)
C.set_linkage(self, linkage)
end
|
#section ⇒ Object
815
816
817
|
# File 'lib/llvm/core/value.rb', line 815
def section
C.get_section(self)
end
|
#section=(section) ⇒ Object
819
820
821
|
# File 'lib/llvm/core/value.rb', line 819
def section=(section)
C.set_section(self, section)
end
|
#unnamed_addr=(flag) ⇒ Object
843
844
845
|
# File 'lib/llvm/core/value.rb', line 843
def unnamed_addr=(flag)
C.set_unnamed_addr(self, flag ? 1 : 0)
end
|
#unnamed_addr? ⇒ Boolean
839
840
841
|
# File 'lib/llvm/core/value.rb', line 839
def unnamed_addr?
C.has_unnamed_addr(self) != 0
end
|
#visibility ⇒ Object
823
824
825
|
# File 'lib/llvm/core/value.rb', line 823
def visibility
C.get_visibility(self)
end
|
#visibility=(viz) ⇒ Object
827
828
829
|
# File 'lib/llvm/core/value.rb', line 827
def visibility=(viz)
C.set_visibility(self, viz)
end
|