rcgtk 3.4.1 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/rcgtk/builder.rb +19 -6
- data/lib/rcgtk/generated_bindings.rb +707 -1157
- data/lib/rcgtk/instruction.rb +3 -0
- data/lib/rcgtk/pass_manager.rb +2 -0
- data/lib/rcgtk/version.rb +2 -2
- metadata +2 -1
@@ -4,7 +4,7 @@ require 'ffi'
|
|
4
4
|
|
5
5
|
module RCGTK::Bindings
|
6
6
|
extend FFI::Library
|
7
|
-
ffi_lib
|
7
|
+
ffi_lib "LLVM-3.5"
|
8
8
|
|
9
9
|
def self.attach_function(name, *_)
|
10
10
|
begin; super; rescue FFI::NotFoundError => e
|
@@ -18,12 +18,34 @@ module RCGTK::Bindings
|
|
18
18
|
|
19
19
|
DISASSEMBLER_VARIANT_KIND_ARM_LO16 = 2
|
20
20
|
|
21
|
+
DISASSEMBLER_VARIANT_KIND_ARM64_PAGE = 1
|
22
|
+
|
23
|
+
DISASSEMBLER_VARIANT_KIND_ARM64_PAGEOFF = 2
|
24
|
+
|
25
|
+
DISASSEMBLER_VARIANT_KIND_ARM64_GOTPAGE = 3
|
26
|
+
|
27
|
+
DISASSEMBLER_VARIANT_KIND_ARM64_GOTPAGEOFF = 4
|
28
|
+
|
29
|
+
DISASSEMBLER_VARIANT_KIND_ARM64_TLVP = 5
|
30
|
+
|
31
|
+
DISASSEMBLER_VARIANT_KIND_ARM64_TLVOFF = 6
|
32
|
+
|
21
33
|
DISASSEMBLER_REFERENCE_TYPE_IN_OUT_NONE = 0
|
22
34
|
|
23
35
|
DISASSEMBLER_REFERENCE_TYPE_IN_BRANCH = 1
|
24
36
|
|
25
37
|
DISASSEMBLER_REFERENCE_TYPE_IN_P_CREL_LOAD = 2
|
26
38
|
|
39
|
+
DISASSEMBLER_REFERENCE_TYPE_IN_ARM64_ADRP = 0x100000001
|
40
|
+
|
41
|
+
DISASSEMBLER_REFERENCE_TYPE_IN_ARM64_ADD_XRI = 0x100000002
|
42
|
+
|
43
|
+
DISASSEMBLER_REFERENCE_TYPE_IN_ARM64_LDR_XUI = 0x100000003
|
44
|
+
|
45
|
+
DISASSEMBLER_REFERENCE_TYPE_IN_ARM64_LDR_XL = 0x100000004
|
46
|
+
|
47
|
+
DISASSEMBLER_REFERENCE_TYPE_IN_ARM64_ADR = 0x100000005
|
48
|
+
|
27
49
|
DISASSEMBLER_REFERENCE_TYPE_OUT_SYMBOL_STUB = 1
|
28
50
|
|
29
51
|
DISASSEMBLER_REFERENCE_TYPE_OUT_LIT_POOL_SYM_ADDR = 2
|
@@ -40,6 +62,8 @@ module RCGTK::Bindings
|
|
40
62
|
|
41
63
|
DISASSEMBLER_REFERENCE_TYPE_OUT_OBJC_CLASS_REF = 8
|
42
64
|
|
65
|
+
DISASSEMBLER_REFERENCE_TYPE_DE_MANGLED_NAME = 9
|
66
|
+
|
43
67
|
DISASSEMBLER_OPTION_USE_MARKUP = 1
|
44
68
|
|
45
69
|
DISASSEMBLER_OPTION_PRINT_IMM_HEX = 2
|
@@ -50,78 +74,74 @@ module RCGTK::Bindings
|
|
50
74
|
|
51
75
|
DISASSEMBLER_OPTION_PRINT_LATENCY = 16
|
52
76
|
|
53
|
-
#
|
54
|
-
class
|
77
|
+
# (Not documented)
|
78
|
+
class OpaqueMemoryBuffer < FFI::Struct
|
55
79
|
layout :dummy, :char
|
56
80
|
end
|
57
81
|
|
58
|
-
#
|
59
|
-
# objects.
|
82
|
+
# (Not documented)
|
60
83
|
#
|
61
|
-
# @
|
84
|
+
# @method load_library_permanently(filename)
|
85
|
+
# @param [String] filename
|
86
|
+
# @return [Integer]
|
87
|
+
# @scope class
|
88
|
+
attach_function :load_library_permanently, :LLVMLoadLibraryPermanently, [:string], :int
|
89
|
+
|
90
|
+
# (Not documented)
|
91
|
+
class OpaqueContext < FFI::Struct
|
92
|
+
layout :dummy, :char
|
93
|
+
end
|
94
|
+
|
95
|
+
# (Not documented)
|
62
96
|
class OpaqueModule < FFI::Struct
|
63
97
|
layout :dummy, :char
|
64
98
|
end
|
65
99
|
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# @see llvm::Type
|
100
|
+
# (Not documented)
|
69
101
|
class OpaqueType < FFI::Struct
|
70
102
|
layout :dummy, :char
|
71
103
|
end
|
72
104
|
|
73
|
-
#
|
74
|
-
#
|
75
|
-
# This models llvm::Value.
|
105
|
+
# (Not documented)
|
76
106
|
class OpaqueValue < FFI::Struct
|
77
107
|
layout :dummy, :char
|
78
108
|
end
|
79
109
|
|
80
|
-
#
|
81
|
-
#
|
82
|
-
# This models llvm::BasicBlock.
|
110
|
+
# (Not documented)
|
83
111
|
class OpaqueBasicBlock < FFI::Struct
|
84
112
|
layout :dummy, :char
|
85
113
|
end
|
86
114
|
|
87
|
-
#
|
88
|
-
#
|
89
|
-
# This models llvm::IRBuilder.
|
115
|
+
# (Not documented)
|
90
116
|
class OpaqueBuilder < FFI::Struct
|
91
117
|
layout :dummy, :char
|
92
118
|
end
|
93
119
|
|
94
|
-
#
|
95
|
-
# This is now just a synonym for llvm::Module, but we have to keep using the
|
96
|
-
# different type to keep binary compatibility.
|
120
|
+
# (Not documented)
|
97
121
|
class OpaqueModuleProvider < FFI::Struct
|
98
122
|
layout :dummy, :char
|
99
123
|
end
|
100
124
|
|
101
|
-
#
|
102
|
-
#
|
103
|
-
# @see llvm::MemoryBuffer
|
104
|
-
class OpaqueMemoryBuffer < FFI::Struct
|
105
|
-
layout :dummy, :char
|
106
|
-
end
|
107
|
-
|
108
|
-
# @see llvm::PassManagerBase
|
125
|
+
# (Not documented)
|
109
126
|
class OpaquePassManager < FFI::Struct
|
110
127
|
layout :dummy, :char
|
111
128
|
end
|
112
129
|
|
113
|
-
#
|
130
|
+
# (Not documented)
|
114
131
|
class OpaquePassRegistry < FFI::Struct
|
115
132
|
layout :dummy, :char
|
116
133
|
end
|
117
134
|
|
118
|
-
#
|
119
|
-
#
|
120
|
-
# @see llvm::Use
|
135
|
+
# (Not documented)
|
121
136
|
class OpaqueUse < FFI::Struct
|
122
137
|
layout :dummy, :char
|
123
138
|
end
|
124
139
|
|
140
|
+
# (Not documented)
|
141
|
+
class OpaqueDiagnosticInfo < FFI::Struct
|
142
|
+
layout :dummy, :char
|
143
|
+
end
|
144
|
+
|
125
145
|
# (Not documented)
|
126
146
|
#
|
127
147
|
# <em>This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:attribute).</em>
|
@@ -177,6 +197,8 @@ module RCGTK::Bindings
|
|
177
197
|
#
|
178
198
|
# :uw_table ::
|
179
199
|
#
|
200
|
+
# :non_lazy_bind ::
|
201
|
+
#
|
180
202
|
#
|
181
203
|
# @method _enum_attribute_
|
182
204
|
# @return [Symbol]
|
@@ -206,7 +228,8 @@ module RCGTK::Bindings
|
|
206
228
|
:inline_hint_attribute, 33554432,
|
207
229
|
:stack_alignment, 469762048,
|
208
230
|
:returns_twice, 536870912,
|
209
|
-
:uw_table, 1073741824
|
231
|
+
:uw_table, 1073741824,
|
232
|
+
:non_lazy_bind, 2147483648
|
210
233
|
]
|
211
234
|
|
212
235
|
# (Not documented)
|
@@ -489,9 +512,9 @@ module RCGTK::Bindings
|
|
489
512
|
# :dll_import ::
|
490
513
|
# < Like Internal, but omit from symbol table
|
491
514
|
# :dll_export ::
|
492
|
-
# <
|
515
|
+
# < Obsolete
|
493
516
|
# :external_weak ::
|
494
|
-
# <
|
517
|
+
# < Obsolete
|
495
518
|
# :ghost ::
|
496
519
|
# < ExternalWeak linkage description
|
497
520
|
# :common ::
|
@@ -545,6 +568,27 @@ module RCGTK::Bindings
|
|
545
568
|
:protected, 2
|
546
569
|
]
|
547
570
|
|
571
|
+
# (Not documented)
|
572
|
+
#
|
573
|
+
# <em>This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:dll_storage_class).</em>
|
574
|
+
#
|
575
|
+
# === Options:
|
576
|
+
# :default ::
|
577
|
+
#
|
578
|
+
# :dll_import ::
|
579
|
+
#
|
580
|
+
# :dll_export ::
|
581
|
+
# < Function to be imported from DLL.
|
582
|
+
#
|
583
|
+
# @method _enum_dll_storage_class_
|
584
|
+
# @return [Symbol]
|
585
|
+
# @scope class
|
586
|
+
enum :dll_storage_class, [
|
587
|
+
:default, 0,
|
588
|
+
:dll_import, 1,
|
589
|
+
:dll_export, 2
|
590
|
+
]
|
591
|
+
|
548
592
|
# (Not documented)
|
549
593
|
#
|
550
594
|
# <em>This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:call_conv).</em>
|
@@ -749,6 +793,11 @@ module RCGTK::Bindings
|
|
749
793
|
# < Release is similar to Acquire, but with
|
750
794
|
# a barrier of the sort necessary to release
|
751
795
|
# a lock.
|
796
|
+
# :sequentially_consistent ::
|
797
|
+
# < provides both an Acquire and a
|
798
|
+
# Release barrier (for fences and
|
799
|
+
# operations which both read and write
|
800
|
+
# memory).
|
752
801
|
#
|
753
802
|
# @method _enum_atomic_ordering_
|
754
803
|
# @return [Symbol]
|
@@ -759,7 +808,8 @@ module RCGTK::Bindings
|
|
759
808
|
:monotonic, 2,
|
760
809
|
:acquire, 4,
|
761
810
|
:release, 5,
|
762
|
-
:acquire_release, 6
|
811
|
+
:acquire_release, 6,
|
812
|
+
:sequentially_consistent, 7
|
763
813
|
]
|
764
814
|
|
765
815
|
# (Not documented)
|
@@ -813,7 +863,31 @@ module RCGTK::Bindings
|
|
813
863
|
:u_min, 10
|
814
864
|
]
|
815
865
|
|
816
|
-
#
|
866
|
+
# (Not documented)
|
867
|
+
#
|
868
|
+
# <em>This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:diagnostic_severity).</em>
|
869
|
+
#
|
870
|
+
# === Options:
|
871
|
+
# :ds_error ::
|
872
|
+
#
|
873
|
+
# :ds_warning ::
|
874
|
+
#
|
875
|
+
# :ds_remark ::
|
876
|
+
#
|
877
|
+
# :ds_note ::
|
878
|
+
#
|
879
|
+
#
|
880
|
+
# @method _enum_diagnostic_severity_
|
881
|
+
# @return [Symbol]
|
882
|
+
# @scope class
|
883
|
+
enum :diagnostic_severity, [
|
884
|
+
:ds_error, 0,
|
885
|
+
:ds_warning, 1,
|
886
|
+
:ds_remark, 2,
|
887
|
+
:ds_note, 3
|
888
|
+
]
|
889
|
+
|
890
|
+
# (Not documented)
|
817
891
|
#
|
818
892
|
# @method initialize_core(r)
|
819
893
|
# @param [OpaquePassRegistry] r
|
@@ -821,16 +895,14 @@ module RCGTK::Bindings
|
|
821
895
|
# @scope class
|
822
896
|
attach_function :initialize_core, :LLVMInitializeCore, [OpaquePassRegistry], :void
|
823
897
|
|
824
|
-
#
|
825
|
-
# @see llvm::llvm_shutdown
|
826
|
-
# @see ManagedStatic
|
898
|
+
# (Not documented)
|
827
899
|
#
|
828
900
|
# @method shutdown()
|
829
901
|
# @return [nil]
|
830
902
|
# @scope class
|
831
903
|
attach_function :shutdown, :LLVMShutdown, [], :void
|
832
904
|
|
833
|
-
#
|
905
|
+
# (Not documented)
|
834
906
|
#
|
835
907
|
# @method create_message(message)
|
836
908
|
# @param [String] message
|
@@ -846,11 +918,7 @@ module RCGTK::Bindings
|
|
846
918
|
# @scope class
|
847
919
|
attach_function :dispose_message, :LLVMDisposeMessage, [:string], :void
|
848
920
|
|
849
|
-
#
|
850
|
-
# will call exit(1). This may not be appropriate in many contexts. For example,
|
851
|
-
# doing exit(1) will bypass many crash reporting/tracing system tools. This
|
852
|
-
# function allows you to install a callback that will be invoked prior to the
|
853
|
-
# call to exit(1).
|
921
|
+
# (Not documented)
|
854
922
|
#
|
855
923
|
# @method install_fatal_error_handler(handler)
|
856
924
|
# @param [FFI::Pointer(FatalErrorHandler)] handler
|
@@ -858,44 +926,77 @@ module RCGTK::Bindings
|
|
858
926
|
# @scope class
|
859
927
|
attach_function :install_fatal_error_handler, :LLVMInstallFatalErrorHandler, [:pointer], :void
|
860
928
|
|
861
|
-
#
|
862
|
-
# behavior to the default.
|
929
|
+
# (Not documented)
|
863
930
|
#
|
864
931
|
# @method reset_fatal_error_handler()
|
865
932
|
# @return [nil]
|
866
933
|
# @scope class
|
867
934
|
attach_function :reset_fatal_error_handler, :LLVMResetFatalErrorHandler, [], :void
|
868
935
|
|
869
|
-
#
|
870
|
-
# signals and prints which component of LLVM you were in at the time if the
|
871
|
-
# crash.
|
936
|
+
# (Not documented)
|
872
937
|
#
|
873
938
|
# @method enable_pretty_stack_trace()
|
874
939
|
# @return [nil]
|
875
940
|
# @scope class
|
876
941
|
attach_function :enable_pretty_stack_trace, :LLVMEnablePrettyStackTrace, [], :void
|
877
942
|
|
878
|
-
#
|
943
|
+
# (Not documented)
|
944
|
+
#
|
945
|
+
# <em>This entry is only for documentation and no real method.</em>
|
946
|
+
#
|
947
|
+
# @method _callback_diagnostic_handler_(opaque_diagnostic_info, void)
|
948
|
+
# @param [OpaqueDiagnosticInfo] opaque_diagnostic_info
|
949
|
+
# @param [FFI::Pointer(*Void)] void
|
950
|
+
# @return [OpaqueDiagnosticInfo]
|
951
|
+
# @scope class
|
952
|
+
callback :diagnostic_handler, [OpaqueDiagnosticInfo, :pointer], OpaqueDiagnosticInfo
|
953
|
+
|
954
|
+
# (Not documented)
|
955
|
+
#
|
956
|
+
# <em>This entry is only for documentation and no real method.</em>
|
879
957
|
#
|
880
|
-
#
|
881
|
-
#
|
958
|
+
# @method _callback_yield_callback_(opaque_context, void)
|
959
|
+
# @param [OpaqueContext] opaque_context
|
960
|
+
# @param [FFI::Pointer(*Void)] void
|
961
|
+
# @return [OpaqueContext]
|
962
|
+
# @scope class
|
963
|
+
callback :yield_callback, [OpaqueContext, :pointer], OpaqueContext
|
964
|
+
|
965
|
+
# (Not documented)
|
882
966
|
#
|
883
967
|
# @method context_create()
|
884
968
|
# @return [OpaqueContext]
|
885
969
|
# @scope class
|
886
970
|
attach_function :context_create, :LLVMContextCreate, [], OpaqueContext
|
887
971
|
|
888
|
-
#
|
972
|
+
# (Not documented)
|
889
973
|
#
|
890
974
|
# @method get_global_context()
|
891
975
|
# @return [OpaqueContext]
|
892
976
|
# @scope class
|
893
977
|
attach_function :get_global_context, :LLVMGetGlobalContext, [], OpaqueContext
|
894
978
|
|
895
|
-
#
|
979
|
+
# (Not documented)
|
896
980
|
#
|
897
|
-
#
|
898
|
-
#
|
981
|
+
# @method context_set_diagnostic_handler(c, handler, diagnostic_context)
|
982
|
+
# @param [OpaqueContext] c
|
983
|
+
# @param [Proc(_callback_diagnostic_handler_)] handler
|
984
|
+
# @param [FFI::Pointer(*Void)] diagnostic_context
|
985
|
+
# @return [nil]
|
986
|
+
# @scope class
|
987
|
+
attach_function :context_set_diagnostic_handler, :LLVMContextSetDiagnosticHandler, [OpaqueContext, :diagnostic_handler, :pointer], :void
|
988
|
+
|
989
|
+
# (Not documented)
|
990
|
+
#
|
991
|
+
# @method context_set_yield_callback(c, callback, opaque_handle)
|
992
|
+
# @param [OpaqueContext] c
|
993
|
+
# @param [Proc(_callback_yield_callback_)] callback
|
994
|
+
# @param [FFI::Pointer(*Void)] opaque_handle
|
995
|
+
# @return [nil]
|
996
|
+
# @scope class
|
997
|
+
attach_function :context_set_yield_callback, :LLVMContextSetYieldCallback, [OpaqueContext, :yield_callback, :pointer], :void
|
998
|
+
|
999
|
+
# (Not documented)
|
899
1000
|
#
|
900
1001
|
# @method context_dispose(c)
|
901
1002
|
# @param [OpaqueContext] c
|
@@ -903,6 +1004,22 @@ module RCGTK::Bindings
|
|
903
1004
|
# @scope class
|
904
1005
|
attach_function :context_dispose, :LLVMContextDispose, [OpaqueContext], :void
|
905
1006
|
|
1007
|
+
# (Not documented)
|
1008
|
+
#
|
1009
|
+
# @method get_diag_info_description(di)
|
1010
|
+
# @param [OpaqueDiagnosticInfo] di
|
1011
|
+
# @return [String]
|
1012
|
+
# @scope class
|
1013
|
+
attach_function :get_diag_info_description, :LLVMGetDiagInfoDescription, [OpaqueDiagnosticInfo], :string
|
1014
|
+
|
1015
|
+
# (Not documented)
|
1016
|
+
#
|
1017
|
+
# @method get_diag_info_severity(di)
|
1018
|
+
# @param [OpaqueDiagnosticInfo] di
|
1019
|
+
# @return [Symbol from _enum_diagnostic_severity_]
|
1020
|
+
# @scope class
|
1021
|
+
attach_function :get_diag_info_severity, :LLVMGetDiagInfoSeverity, [OpaqueDiagnosticInfo], :diagnostic_severity
|
1022
|
+
|
906
1023
|
# (Not documented)
|
907
1024
|
#
|
908
1025
|
# @method get_md_kind_id_in_context(c, name, s_len)
|
@@ -922,13 +1039,7 @@ module RCGTK::Bindings
|
|
922
1039
|
# @scope class
|
923
1040
|
attach_function :get_md_kind_id, :LLVMGetMDKindID, [:string, :uint], :uint
|
924
1041
|
|
925
|
-
#
|
926
|
-
#
|
927
|
-
# This is equivalent to calling LLVMModuleCreateWithNameInContext with
|
928
|
-
# LLVMGetGlobalContext() as the context parameter.
|
929
|
-
#
|
930
|
-
# Every invocation should be paired with LLVMDisposeModule() or memory
|
931
|
-
# will be leaked.
|
1042
|
+
# (Not documented)
|
932
1043
|
#
|
933
1044
|
# @method module_create_with_name(module_id)
|
934
1045
|
# @param [String] module_id
|
@@ -936,10 +1047,7 @@ module RCGTK::Bindings
|
|
936
1047
|
# @scope class
|
937
1048
|
attach_function :module_create_with_name, :LLVMModuleCreateWithName, [:string], OpaqueModule
|
938
1049
|
|
939
|
-
#
|
940
|
-
#
|
941
|
-
# Every invocation should be paired with LLVMDisposeModule() or memory
|
942
|
-
# will be leaked.
|
1050
|
+
# (Not documented)
|
943
1051
|
#
|
944
1052
|
# @method module_create_with_name_in_context(module_id, c)
|
945
1053
|
# @param [String] module_id
|
@@ -948,10 +1056,7 @@ module RCGTK::Bindings
|
|
948
1056
|
# @scope class
|
949
1057
|
attach_function :module_create_with_name_in_context, :LLVMModuleCreateWithNameInContext, [:string, OpaqueContext], OpaqueModule
|
950
1058
|
|
951
|
-
#
|
952
|
-
#
|
953
|
-
# This must be called for every created module or memory will be
|
954
|
-
# leaked.
|
1059
|
+
# (Not documented)
|
955
1060
|
#
|
956
1061
|
# @method dispose_module(m)
|
957
1062
|
# @param [OpaqueModule] m
|
@@ -959,9 +1064,7 @@ module RCGTK::Bindings
|
|
959
1064
|
# @scope class
|
960
1065
|
attach_function :dispose_module, :LLVMDisposeModule, [OpaqueModule], :void
|
961
1066
|
|
962
|
-
#
|
963
|
-
#
|
964
|
-
# @see Module::getDataLayout()
|
1067
|
+
# (Not documented)
|
965
1068
|
#
|
966
1069
|
# @method get_data_layout(m)
|
967
1070
|
# @param [OpaqueModule] m
|
@@ -969,9 +1072,7 @@ module RCGTK::Bindings
|
|
969
1072
|
# @scope class
|
970
1073
|
attach_function :get_data_layout, :LLVMGetDataLayout, [OpaqueModule], :string
|
971
1074
|
|
972
|
-
#
|
973
|
-
#
|
974
|
-
# @see Module::setDataLayout()
|
1075
|
+
# (Not documented)
|
975
1076
|
#
|
976
1077
|
# @method set_data_layout(m, triple)
|
977
1078
|
# @param [OpaqueModule] m
|
@@ -980,9 +1081,7 @@ module RCGTK::Bindings
|
|
980
1081
|
# @scope class
|
981
1082
|
attach_function :set_data_layout, :LLVMSetDataLayout, [OpaqueModule, :string], :void
|
982
1083
|
|
983
|
-
#
|
984
|
-
#
|
985
|
-
# @see Module::getTargetTriple()
|
1084
|
+
# (Not documented)
|
986
1085
|
#
|
987
1086
|
# @method get_target(m)
|
988
1087
|
# @param [OpaqueModule] m
|
@@ -990,9 +1089,7 @@ module RCGTK::Bindings
|
|
990
1089
|
# @scope class
|
991
1090
|
attach_function :get_target, :LLVMGetTarget, [OpaqueModule], :string
|
992
1091
|
|
993
|
-
#
|
994
|
-
#
|
995
|
-
# @see Module::setTargetTriple()
|
1092
|
+
# (Not documented)
|
996
1093
|
#
|
997
1094
|
# @method set_target(m, triple)
|
998
1095
|
# @param [OpaqueModule] m
|
@@ -1001,9 +1098,7 @@ module RCGTK::Bindings
|
|
1001
1098
|
# @scope class
|
1002
1099
|
attach_function :set_target, :LLVMSetTarget, [OpaqueModule, :string], :void
|
1003
1100
|
|
1004
|
-
#
|
1005
|
-
#
|
1006
|
-
# @see Module::dump()
|
1101
|
+
# (Not documented)
|
1007
1102
|
#
|
1008
1103
|
# @method dump_module(m)
|
1009
1104
|
# @param [OpaqueModule] m
|
@@ -1011,10 +1106,7 @@ module RCGTK::Bindings
|
|
1011
1106
|
# @scope class
|
1012
1107
|
attach_function :dump_module, :LLVMDumpModule, [OpaqueModule], :void
|
1013
1108
|
|
1014
|
-
#
|
1015
|
-
# disposed with LLVMDisposeMessage. Returns 0 on success, 1 otherwise.
|
1016
|
-
#
|
1017
|
-
# @see Module::print()
|
1109
|
+
# (Not documented)
|
1018
1110
|
#
|
1019
1111
|
# @method print_module_to_file(m, filename, error_message)
|
1020
1112
|
# @param [OpaqueModule] m
|
@@ -1024,10 +1116,7 @@ module RCGTK::Bindings
|
|
1024
1116
|
# @scope class
|
1025
1117
|
attach_function :print_module_to_file, :LLVMPrintModuleToFile, [OpaqueModule, :string, :pointer], :int
|
1026
1118
|
|
1027
|
-
#
|
1028
|
-
# LLVMDisposeMessage to free the string.
|
1029
|
-
#
|
1030
|
-
# @see Module::print()
|
1119
|
+
# (Not documented)
|
1031
1120
|
#
|
1032
1121
|
# @method print_module_to_string(m)
|
1033
1122
|
# @param [OpaqueModule] m
|
@@ -1035,9 +1124,7 @@ module RCGTK::Bindings
|
|
1035
1124
|
# @scope class
|
1036
1125
|
attach_function :print_module_to_string, :LLVMPrintModuleToString, [OpaqueModule], :string
|
1037
1126
|
|
1038
|
-
#
|
1039
|
-
#
|
1040
|
-
# @see Module::setModuleInlineAsm()
|
1127
|
+
# (Not documented)
|
1041
1128
|
#
|
1042
1129
|
# @method set_module_inline_asm(m, asm)
|
1043
1130
|
# @param [OpaqueModule] m
|
@@ -1046,9 +1133,7 @@ module RCGTK::Bindings
|
|
1046
1133
|
# @scope class
|
1047
1134
|
attach_function :set_module_inline_asm, :LLVMSetModuleInlineAsm, [OpaqueModule, :string], :void
|
1048
1135
|
|
1049
|
-
#
|
1050
|
-
#
|
1051
|
-
# @see Module::getContext()
|
1136
|
+
# (Not documented)
|
1052
1137
|
#
|
1053
1138
|
# @method get_module_context(m)
|
1054
1139
|
# @param [OpaqueModule] m
|
@@ -1056,7 +1141,7 @@ module RCGTK::Bindings
|
|
1056
1141
|
# @scope class
|
1057
1142
|
attach_function :get_module_context, :LLVMGetModuleContext, [OpaqueModule], OpaqueContext
|
1058
1143
|
|
1059
|
-
#
|
1144
|
+
# (Not documented)
|
1060
1145
|
#
|
1061
1146
|
# @method get_type_by_name(m, name)
|
1062
1147
|
# @param [OpaqueModule] m
|
@@ -1065,9 +1150,7 @@ module RCGTK::Bindings
|
|
1065
1150
|
# @scope class
|
1066
1151
|
attach_function :get_type_by_name, :LLVMGetTypeByName, [OpaqueModule, :string], OpaqueType
|
1067
1152
|
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
# @see llvm::Module::getNamedMetadata()
|
1153
|
+
# (Not documented)
|
1071
1154
|
#
|
1072
1155
|
# @method get_named_metadata_num_operands(m, name)
|
1073
1156
|
# @param [OpaqueModule] m
|
@@ -1076,15 +1159,7 @@ module RCGTK::Bindings
|
|
1076
1159
|
# @scope class
|
1077
1160
|
attach_function :get_named_metadata_num_operands, :LLVMGetNamedMetadataNumOperands, [OpaqueModule, :string], :uint
|
1078
1161
|
|
1079
|
-
#
|
1080
|
-
#
|
1081
|
-
# The passed LLVMValueRef pointer should refer to an array of
|
1082
|
-
# LLVMValueRef at least LLVMGetNamedMetadataNumOperands long. This
|
1083
|
-
# array will be populated with the LLVMValueRef instances. Each
|
1084
|
-
# instance corresponds to a llvm::MDNode.
|
1085
|
-
#
|
1086
|
-
# @see llvm::Module::getNamedMetadata()
|
1087
|
-
# @see llvm::MDNode::getOperand()
|
1162
|
+
# (Not documented)
|
1088
1163
|
#
|
1089
1164
|
# @method get_named_metadata_operands(m, name, dest)
|
1090
1165
|
# @param [OpaqueModule] m
|
@@ -1094,10 +1169,7 @@ module RCGTK::Bindings
|
|
1094
1169
|
# @scope class
|
1095
1170
|
attach_function :get_named_metadata_operands, :LLVMGetNamedMetadataOperands, [OpaqueModule, :string, :pointer], :void
|
1096
1171
|
|
1097
|
-
#
|
1098
|
-
#
|
1099
|
-
# @see llvm::Module::getNamedMetadata()
|
1100
|
-
# @see llvm::MDNode::addOperand()
|
1172
|
+
# (Not documented)
|
1101
1173
|
#
|
1102
1174
|
# @method add_named_metadata_operand(m, name, val)
|
1103
1175
|
# @param [OpaqueModule] m
|
@@ -1107,9 +1179,7 @@ module RCGTK::Bindings
|
|
1107
1179
|
# @scope class
|
1108
1180
|
attach_function :add_named_metadata_operand, :LLVMAddNamedMetadataOperand, [OpaqueModule, :string, OpaqueValue], :void
|
1109
1181
|
|
1110
|
-
#
|
1111
|
-
#
|
1112
|
-
# @see llvm::Function::Create()
|
1182
|
+
# (Not documented)
|
1113
1183
|
#
|
1114
1184
|
# @method add_function(m, name, function_ty)
|
1115
1185
|
# @param [OpaqueModule] m
|
@@ -1119,11 +1189,7 @@ module RCGTK::Bindings
|
|
1119
1189
|
# @scope class
|
1120
1190
|
attach_function :add_function, :LLVMAddFunction, [OpaqueModule, :string, OpaqueType], OpaqueValue
|
1121
1191
|
|
1122
|
-
#
|
1123
|
-
#
|
1124
|
-
# The returned value corresponds to a llvm::Function value.
|
1125
|
-
#
|
1126
|
-
# @see llvm::Module::getFunction()
|
1192
|
+
# (Not documented)
|
1127
1193
|
#
|
1128
1194
|
# @method get_named_function(m, name)
|
1129
1195
|
# @param [OpaqueModule] m
|
@@ -1132,9 +1198,7 @@ module RCGTK::Bindings
|
|
1132
1198
|
# @scope class
|
1133
1199
|
attach_function :get_named_function, :LLVMGetNamedFunction, [OpaqueModule, :string], OpaqueValue
|
1134
1200
|
|
1135
|
-
#
|
1136
|
-
#
|
1137
|
-
# @see llvm::Module::begin()
|
1201
|
+
# (Not documented)
|
1138
1202
|
#
|
1139
1203
|
# @method get_first_function(m)
|
1140
1204
|
# @param [OpaqueModule] m
|
@@ -1142,9 +1206,7 @@ module RCGTK::Bindings
|
|
1142
1206
|
# @scope class
|
1143
1207
|
attach_function :get_first_function, :LLVMGetFirstFunction, [OpaqueModule], OpaqueValue
|
1144
1208
|
|
1145
|
-
#
|
1146
|
-
#
|
1147
|
-
# @see llvm::Module::end()
|
1209
|
+
# (Not documented)
|
1148
1210
|
#
|
1149
1211
|
# @method get_last_function(m)
|
1150
1212
|
# @param [OpaqueModule] m
|
@@ -1152,10 +1214,7 @@ module RCGTK::Bindings
|
|
1152
1214
|
# @scope class
|
1153
1215
|
attach_function :get_last_function, :LLVMGetLastFunction, [OpaqueModule], OpaqueValue
|
1154
1216
|
|
1155
|
-
#
|
1156
|
-
#
|
1157
|
-
# Returns NULL if the iterator was already at the end and there are no more
|
1158
|
-
# functions.
|
1217
|
+
# (Not documented)
|
1159
1218
|
#
|
1160
1219
|
# @method get_next_function(fn)
|
1161
1220
|
# @param [OpaqueValue] fn
|
@@ -1163,10 +1222,7 @@ module RCGTK::Bindings
|
|
1163
1222
|
# @scope class
|
1164
1223
|
attach_function :get_next_function, :LLVMGetNextFunction, [OpaqueValue], OpaqueValue
|
1165
1224
|
|
1166
|
-
#
|
1167
|
-
#
|
1168
|
-
# Returns NULL if the iterator was already at the beginning and there are
|
1169
|
-
# no previous functions.
|
1225
|
+
# (Not documented)
|
1170
1226
|
#
|
1171
1227
|
# @method get_previous_function(fn)
|
1172
1228
|
# @param [OpaqueValue] fn
|
@@ -1174,9 +1230,7 @@ module RCGTK::Bindings
|
|
1174
1230
|
# @scope class
|
1175
1231
|
attach_function :get_previous_function, :LLVMGetPreviousFunction, [OpaqueValue], OpaqueValue
|
1176
1232
|
|
1177
|
-
#
|
1178
|
-
#
|
1179
|
-
# @see llvm::Type:getTypeID()
|
1233
|
+
# (Not documented)
|
1180
1234
|
#
|
1181
1235
|
# @method get_type_kind(ty)
|
1182
1236
|
# @param [OpaqueType] ty
|
@@ -1184,11 +1238,7 @@ module RCGTK::Bindings
|
|
1184
1238
|
# @scope class
|
1185
1239
|
attach_function :get_type_kind, :LLVMGetTypeKind, [OpaqueType], :type_kind
|
1186
1240
|
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
# Things that don't have a size are abstract types, labels, and void.a
|
1190
|
-
#
|
1191
|
-
# @see llvm::Type::isSized()
|
1241
|
+
# (Not documented)
|
1192
1242
|
#
|
1193
1243
|
# @method type_is_sized(ty)
|
1194
1244
|
# @param [OpaqueType] ty
|
@@ -1196,9 +1246,7 @@ module RCGTK::Bindings
|
|
1196
1246
|
# @scope class
|
1197
1247
|
attach_function :type_is_sized, :LLVMTypeIsSized, [OpaqueType], :int
|
1198
1248
|
|
1199
|
-
#
|
1200
|
-
#
|
1201
|
-
# @see llvm::Type::getContext()
|
1249
|
+
# (Not documented)
|
1202
1250
|
#
|
1203
1251
|
# @method get_type_context(ty)
|
1204
1252
|
# @param [OpaqueType] ty
|
@@ -1206,9 +1254,7 @@ module RCGTK::Bindings
|
|
1206
1254
|
# @scope class
|
1207
1255
|
attach_function :get_type_context, :LLVMGetTypeContext, [OpaqueType], OpaqueContext
|
1208
1256
|
|
1209
|
-
#
|
1210
|
-
#
|
1211
|
-
# @see llvm::Type::dump()
|
1257
|
+
# (Not documented)
|
1212
1258
|
#
|
1213
1259
|
# @method dump_type(val)
|
1214
1260
|
# @param [OpaqueType] val
|
@@ -1216,10 +1262,7 @@ module RCGTK::Bindings
|
|
1216
1262
|
# @scope class
|
1217
1263
|
attach_function :dump_type, :LLVMDumpType, [OpaqueType], :void
|
1218
1264
|
|
1219
|
-
#
|
1220
|
-
# LLVMDisposeMessage to free the string.
|
1221
|
-
#
|
1222
|
-
# @see llvm::Type::print()
|
1265
|
+
# (Not documented)
|
1223
1266
|
#
|
1224
1267
|
# @method print_type_to_string(val)
|
1225
1268
|
# @param [OpaqueType] val
|
@@ -1227,7 +1270,7 @@ module RCGTK::Bindings
|
|
1227
1270
|
# @scope class
|
1228
1271
|
attach_function :print_type_to_string, :LLVMPrintTypeToString, [OpaqueType], :string
|
1229
1272
|
|
1230
|
-
#
|
1273
|
+
# (Not documented)
|
1231
1274
|
#
|
1232
1275
|
# @method int1_type_in_context(c)
|
1233
1276
|
# @param [OpaqueContext] c
|
@@ -1276,8 +1319,7 @@ module RCGTK::Bindings
|
|
1276
1319
|
# @scope class
|
1277
1320
|
attach_function :int_type_in_context, :LLVMIntTypeInContext, [OpaqueContext, :uint], OpaqueType
|
1278
1321
|
|
1279
|
-
#
|
1280
|
-
# width.
|
1322
|
+
# (Not documented)
|
1281
1323
|
#
|
1282
1324
|
# @method int1_type()
|
1283
1325
|
# @return [OpaqueType]
|
@@ -1328,7 +1370,7 @@ module RCGTK::Bindings
|
|
1328
1370
|
# @scope class
|
1329
1371
|
attach_function :get_int_type_width, :LLVMGetIntTypeWidth, [OpaqueType], :uint
|
1330
1372
|
|
1331
|
-
#
|
1373
|
+
# (Not documented)
|
1332
1374
|
#
|
1333
1375
|
# @method half_type_in_context(c)
|
1334
1376
|
# @param [OpaqueContext] c
|
@@ -1336,7 +1378,7 @@ module RCGTK::Bindings
|
|
1336
1378
|
# @scope class
|
1337
1379
|
attach_function :half_type_in_context, :LLVMHalfTypeInContext, [OpaqueContext], OpaqueType
|
1338
1380
|
|
1339
|
-
#
|
1381
|
+
# (Not documented)
|
1340
1382
|
#
|
1341
1383
|
# @method float_type_in_context(c)
|
1342
1384
|
# @param [OpaqueContext] c
|
@@ -1344,7 +1386,7 @@ module RCGTK::Bindings
|
|
1344
1386
|
# @scope class
|
1345
1387
|
attach_function :float_type_in_context, :LLVMFloatTypeInContext, [OpaqueContext], OpaqueType
|
1346
1388
|
|
1347
|
-
#
|
1389
|
+
# (Not documented)
|
1348
1390
|
#
|
1349
1391
|
# @method double_type_in_context(c)
|
1350
1392
|
# @param [OpaqueContext] c
|
@@ -1352,7 +1394,7 @@ module RCGTK::Bindings
|
|
1352
1394
|
# @scope class
|
1353
1395
|
attach_function :double_type_in_context, :LLVMDoubleTypeInContext, [OpaqueContext], OpaqueType
|
1354
1396
|
|
1355
|
-
#
|
1397
|
+
# (Not documented)
|
1356
1398
|
#
|
1357
1399
|
# @method x86fp80_type_in_context(c)
|
1358
1400
|
# @param [OpaqueContext] c
|
@@ -1360,8 +1402,7 @@ module RCGTK::Bindings
|
|
1360
1402
|
# @scope class
|
1361
1403
|
attach_function :x86fp80_type_in_context, :LLVMX86FP80TypeInContext, [OpaqueContext], OpaqueType
|
1362
1404
|
|
1363
|
-
#
|
1364
|
-
# context.
|
1405
|
+
# (Not documented)
|
1365
1406
|
#
|
1366
1407
|
# @method fp128_type_in_context(c)
|
1367
1408
|
# @param [OpaqueContext] c
|
@@ -1369,7 +1410,7 @@ module RCGTK::Bindings
|
|
1369
1410
|
# @scope class
|
1370
1411
|
attach_function :fp128_type_in_context, :LLVMFP128TypeInContext, [OpaqueContext], OpaqueType
|
1371
1412
|
|
1372
|
-
#
|
1413
|
+
# (Not documented)
|
1373
1414
|
#
|
1374
1415
|
# @method ppcfp128_type_in_context(c)
|
1375
1416
|
# @param [OpaqueContext] c
|
@@ -1377,9 +1418,7 @@ module RCGTK::Bindings
|
|
1377
1418
|
# @scope class
|
1378
1419
|
attach_function :ppcfp128_type_in_context, :LLVMPPCFP128TypeInContext, [OpaqueContext], OpaqueType
|
1379
1420
|
|
1380
|
-
#
|
1381
|
-
#
|
1382
|
-
# These map to the functions in this group of the same name.
|
1421
|
+
# (Not documented)
|
1383
1422
|
#
|
1384
1423
|
# @method half_type()
|
1385
1424
|
# @return [OpaqueType]
|
@@ -1421,10 +1460,7 @@ module RCGTK::Bindings
|
|
1421
1460
|
# @scope class
|
1422
1461
|
attach_function :ppcfp128_type, :LLVMPPCFP128Type, [], OpaqueType
|
1423
1462
|
|
1424
|
-
#
|
1425
|
-
#
|
1426
|
-
# The function is defined as a tuple of a return Type, a list of
|
1427
|
-
# parameter types, and whether the function is variadic.
|
1463
|
+
# (Not documented)
|
1428
1464
|
#
|
1429
1465
|
# @method function_type(return_type, param_types, param_count, is_var_arg)
|
1430
1466
|
# @param [OpaqueType] return_type
|
@@ -1435,7 +1471,7 @@ module RCGTK::Bindings
|
|
1435
1471
|
# @scope class
|
1436
1472
|
attach_function :function_type, :LLVMFunctionType, [OpaqueType, :pointer, :uint, :int], OpaqueType
|
1437
1473
|
|
1438
|
-
#
|
1474
|
+
# (Not documented)
|
1439
1475
|
#
|
1440
1476
|
# @method is_function_var_arg(function_ty)
|
1441
1477
|
# @param [OpaqueType] function_ty
|
@@ -1443,7 +1479,7 @@ module RCGTK::Bindings
|
|
1443
1479
|
# @scope class
|
1444
1480
|
attach_function :is_function_var_arg, :LLVMIsFunctionVarArg, [OpaqueType], :int
|
1445
1481
|
|
1446
|
-
#
|
1482
|
+
# (Not documented)
|
1447
1483
|
#
|
1448
1484
|
# @method get_return_type(function_ty)
|
1449
1485
|
# @param [OpaqueType] function_ty
|
@@ -1451,7 +1487,7 @@ module RCGTK::Bindings
|
|
1451
1487
|
# @scope class
|
1452
1488
|
attach_function :get_return_type, :LLVMGetReturnType, [OpaqueType], OpaqueType
|
1453
1489
|
|
1454
|
-
#
|
1490
|
+
# (Not documented)
|
1455
1491
|
#
|
1456
1492
|
# @method count_param_types(function_ty)
|
1457
1493
|
# @param [OpaqueType] function_ty
|
@@ -1459,15 +1495,7 @@ module RCGTK::Bindings
|
|
1459
1495
|
# @scope class
|
1460
1496
|
attach_function :count_param_types, :LLVMCountParamTypes, [OpaqueType], :uint
|
1461
1497
|
|
1462
|
-
#
|
1463
|
-
#
|
1464
|
-
# The Dest parameter should point to a pre-allocated array of
|
1465
|
-
# LLVMTypeRef at least LLVMCountParamTypes() large. On return, the
|
1466
|
-
# first LLVMCountParamTypes() entries in the array will be populated
|
1467
|
-
# with LLVMTypeRef instances.
|
1468
|
-
#
|
1469
|
-
# @param FunctionTy The function type to operate on.
|
1470
|
-
# @param Dest Memory address of an array to be filled with result.
|
1498
|
+
# (Not documented)
|
1471
1499
|
#
|
1472
1500
|
# @method get_param_types(function_ty, dest)
|
1473
1501
|
# @param [OpaqueType] function_ty
|
@@ -1476,12 +1504,7 @@ module RCGTK::Bindings
|
|
1476
1504
|
# @scope class
|
1477
1505
|
attach_function :get_param_types, :LLVMGetParamTypes, [OpaqueType, :pointer], :void
|
1478
1506
|
|
1479
|
-
#
|
1480
|
-
#
|
1481
|
-
# A structure is specified by a list of inner elements/types and
|
1482
|
-
# whether these can be packed together.
|
1483
|
-
#
|
1484
|
-
# @see llvm::StructType::create()
|
1507
|
+
# (Not documented)
|
1485
1508
|
#
|
1486
1509
|
# @method struct_type_in_context(c, element_types, element_count, packed)
|
1487
1510
|
# @param [OpaqueContext] c
|
@@ -1492,9 +1515,7 @@ module RCGTK::Bindings
|
|
1492
1515
|
# @scope class
|
1493
1516
|
attach_function :struct_type_in_context, :LLVMStructTypeInContext, [OpaqueContext, :pointer, :uint, :int], OpaqueType
|
1494
1517
|
|
1495
|
-
#
|
1496
|
-
#
|
1497
|
-
# @see llvm::StructType::create()
|
1518
|
+
# (Not documented)
|
1498
1519
|
#
|
1499
1520
|
# @method struct_type(element_types, element_count, packed)
|
1500
1521
|
# @param [FFI::Pointer(*TypeRef)] element_types
|
@@ -1504,9 +1525,7 @@ module RCGTK::Bindings
|
|
1504
1525
|
# @scope class
|
1505
1526
|
attach_function :struct_type, :LLVMStructType, [:pointer, :uint, :int], OpaqueType
|
1506
1527
|
|
1507
|
-
#
|
1508
|
-
#
|
1509
|
-
# @see llvm::StructType::create()
|
1528
|
+
# (Not documented)
|
1510
1529
|
#
|
1511
1530
|
# @method struct_create_named(c, name)
|
1512
1531
|
# @param [OpaqueContext] c
|
@@ -1515,9 +1534,7 @@ module RCGTK::Bindings
|
|
1515
1534
|
# @scope class
|
1516
1535
|
attach_function :struct_create_named, :LLVMStructCreateNamed, [OpaqueContext, :string], OpaqueType
|
1517
1536
|
|
1518
|
-
#
|
1519
|
-
#
|
1520
|
-
# @see llvm::StructType::getName()
|
1537
|
+
# (Not documented)
|
1521
1538
|
#
|
1522
1539
|
# @method get_struct_name(ty)
|
1523
1540
|
# @param [OpaqueType] ty
|
@@ -1525,9 +1542,7 @@ module RCGTK::Bindings
|
|
1525
1542
|
# @scope class
|
1526
1543
|
attach_function :get_struct_name, :LLVMGetStructName, [OpaqueType], :string
|
1527
1544
|
|
1528
|
-
#
|
1529
|
-
#
|
1530
|
-
# @see llvm::StructType::setBody()
|
1545
|
+
# (Not documented)
|
1531
1546
|
#
|
1532
1547
|
# @method struct_set_body(struct_ty, element_types, element_count, packed)
|
1533
1548
|
# @param [OpaqueType] struct_ty
|
@@ -1538,9 +1553,7 @@ module RCGTK::Bindings
|
|
1538
1553
|
# @scope class
|
1539
1554
|
attach_function :struct_set_body, :LLVMStructSetBody, [OpaqueType, :pointer, :uint, :int], :void
|
1540
1555
|
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
# @see llvm::StructType::getNumElements()
|
1556
|
+
# (Not documented)
|
1544
1557
|
#
|
1545
1558
|
# @method count_struct_element_types(struct_ty)
|
1546
1559
|
# @param [OpaqueType] struct_ty
|
@@ -1548,14 +1561,7 @@ module RCGTK::Bindings
|
|
1548
1561
|
# @scope class
|
1549
1562
|
attach_function :count_struct_element_types, :LLVMCountStructElementTypes, [OpaqueType], :uint
|
1550
1563
|
|
1551
|
-
#
|
1552
|
-
#
|
1553
|
-
# The function is passed the address of a pre-allocated array of
|
1554
|
-
# LLVMTypeRef at least LLVMCountStructElementTypes() long. After
|
1555
|
-
# invocation, this array will be populated with the structure's
|
1556
|
-
# elements. The objects in the destination array will have a lifetime
|
1557
|
-
# of the structure type itself, which is the lifetime of the context it
|
1558
|
-
# is contained in.
|
1564
|
+
# (Not documented)
|
1559
1565
|
#
|
1560
1566
|
# @method get_struct_element_types(struct_ty, dest)
|
1561
1567
|
# @param [OpaqueType] struct_ty
|
@@ -1564,9 +1570,7 @@ module RCGTK::Bindings
|
|
1564
1570
|
# @scope class
|
1565
1571
|
attach_function :get_struct_element_types, :LLVMGetStructElementTypes, [OpaqueType, :pointer], :void
|
1566
1572
|
|
1567
|
-
#
|
1568
|
-
#
|
1569
|
-
# @see llvm::StructType::isPacked()
|
1573
|
+
# (Not documented)
|
1570
1574
|
#
|
1571
1575
|
# @method is_packed_struct(struct_ty)
|
1572
1576
|
# @param [OpaqueType] struct_ty
|
@@ -1574,9 +1578,7 @@ module RCGTK::Bindings
|
|
1574
1578
|
# @scope class
|
1575
1579
|
attach_function :is_packed_struct, :LLVMIsPackedStruct, [OpaqueType], :int
|
1576
1580
|
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
# @see llvm::StructType::isOpaque()
|
1581
|
+
# (Not documented)
|
1580
1582
|
#
|
1581
1583
|
# @method is_opaque_struct(struct_ty)
|
1582
1584
|
# @param [OpaqueType] struct_ty
|
@@ -1584,11 +1586,7 @@ module RCGTK::Bindings
|
|
1584
1586
|
# @scope class
|
1585
1587
|
attach_function :is_opaque_struct, :LLVMIsOpaqueStruct, [OpaqueType], :int
|
1586
1588
|
|
1587
|
-
#
|
1588
|
-
#
|
1589
|
-
# This works on array, vector, and pointer types.
|
1590
|
-
#
|
1591
|
-
# @see llvm::SequentialType::getElementType()
|
1589
|
+
# (Not documented)
|
1592
1590
|
#
|
1593
1591
|
# @method get_element_type(ty)
|
1594
1592
|
# @param [OpaqueType] ty
|
@@ -1596,12 +1594,7 @@ module RCGTK::Bindings
|
|
1596
1594
|
# @scope class
|
1597
1595
|
attach_function :get_element_type, :LLVMGetElementType, [OpaqueType], OpaqueType
|
1598
1596
|
|
1599
|
-
#
|
1600
|
-
#
|
1601
|
-
# The created type will exist in the context that its element type
|
1602
|
-
# exists in.
|
1603
|
-
#
|
1604
|
-
# @see llvm::ArrayType::get()
|
1597
|
+
# (Not documented)
|
1605
1598
|
#
|
1606
1599
|
# @method array_type(element_type, element_count)
|
1607
1600
|
# @param [OpaqueType] element_type
|
@@ -1610,11 +1603,7 @@ module RCGTK::Bindings
|
|
1610
1603
|
# @scope class
|
1611
1604
|
attach_function :array_type, :LLVMArrayType, [OpaqueType, :uint], OpaqueType
|
1612
1605
|
|
1613
|
-
#
|
1614
|
-
#
|
1615
|
-
# This only works on types that represent arrays.
|
1616
|
-
#
|
1617
|
-
# @see llvm::ArrayType::getNumElements()
|
1606
|
+
# (Not documented)
|
1618
1607
|
#
|
1619
1608
|
# @method get_array_length(array_ty)
|
1620
1609
|
# @param [OpaqueType] array_ty
|
@@ -1622,12 +1611,7 @@ module RCGTK::Bindings
|
|
1622
1611
|
# @scope class
|
1623
1612
|
attach_function :get_array_length, :LLVMGetArrayLength, [OpaqueType], :uint
|
1624
1613
|
|
1625
|
-
#
|
1626
|
-
#
|
1627
|
-
# The created type will exist in the context that its pointee type
|
1628
|
-
# exists in.
|
1629
|
-
#
|
1630
|
-
# @see llvm::PointerType::get()
|
1614
|
+
# (Not documented)
|
1631
1615
|
#
|
1632
1616
|
# @method pointer_type(element_type, address_space)
|
1633
1617
|
# @param [OpaqueType] element_type
|
@@ -1636,11 +1620,7 @@ module RCGTK::Bindings
|
|
1636
1620
|
# @scope class
|
1637
1621
|
attach_function :pointer_type, :LLVMPointerType, [OpaqueType, :uint], OpaqueType
|
1638
1622
|
|
1639
|
-
#
|
1640
|
-
#
|
1641
|
-
# This only works on types that represent pointers.
|
1642
|
-
#
|
1643
|
-
# @see llvm::PointerType::getAddressSpace()
|
1623
|
+
# (Not documented)
|
1644
1624
|
#
|
1645
1625
|
# @method get_pointer_address_space(pointer_ty)
|
1646
1626
|
# @param [OpaqueType] pointer_ty
|
@@ -1648,13 +1628,7 @@ module RCGTK::Bindings
|
|
1648
1628
|
# @scope class
|
1649
1629
|
attach_function :get_pointer_address_space, :LLVMGetPointerAddressSpace, [OpaqueType], :uint
|
1650
1630
|
|
1651
|
-
#
|
1652
|
-
# number of elements.
|
1653
|
-
#
|
1654
|
-
# The created type will exist in the context thats its element type
|
1655
|
-
# exists in.
|
1656
|
-
#
|
1657
|
-
# @see llvm::VectorType::get()
|
1631
|
+
# (Not documented)
|
1658
1632
|
#
|
1659
1633
|
# @method vector_type(element_type, element_count)
|
1660
1634
|
# @param [OpaqueType] element_type
|
@@ -1663,11 +1637,7 @@ module RCGTK::Bindings
|
|
1663
1637
|
# @scope class
|
1664
1638
|
attach_function :vector_type, :LLVMVectorType, [OpaqueType, :uint], OpaqueType
|
1665
1639
|
|
1666
|
-
#
|
1667
|
-
#
|
1668
|
-
# This only works on types that represent vectors.
|
1669
|
-
#
|
1670
|
-
# @see llvm::VectorType::getNumElements()
|
1640
|
+
# (Not documented)
|
1671
1641
|
#
|
1672
1642
|
# @method get_vector_size(vector_ty)
|
1673
1643
|
# @param [OpaqueType] vector_ty
|
@@ -1675,7 +1645,7 @@ module RCGTK::Bindings
|
|
1675
1645
|
# @scope class
|
1676
1646
|
attach_function :get_vector_size, :LLVMGetVectorSize, [OpaqueType], :uint
|
1677
1647
|
|
1678
|
-
#
|
1648
|
+
# (Not documented)
|
1679
1649
|
#
|
1680
1650
|
# @method void_type_in_context(c)
|
1681
1651
|
# @param [OpaqueContext] c
|
@@ -1683,7 +1653,7 @@ module RCGTK::Bindings
|
|
1683
1653
|
# @scope class
|
1684
1654
|
attach_function :void_type_in_context, :LLVMVoidTypeInContext, [OpaqueContext], OpaqueType
|
1685
1655
|
|
1686
|
-
#
|
1656
|
+
# (Not documented)
|
1687
1657
|
#
|
1688
1658
|
# @method label_type_in_context(c)
|
1689
1659
|
# @param [OpaqueContext] c
|
@@ -1691,7 +1661,7 @@ module RCGTK::Bindings
|
|
1691
1661
|
# @scope class
|
1692
1662
|
attach_function :label_type_in_context, :LLVMLabelTypeInContext, [OpaqueContext], OpaqueType
|
1693
1663
|
|
1694
|
-
#
|
1664
|
+
# (Not documented)
|
1695
1665
|
#
|
1696
1666
|
# @method x86mmx_type_in_context(c)
|
1697
1667
|
# @param [OpaqueContext] c
|
@@ -1699,8 +1669,7 @@ module RCGTK::Bindings
|
|
1699
1669
|
# @scope class
|
1700
1670
|
attach_function :x86mmx_type_in_context, :LLVMX86MMXTypeInContext, [OpaqueContext], OpaqueType
|
1701
1671
|
|
1702
|
-
#
|
1703
|
-
# global context.
|
1672
|
+
# (Not documented)
|
1704
1673
|
#
|
1705
1674
|
# @method void_type()
|
1706
1675
|
# @return [OpaqueType]
|
@@ -1721,9 +1690,7 @@ module RCGTK::Bindings
|
|
1721
1690
|
# @scope class
|
1722
1691
|
attach_function :x86mmx_type, :LLVMX86MMXType, [], OpaqueType
|
1723
1692
|
|
1724
|
-
#
|
1725
|
-
#
|
1726
|
-
# @see llvm::Value::getType()
|
1693
|
+
# (Not documented)
|
1727
1694
|
#
|
1728
1695
|
# @method type_of(val)
|
1729
1696
|
# @param [OpaqueValue] val
|
@@ -1731,9 +1698,7 @@ module RCGTK::Bindings
|
|
1731
1698
|
# @scope class
|
1732
1699
|
attach_function :type_of, :LLVMTypeOf, [OpaqueValue], OpaqueType
|
1733
1700
|
|
1734
|
-
#
|
1735
|
-
#
|
1736
|
-
# @see llvm::Value::getName()
|
1701
|
+
# (Not documented)
|
1737
1702
|
#
|
1738
1703
|
# @method get_value_name(val)
|
1739
1704
|
# @param [OpaqueValue] val
|
@@ -1741,9 +1706,7 @@ module RCGTK::Bindings
|
|
1741
1706
|
# @scope class
|
1742
1707
|
attach_function :get_value_name, :LLVMGetValueName, [OpaqueValue], :string
|
1743
1708
|
|
1744
|
-
#
|
1745
|
-
#
|
1746
|
-
# @see llvm::Value::setName()
|
1709
|
+
# (Not documented)
|
1747
1710
|
#
|
1748
1711
|
# @method set_value_name(val, name)
|
1749
1712
|
# @param [OpaqueValue] val
|
@@ -1752,9 +1715,7 @@ module RCGTK::Bindings
|
|
1752
1715
|
# @scope class
|
1753
1716
|
attach_function :set_value_name, :LLVMSetValueName, [OpaqueValue, :string], :void
|
1754
1717
|
|
1755
|
-
#
|
1756
|
-
#
|
1757
|
-
# @see llvm::Value::dump()
|
1718
|
+
# (Not documented)
|
1758
1719
|
#
|
1759
1720
|
# @method dump_value(val)
|
1760
1721
|
# @param [OpaqueValue] val
|
@@ -1762,10 +1723,7 @@ module RCGTK::Bindings
|
|
1762
1723
|
# @scope class
|
1763
1724
|
attach_function :dump_value, :LLVMDumpValue, [OpaqueValue], :void
|
1764
1725
|
|
1765
|
-
#
|
1766
|
-
# LLVMDisposeMessage to free the string.
|
1767
|
-
#
|
1768
|
-
# @see llvm::Value::print()
|
1726
|
+
# (Not documented)
|
1769
1727
|
#
|
1770
1728
|
# @method print_value_to_string(val)
|
1771
1729
|
# @param [OpaqueValue] val
|
@@ -1773,9 +1731,7 @@ module RCGTK::Bindings
|
|
1773
1731
|
# @scope class
|
1774
1732
|
attach_function :print_value_to_string, :LLVMPrintValueToString, [OpaqueValue], :string
|
1775
1733
|
|
1776
|
-
#
|
1777
|
-
#
|
1778
|
-
# @see llvm::Value::replaceAllUsesWith()
|
1734
|
+
# (Not documented)
|
1779
1735
|
#
|
1780
1736
|
# @method replace_all_uses_with(old_val, new_val)
|
1781
1737
|
# @param [OpaqueValue] old_val
|
@@ -1784,7 +1740,7 @@ module RCGTK::Bindings
|
|
1784
1740
|
# @scope class
|
1785
1741
|
attach_function :replace_all_uses_with, :LLVMReplaceAllUsesWith, [OpaqueValue, OpaqueValue], :void
|
1786
1742
|
|
1787
|
-
#
|
1743
|
+
# (Not documented)
|
1788
1744
|
#
|
1789
1745
|
# @method is_constant(val)
|
1790
1746
|
# @param [OpaqueValue] val
|
@@ -1792,7 +1748,7 @@ module RCGTK::Bindings
|
|
1792
1748
|
# @scope class
|
1793
1749
|
attach_function :is_constant, :LLVMIsConstant, [OpaqueValue], :int
|
1794
1750
|
|
1795
|
-
#
|
1751
|
+
# (Not documented)
|
1796
1752
|
#
|
1797
1753
|
# @method is_undef(val)
|
1798
1754
|
# @param [OpaqueValue] val
|
@@ -1800,15 +1756,7 @@ module RCGTK::Bindings
|
|
1800
1756
|
# @scope class
|
1801
1757
|
attach_function :is_undef, :LLVMIsUndef, [OpaqueValue], :int
|
1802
1758
|
|
1803
|
-
#
|
1804
|
-
#
|
1805
|
-
# Internally, an LLVMValueRef is "pinned" to a specific type. This
|
1806
|
-
# series of functions allows you to cast an instance to a specific
|
1807
|
-
# type.
|
1808
|
-
#
|
1809
|
-
# If the cast is not valid for the specified type, NULL is returned.
|
1810
|
-
#
|
1811
|
-
# @see llvm::dyn_cast_or_null<>
|
1759
|
+
# (Not documented)
|
1812
1760
|
#
|
1813
1761
|
# @method is_a_argument(val)
|
1814
1762
|
# @param [OpaqueValue] val
|
@@ -1816,7 +1764,7 @@ module RCGTK::Bindings
|
|
1816
1764
|
# @scope class
|
1817
1765
|
attach_function :is_a_argument, :LLVMIsAArgument, [OpaqueValue], OpaqueValue
|
1818
1766
|
|
1819
|
-
#
|
1767
|
+
# (Not documented)
|
1820
1768
|
#
|
1821
1769
|
# @method is_a_basic_block(val)
|
1822
1770
|
# @param [OpaqueValue] val
|
@@ -1824,7 +1772,7 @@ module RCGTK::Bindings
|
|
1824
1772
|
# @scope class
|
1825
1773
|
attach_function :is_a_basic_block, :LLVMIsABasicBlock, [OpaqueValue], OpaqueValue
|
1826
1774
|
|
1827
|
-
#
|
1775
|
+
# (Not documented)
|
1828
1776
|
#
|
1829
1777
|
# @method is_a_inline_asm(val)
|
1830
1778
|
# @param [OpaqueValue] val
|
@@ -1832,7 +1780,7 @@ module RCGTK::Bindings
|
|
1832
1780
|
# @scope class
|
1833
1781
|
attach_function :is_a_inline_asm, :LLVMIsAInlineAsm, [OpaqueValue], OpaqueValue
|
1834
1782
|
|
1835
|
-
#
|
1783
|
+
# (Not documented)
|
1836
1784
|
#
|
1837
1785
|
# @method is_amd_node(val)
|
1838
1786
|
# @param [OpaqueValue] val
|
@@ -1840,7 +1788,7 @@ module RCGTK::Bindings
|
|
1840
1788
|
# @scope class
|
1841
1789
|
attach_function :is_amd_node, :LLVMIsAMDNode, [OpaqueValue], OpaqueValue
|
1842
1790
|
|
1843
|
-
#
|
1791
|
+
# (Not documented)
|
1844
1792
|
#
|
1845
1793
|
# @method is_amd_string(val)
|
1846
1794
|
# @param [OpaqueValue] val
|
@@ -1848,7 +1796,7 @@ module RCGTK::Bindings
|
|
1848
1796
|
# @scope class
|
1849
1797
|
attach_function :is_amd_string, :LLVMIsAMDString, [OpaqueValue], OpaqueValue
|
1850
1798
|
|
1851
|
-
#
|
1799
|
+
# (Not documented)
|
1852
1800
|
#
|
1853
1801
|
# @method is_a_user(val)
|
1854
1802
|
# @param [OpaqueValue] val
|
@@ -1856,7 +1804,7 @@ module RCGTK::Bindings
|
|
1856
1804
|
# @scope class
|
1857
1805
|
attach_function :is_a_user, :LLVMIsAUser, [OpaqueValue], OpaqueValue
|
1858
1806
|
|
1859
|
-
#
|
1807
|
+
# (Not documented)
|
1860
1808
|
#
|
1861
1809
|
# @method is_a_constant(val)
|
1862
1810
|
# @param [OpaqueValue] val
|
@@ -1864,7 +1812,7 @@ module RCGTK::Bindings
|
|
1864
1812
|
# @scope class
|
1865
1813
|
attach_function :is_a_constant, :LLVMIsAConstant, [OpaqueValue], OpaqueValue
|
1866
1814
|
|
1867
|
-
#
|
1815
|
+
# (Not documented)
|
1868
1816
|
#
|
1869
1817
|
# @method is_a_block_address(val)
|
1870
1818
|
# @param [OpaqueValue] val
|
@@ -1872,7 +1820,7 @@ module RCGTK::Bindings
|
|
1872
1820
|
# @scope class
|
1873
1821
|
attach_function :is_a_block_address, :LLVMIsABlockAddress, [OpaqueValue], OpaqueValue
|
1874
1822
|
|
1875
|
-
#
|
1823
|
+
# (Not documented)
|
1876
1824
|
#
|
1877
1825
|
# @method is_a_constant_aggregate_zero(val)
|
1878
1826
|
# @param [OpaqueValue] val
|
@@ -1880,7 +1828,7 @@ module RCGTK::Bindings
|
|
1880
1828
|
# @scope class
|
1881
1829
|
attach_function :is_a_constant_aggregate_zero, :LLVMIsAConstantAggregateZero, [OpaqueValue], OpaqueValue
|
1882
1830
|
|
1883
|
-
#
|
1831
|
+
# (Not documented)
|
1884
1832
|
#
|
1885
1833
|
# @method is_a_constant_array(val)
|
1886
1834
|
# @param [OpaqueValue] val
|
@@ -1888,7 +1836,7 @@ module RCGTK::Bindings
|
|
1888
1836
|
# @scope class
|
1889
1837
|
attach_function :is_a_constant_array, :LLVMIsAConstantArray, [OpaqueValue], OpaqueValue
|
1890
1838
|
|
1891
|
-
#
|
1839
|
+
# (Not documented)
|
1892
1840
|
#
|
1893
1841
|
# @method is_a_constant_data_sequential(val)
|
1894
1842
|
# @param [OpaqueValue] val
|
@@ -1896,7 +1844,7 @@ module RCGTK::Bindings
|
|
1896
1844
|
# @scope class
|
1897
1845
|
attach_function :is_a_constant_data_sequential, :LLVMIsAConstantDataSequential, [OpaqueValue], OpaqueValue
|
1898
1846
|
|
1899
|
-
#
|
1847
|
+
# (Not documented)
|
1900
1848
|
#
|
1901
1849
|
# @method is_a_constant_data_array(val)
|
1902
1850
|
# @param [OpaqueValue] val
|
@@ -1904,7 +1852,7 @@ module RCGTK::Bindings
|
|
1904
1852
|
# @scope class
|
1905
1853
|
attach_function :is_a_constant_data_array, :LLVMIsAConstantDataArray, [OpaqueValue], OpaqueValue
|
1906
1854
|
|
1907
|
-
#
|
1855
|
+
# (Not documented)
|
1908
1856
|
#
|
1909
1857
|
# @method is_a_constant_data_vector(val)
|
1910
1858
|
# @param [OpaqueValue] val
|
@@ -1912,7 +1860,7 @@ module RCGTK::Bindings
|
|
1912
1860
|
# @scope class
|
1913
1861
|
attach_function :is_a_constant_data_vector, :LLVMIsAConstantDataVector, [OpaqueValue], OpaqueValue
|
1914
1862
|
|
1915
|
-
#
|
1863
|
+
# (Not documented)
|
1916
1864
|
#
|
1917
1865
|
# @method is_a_constant_expr(val)
|
1918
1866
|
# @param [OpaqueValue] val
|
@@ -1920,7 +1868,7 @@ module RCGTK::Bindings
|
|
1920
1868
|
# @scope class
|
1921
1869
|
attach_function :is_a_constant_expr, :LLVMIsAConstantExpr, [OpaqueValue], OpaqueValue
|
1922
1870
|
|
1923
|
-
#
|
1871
|
+
# (Not documented)
|
1924
1872
|
#
|
1925
1873
|
# @method is_a_constant_fp(val)
|
1926
1874
|
# @param [OpaqueValue] val
|
@@ -1928,7 +1876,7 @@ module RCGTK::Bindings
|
|
1928
1876
|
# @scope class
|
1929
1877
|
attach_function :is_a_constant_fp, :LLVMIsAConstantFP, [OpaqueValue], OpaqueValue
|
1930
1878
|
|
1931
|
-
#
|
1879
|
+
# (Not documented)
|
1932
1880
|
#
|
1933
1881
|
# @method is_a_constant_int(val)
|
1934
1882
|
# @param [OpaqueValue] val
|
@@ -1936,7 +1884,7 @@ module RCGTK::Bindings
|
|
1936
1884
|
# @scope class
|
1937
1885
|
attach_function :is_a_constant_int, :LLVMIsAConstantInt, [OpaqueValue], OpaqueValue
|
1938
1886
|
|
1939
|
-
#
|
1887
|
+
# (Not documented)
|
1940
1888
|
#
|
1941
1889
|
# @method is_a_constant_pointer_null(val)
|
1942
1890
|
# @param [OpaqueValue] val
|
@@ -1944,7 +1892,7 @@ module RCGTK::Bindings
|
|
1944
1892
|
# @scope class
|
1945
1893
|
attach_function :is_a_constant_pointer_null, :LLVMIsAConstantPointerNull, [OpaqueValue], OpaqueValue
|
1946
1894
|
|
1947
|
-
#
|
1895
|
+
# (Not documented)
|
1948
1896
|
#
|
1949
1897
|
# @method is_a_constant_struct(val)
|
1950
1898
|
# @param [OpaqueValue] val
|
@@ -1952,7 +1900,7 @@ module RCGTK::Bindings
|
|
1952
1900
|
# @scope class
|
1953
1901
|
attach_function :is_a_constant_struct, :LLVMIsAConstantStruct, [OpaqueValue], OpaqueValue
|
1954
1902
|
|
1955
|
-
#
|
1903
|
+
# (Not documented)
|
1956
1904
|
#
|
1957
1905
|
# @method is_a_constant_vector(val)
|
1958
1906
|
# @param [OpaqueValue] val
|
@@ -1960,7 +1908,7 @@ module RCGTK::Bindings
|
|
1960
1908
|
# @scope class
|
1961
1909
|
attach_function :is_a_constant_vector, :LLVMIsAConstantVector, [OpaqueValue], OpaqueValue
|
1962
1910
|
|
1963
|
-
#
|
1911
|
+
# (Not documented)
|
1964
1912
|
#
|
1965
1913
|
# @method is_a_global_value(val)
|
1966
1914
|
# @param [OpaqueValue] val
|
@@ -1968,23 +1916,31 @@ module RCGTK::Bindings
|
|
1968
1916
|
# @scope class
|
1969
1917
|
attach_function :is_a_global_value, :LLVMIsAGlobalValue, [OpaqueValue], OpaqueValue
|
1970
1918
|
|
1971
|
-
#
|
1919
|
+
# (Not documented)
|
1972
1920
|
#
|
1973
|
-
# @method
|
1921
|
+
# @method is_a_global_alias(val)
|
1974
1922
|
# @param [OpaqueValue] val
|
1975
1923
|
# @return [OpaqueValue]
|
1976
1924
|
# @scope class
|
1977
|
-
attach_function :
|
1925
|
+
attach_function :is_a_global_alias, :LLVMIsAGlobalAlias, [OpaqueValue], OpaqueValue
|
1978
1926
|
|
1979
|
-
#
|
1927
|
+
# (Not documented)
|
1980
1928
|
#
|
1981
|
-
# @method
|
1929
|
+
# @method is_a_global_object(val)
|
1982
1930
|
# @param [OpaqueValue] val
|
1983
1931
|
# @return [OpaqueValue]
|
1984
1932
|
# @scope class
|
1985
|
-
attach_function :
|
1933
|
+
attach_function :is_a_global_object, :LLVMIsAGlobalObject, [OpaqueValue], OpaqueValue
|
1934
|
+
|
1935
|
+
# (Not documented)
|
1936
|
+
#
|
1937
|
+
# @method is_a_function(val)
|
1938
|
+
# @param [OpaqueValue] val
|
1939
|
+
# @return [OpaqueValue]
|
1940
|
+
# @scope class
|
1941
|
+
attach_function :is_a_function, :LLVMIsAFunction, [OpaqueValue], OpaqueValue
|
1986
1942
|
|
1987
|
-
#
|
1943
|
+
# (Not documented)
|
1988
1944
|
#
|
1989
1945
|
# @method is_a_global_variable(val)
|
1990
1946
|
# @param [OpaqueValue] val
|
@@ -1992,7 +1948,7 @@ module RCGTK::Bindings
|
|
1992
1948
|
# @scope class
|
1993
1949
|
attach_function :is_a_global_variable, :LLVMIsAGlobalVariable, [OpaqueValue], OpaqueValue
|
1994
1950
|
|
1995
|
-
#
|
1951
|
+
# (Not documented)
|
1996
1952
|
#
|
1997
1953
|
# @method is_a_undef_value(val)
|
1998
1954
|
# @param [OpaqueValue] val
|
@@ -2000,7 +1956,7 @@ module RCGTK::Bindings
|
|
2000
1956
|
# @scope class
|
2001
1957
|
attach_function :is_a_undef_value, :LLVMIsAUndefValue, [OpaqueValue], OpaqueValue
|
2002
1958
|
|
2003
|
-
#
|
1959
|
+
# (Not documented)
|
2004
1960
|
#
|
2005
1961
|
# @method is_a_instruction(val)
|
2006
1962
|
# @param [OpaqueValue] val
|
@@ -2008,7 +1964,7 @@ module RCGTK::Bindings
|
|
2008
1964
|
# @scope class
|
2009
1965
|
attach_function :is_a_instruction, :LLVMIsAInstruction, [OpaqueValue], OpaqueValue
|
2010
1966
|
|
2011
|
-
#
|
1967
|
+
# (Not documented)
|
2012
1968
|
#
|
2013
1969
|
# @method is_a_binary_operator(val)
|
2014
1970
|
# @param [OpaqueValue] val
|
@@ -2016,7 +1972,7 @@ module RCGTK::Bindings
|
|
2016
1972
|
# @scope class
|
2017
1973
|
attach_function :is_a_binary_operator, :LLVMIsABinaryOperator, [OpaqueValue], OpaqueValue
|
2018
1974
|
|
2019
|
-
#
|
1975
|
+
# (Not documented)
|
2020
1976
|
#
|
2021
1977
|
# @method is_a_call_inst(val)
|
2022
1978
|
# @param [OpaqueValue] val
|
@@ -2024,7 +1980,7 @@ module RCGTK::Bindings
|
|
2024
1980
|
# @scope class
|
2025
1981
|
attach_function :is_a_call_inst, :LLVMIsACallInst, [OpaqueValue], OpaqueValue
|
2026
1982
|
|
2027
|
-
#
|
1983
|
+
# (Not documented)
|
2028
1984
|
#
|
2029
1985
|
# @method is_a_intrinsic_inst(val)
|
2030
1986
|
# @param [OpaqueValue] val
|
@@ -2032,7 +1988,7 @@ module RCGTK::Bindings
|
|
2032
1988
|
# @scope class
|
2033
1989
|
attach_function :is_a_intrinsic_inst, :LLVMIsAIntrinsicInst, [OpaqueValue], OpaqueValue
|
2034
1990
|
|
2035
|
-
#
|
1991
|
+
# (Not documented)
|
2036
1992
|
#
|
2037
1993
|
# @method is_a_dbg_info_intrinsic(val)
|
2038
1994
|
# @param [OpaqueValue] val
|
@@ -2040,7 +1996,7 @@ module RCGTK::Bindings
|
|
2040
1996
|
# @scope class
|
2041
1997
|
attach_function :is_a_dbg_info_intrinsic, :LLVMIsADbgInfoIntrinsic, [OpaqueValue], OpaqueValue
|
2042
1998
|
|
2043
|
-
#
|
1999
|
+
# (Not documented)
|
2044
2000
|
#
|
2045
2001
|
# @method is_a_dbg_declare_inst(val)
|
2046
2002
|
# @param [OpaqueValue] val
|
@@ -2048,7 +2004,7 @@ module RCGTK::Bindings
|
|
2048
2004
|
# @scope class
|
2049
2005
|
attach_function :is_a_dbg_declare_inst, :LLVMIsADbgDeclareInst, [OpaqueValue], OpaqueValue
|
2050
2006
|
|
2051
|
-
#
|
2007
|
+
# (Not documented)
|
2052
2008
|
#
|
2053
2009
|
# @method is_a_mem_intrinsic(val)
|
2054
2010
|
# @param [OpaqueValue] val
|
@@ -2056,7 +2012,7 @@ module RCGTK::Bindings
|
|
2056
2012
|
# @scope class
|
2057
2013
|
attach_function :is_a_mem_intrinsic, :LLVMIsAMemIntrinsic, [OpaqueValue], OpaqueValue
|
2058
2014
|
|
2059
|
-
#
|
2015
|
+
# (Not documented)
|
2060
2016
|
#
|
2061
2017
|
# @method is_a_mem_cpy_inst(val)
|
2062
2018
|
# @param [OpaqueValue] val
|
@@ -2064,7 +2020,7 @@ module RCGTK::Bindings
|
|
2064
2020
|
# @scope class
|
2065
2021
|
attach_function :is_a_mem_cpy_inst, :LLVMIsAMemCpyInst, [OpaqueValue], OpaqueValue
|
2066
2022
|
|
2067
|
-
#
|
2023
|
+
# (Not documented)
|
2068
2024
|
#
|
2069
2025
|
# @method is_a_mem_move_inst(val)
|
2070
2026
|
# @param [OpaqueValue] val
|
@@ -2072,7 +2028,7 @@ module RCGTK::Bindings
|
|
2072
2028
|
# @scope class
|
2073
2029
|
attach_function :is_a_mem_move_inst, :LLVMIsAMemMoveInst, [OpaqueValue], OpaqueValue
|
2074
2030
|
|
2075
|
-
#
|
2031
|
+
# (Not documented)
|
2076
2032
|
#
|
2077
2033
|
# @method is_a_mem_set_inst(val)
|
2078
2034
|
# @param [OpaqueValue] val
|
@@ -2080,7 +2036,7 @@ module RCGTK::Bindings
|
|
2080
2036
|
# @scope class
|
2081
2037
|
attach_function :is_a_mem_set_inst, :LLVMIsAMemSetInst, [OpaqueValue], OpaqueValue
|
2082
2038
|
|
2083
|
-
#
|
2039
|
+
# (Not documented)
|
2084
2040
|
#
|
2085
2041
|
# @method is_a_cmp_inst(val)
|
2086
2042
|
# @param [OpaqueValue] val
|
@@ -2088,7 +2044,7 @@ module RCGTK::Bindings
|
|
2088
2044
|
# @scope class
|
2089
2045
|
attach_function :is_a_cmp_inst, :LLVMIsACmpInst, [OpaqueValue], OpaqueValue
|
2090
2046
|
|
2091
|
-
#
|
2047
|
+
# (Not documented)
|
2092
2048
|
#
|
2093
2049
|
# @method is_af_cmp_inst(val)
|
2094
2050
|
# @param [OpaqueValue] val
|
@@ -2096,7 +2052,7 @@ module RCGTK::Bindings
|
|
2096
2052
|
# @scope class
|
2097
2053
|
attach_function :is_af_cmp_inst, :LLVMIsAFCmpInst, [OpaqueValue], OpaqueValue
|
2098
2054
|
|
2099
|
-
#
|
2055
|
+
# (Not documented)
|
2100
2056
|
#
|
2101
2057
|
# @method is_ai_cmp_inst(val)
|
2102
2058
|
# @param [OpaqueValue] val
|
@@ -2104,7 +2060,7 @@ module RCGTK::Bindings
|
|
2104
2060
|
# @scope class
|
2105
2061
|
attach_function :is_ai_cmp_inst, :LLVMIsAICmpInst, [OpaqueValue], OpaqueValue
|
2106
2062
|
|
2107
|
-
#
|
2063
|
+
# (Not documented)
|
2108
2064
|
#
|
2109
2065
|
# @method is_a_extract_element_inst(val)
|
2110
2066
|
# @param [OpaqueValue] val
|
@@ -2112,7 +2068,7 @@ module RCGTK::Bindings
|
|
2112
2068
|
# @scope class
|
2113
2069
|
attach_function :is_a_extract_element_inst, :LLVMIsAExtractElementInst, [OpaqueValue], OpaqueValue
|
2114
2070
|
|
2115
|
-
#
|
2071
|
+
# (Not documented)
|
2116
2072
|
#
|
2117
2073
|
# @method is_a_get_element_ptr_inst(val)
|
2118
2074
|
# @param [OpaqueValue] val
|
@@ -2120,7 +2076,7 @@ module RCGTK::Bindings
|
|
2120
2076
|
# @scope class
|
2121
2077
|
attach_function :is_a_get_element_ptr_inst, :LLVMIsAGetElementPtrInst, [OpaqueValue], OpaqueValue
|
2122
2078
|
|
2123
|
-
#
|
2079
|
+
# (Not documented)
|
2124
2080
|
#
|
2125
2081
|
# @method is_a_insert_element_inst(val)
|
2126
2082
|
# @param [OpaqueValue] val
|
@@ -2128,7 +2084,7 @@ module RCGTK::Bindings
|
|
2128
2084
|
# @scope class
|
2129
2085
|
attach_function :is_a_insert_element_inst, :LLVMIsAInsertElementInst, [OpaqueValue], OpaqueValue
|
2130
2086
|
|
2131
|
-
#
|
2087
|
+
# (Not documented)
|
2132
2088
|
#
|
2133
2089
|
# @method is_a_insert_value_inst(val)
|
2134
2090
|
# @param [OpaqueValue] val
|
@@ -2136,7 +2092,7 @@ module RCGTK::Bindings
|
|
2136
2092
|
# @scope class
|
2137
2093
|
attach_function :is_a_insert_value_inst, :LLVMIsAInsertValueInst, [OpaqueValue], OpaqueValue
|
2138
2094
|
|
2139
|
-
#
|
2095
|
+
# (Not documented)
|
2140
2096
|
#
|
2141
2097
|
# @method is_a_landing_pad_inst(val)
|
2142
2098
|
# @param [OpaqueValue] val
|
@@ -2144,7 +2100,7 @@ module RCGTK::Bindings
|
|
2144
2100
|
# @scope class
|
2145
2101
|
attach_function :is_a_landing_pad_inst, :LLVMIsALandingPadInst, [OpaqueValue], OpaqueValue
|
2146
2102
|
|
2147
|
-
#
|
2103
|
+
# (Not documented)
|
2148
2104
|
#
|
2149
2105
|
# @method is_aphi_node(val)
|
2150
2106
|
# @param [OpaqueValue] val
|
@@ -2152,7 +2108,7 @@ module RCGTK::Bindings
|
|
2152
2108
|
# @scope class
|
2153
2109
|
attach_function :is_aphi_node, :LLVMIsAPHINode, [OpaqueValue], OpaqueValue
|
2154
2110
|
|
2155
|
-
#
|
2111
|
+
# (Not documented)
|
2156
2112
|
#
|
2157
2113
|
# @method is_a_select_inst(val)
|
2158
2114
|
# @param [OpaqueValue] val
|
@@ -2160,7 +2116,7 @@ module RCGTK::Bindings
|
|
2160
2116
|
# @scope class
|
2161
2117
|
attach_function :is_a_select_inst, :LLVMIsASelectInst, [OpaqueValue], OpaqueValue
|
2162
2118
|
|
2163
|
-
#
|
2119
|
+
# (Not documented)
|
2164
2120
|
#
|
2165
2121
|
# @method is_a_shuffle_vector_inst(val)
|
2166
2122
|
# @param [OpaqueValue] val
|
@@ -2168,7 +2124,7 @@ module RCGTK::Bindings
|
|
2168
2124
|
# @scope class
|
2169
2125
|
attach_function :is_a_shuffle_vector_inst, :LLVMIsAShuffleVectorInst, [OpaqueValue], OpaqueValue
|
2170
2126
|
|
2171
|
-
#
|
2127
|
+
# (Not documented)
|
2172
2128
|
#
|
2173
2129
|
# @method is_a_store_inst(val)
|
2174
2130
|
# @param [OpaqueValue] val
|
@@ -2176,7 +2132,7 @@ module RCGTK::Bindings
|
|
2176
2132
|
# @scope class
|
2177
2133
|
attach_function :is_a_store_inst, :LLVMIsAStoreInst, [OpaqueValue], OpaqueValue
|
2178
2134
|
|
2179
|
-
#
|
2135
|
+
# (Not documented)
|
2180
2136
|
#
|
2181
2137
|
# @method is_a_terminator_inst(val)
|
2182
2138
|
# @param [OpaqueValue] val
|
@@ -2184,7 +2140,7 @@ module RCGTK::Bindings
|
|
2184
2140
|
# @scope class
|
2185
2141
|
attach_function :is_a_terminator_inst, :LLVMIsATerminatorInst, [OpaqueValue], OpaqueValue
|
2186
2142
|
|
2187
|
-
#
|
2143
|
+
# (Not documented)
|
2188
2144
|
#
|
2189
2145
|
# @method is_a_branch_inst(val)
|
2190
2146
|
# @param [OpaqueValue] val
|
@@ -2192,7 +2148,7 @@ module RCGTK::Bindings
|
|
2192
2148
|
# @scope class
|
2193
2149
|
attach_function :is_a_branch_inst, :LLVMIsABranchInst, [OpaqueValue], OpaqueValue
|
2194
2150
|
|
2195
|
-
#
|
2151
|
+
# (Not documented)
|
2196
2152
|
#
|
2197
2153
|
# @method is_a_indirect_br_inst(val)
|
2198
2154
|
# @param [OpaqueValue] val
|
@@ -2200,7 +2156,7 @@ module RCGTK::Bindings
|
|
2200
2156
|
# @scope class
|
2201
2157
|
attach_function :is_a_indirect_br_inst, :LLVMIsAIndirectBrInst, [OpaqueValue], OpaqueValue
|
2202
2158
|
|
2203
|
-
#
|
2159
|
+
# (Not documented)
|
2204
2160
|
#
|
2205
2161
|
# @method is_a_invoke_inst(val)
|
2206
2162
|
# @param [OpaqueValue] val
|
@@ -2208,7 +2164,7 @@ module RCGTK::Bindings
|
|
2208
2164
|
# @scope class
|
2209
2165
|
attach_function :is_a_invoke_inst, :LLVMIsAInvokeInst, [OpaqueValue], OpaqueValue
|
2210
2166
|
|
2211
|
-
#
|
2167
|
+
# (Not documented)
|
2212
2168
|
#
|
2213
2169
|
# @method is_a_return_inst(val)
|
2214
2170
|
# @param [OpaqueValue] val
|
@@ -2216,7 +2172,7 @@ module RCGTK::Bindings
|
|
2216
2172
|
# @scope class
|
2217
2173
|
attach_function :is_a_return_inst, :LLVMIsAReturnInst, [OpaqueValue], OpaqueValue
|
2218
2174
|
|
2219
|
-
#
|
2175
|
+
# (Not documented)
|
2220
2176
|
#
|
2221
2177
|
# @method is_a_switch_inst(val)
|
2222
2178
|
# @param [OpaqueValue] val
|
@@ -2224,7 +2180,7 @@ module RCGTK::Bindings
|
|
2224
2180
|
# @scope class
|
2225
2181
|
attach_function :is_a_switch_inst, :LLVMIsASwitchInst, [OpaqueValue], OpaqueValue
|
2226
2182
|
|
2227
|
-
#
|
2183
|
+
# (Not documented)
|
2228
2184
|
#
|
2229
2185
|
# @method is_a_unreachable_inst(val)
|
2230
2186
|
# @param [OpaqueValue] val
|
@@ -2232,7 +2188,7 @@ module RCGTK::Bindings
|
|
2232
2188
|
# @scope class
|
2233
2189
|
attach_function :is_a_unreachable_inst, :LLVMIsAUnreachableInst, [OpaqueValue], OpaqueValue
|
2234
2190
|
|
2235
|
-
#
|
2191
|
+
# (Not documented)
|
2236
2192
|
#
|
2237
2193
|
# @method is_a_resume_inst(val)
|
2238
2194
|
# @param [OpaqueValue] val
|
@@ -2240,7 +2196,7 @@ module RCGTK::Bindings
|
|
2240
2196
|
# @scope class
|
2241
2197
|
attach_function :is_a_resume_inst, :LLVMIsAResumeInst, [OpaqueValue], OpaqueValue
|
2242
2198
|
|
2243
|
-
#
|
2199
|
+
# (Not documented)
|
2244
2200
|
#
|
2245
2201
|
# @method is_a_unary_instruction(val)
|
2246
2202
|
# @param [OpaqueValue] val
|
@@ -2248,7 +2204,7 @@ module RCGTK::Bindings
|
|
2248
2204
|
# @scope class
|
2249
2205
|
attach_function :is_a_unary_instruction, :LLVMIsAUnaryInstruction, [OpaqueValue], OpaqueValue
|
2250
2206
|
|
2251
|
-
#
|
2207
|
+
# (Not documented)
|
2252
2208
|
#
|
2253
2209
|
# @method is_a_alloca_inst(val)
|
2254
2210
|
# @param [OpaqueValue] val
|
@@ -2256,7 +2212,7 @@ module RCGTK::Bindings
|
|
2256
2212
|
# @scope class
|
2257
2213
|
attach_function :is_a_alloca_inst, :LLVMIsAAllocaInst, [OpaqueValue], OpaqueValue
|
2258
2214
|
|
2259
|
-
#
|
2215
|
+
# (Not documented)
|
2260
2216
|
#
|
2261
2217
|
# @method is_a_cast_inst(val)
|
2262
2218
|
# @param [OpaqueValue] val
|
@@ -2264,7 +2220,7 @@ module RCGTK::Bindings
|
|
2264
2220
|
# @scope class
|
2265
2221
|
attach_function :is_a_cast_inst, :LLVMIsACastInst, [OpaqueValue], OpaqueValue
|
2266
2222
|
|
2267
|
-
#
|
2223
|
+
# (Not documented)
|
2268
2224
|
#
|
2269
2225
|
# @method is_a_addr_space_cast_inst(val)
|
2270
2226
|
# @param [OpaqueValue] val
|
@@ -2272,7 +2228,7 @@ module RCGTK::Bindings
|
|
2272
2228
|
# @scope class
|
2273
2229
|
attach_function :is_a_addr_space_cast_inst, :LLVMIsAAddrSpaceCastInst, [OpaqueValue], OpaqueValue
|
2274
2230
|
|
2275
|
-
#
|
2231
|
+
# (Not documented)
|
2276
2232
|
#
|
2277
2233
|
# @method is_a_bit_cast_inst(val)
|
2278
2234
|
# @param [OpaqueValue] val
|
@@ -2280,7 +2236,7 @@ module RCGTK::Bindings
|
|
2280
2236
|
# @scope class
|
2281
2237
|
attach_function :is_a_bit_cast_inst, :LLVMIsABitCastInst, [OpaqueValue], OpaqueValue
|
2282
2238
|
|
2283
|
-
#
|
2239
|
+
# (Not documented)
|
2284
2240
|
#
|
2285
2241
|
# @method is_afp_ext_inst(val)
|
2286
2242
|
# @param [OpaqueValue] val
|
@@ -2288,7 +2244,7 @@ module RCGTK::Bindings
|
|
2288
2244
|
# @scope class
|
2289
2245
|
attach_function :is_afp_ext_inst, :LLVMIsAFPExtInst, [OpaqueValue], OpaqueValue
|
2290
2246
|
|
2291
|
-
#
|
2247
|
+
# (Not documented)
|
2292
2248
|
#
|
2293
2249
|
# @method is_afp_to_si_inst(val)
|
2294
2250
|
# @param [OpaqueValue] val
|
@@ -2296,7 +2252,7 @@ module RCGTK::Bindings
|
|
2296
2252
|
# @scope class
|
2297
2253
|
attach_function :is_afp_to_si_inst, :LLVMIsAFPToSIInst, [OpaqueValue], OpaqueValue
|
2298
2254
|
|
2299
|
-
#
|
2255
|
+
# (Not documented)
|
2300
2256
|
#
|
2301
2257
|
# @method is_afp_to_ui_inst(val)
|
2302
2258
|
# @param [OpaqueValue] val
|
@@ -2304,7 +2260,7 @@ module RCGTK::Bindings
|
|
2304
2260
|
# @scope class
|
2305
2261
|
attach_function :is_afp_to_ui_inst, :LLVMIsAFPToUIInst, [OpaqueValue], OpaqueValue
|
2306
2262
|
|
2307
|
-
#
|
2263
|
+
# (Not documented)
|
2308
2264
|
#
|
2309
2265
|
# @method is_afp_trunc_inst(val)
|
2310
2266
|
# @param [OpaqueValue] val
|
@@ -2312,7 +2268,7 @@ module RCGTK::Bindings
|
|
2312
2268
|
# @scope class
|
2313
2269
|
attach_function :is_afp_trunc_inst, :LLVMIsAFPTruncInst, [OpaqueValue], OpaqueValue
|
2314
2270
|
|
2315
|
-
#
|
2271
|
+
# (Not documented)
|
2316
2272
|
#
|
2317
2273
|
# @method is_a_int_to_ptr_inst(val)
|
2318
2274
|
# @param [OpaqueValue] val
|
@@ -2320,7 +2276,7 @@ module RCGTK::Bindings
|
|
2320
2276
|
# @scope class
|
2321
2277
|
attach_function :is_a_int_to_ptr_inst, :LLVMIsAIntToPtrInst, [OpaqueValue], OpaqueValue
|
2322
2278
|
|
2323
|
-
#
|
2279
|
+
# (Not documented)
|
2324
2280
|
#
|
2325
2281
|
# @method is_a_ptr_to_int_inst(val)
|
2326
2282
|
# @param [OpaqueValue] val
|
@@ -2328,7 +2284,7 @@ module RCGTK::Bindings
|
|
2328
2284
|
# @scope class
|
2329
2285
|
attach_function :is_a_ptr_to_int_inst, :LLVMIsAPtrToIntInst, [OpaqueValue], OpaqueValue
|
2330
2286
|
|
2331
|
-
#
|
2287
|
+
# (Not documented)
|
2332
2288
|
#
|
2333
2289
|
# @method is_as_ext_inst(val)
|
2334
2290
|
# @param [OpaqueValue] val
|
@@ -2336,7 +2292,7 @@ module RCGTK::Bindings
|
|
2336
2292
|
# @scope class
|
2337
2293
|
attach_function :is_as_ext_inst, :LLVMIsASExtInst, [OpaqueValue], OpaqueValue
|
2338
2294
|
|
2339
|
-
#
|
2295
|
+
# (Not documented)
|
2340
2296
|
#
|
2341
2297
|
# @method is_asi_to_fp_inst(val)
|
2342
2298
|
# @param [OpaqueValue] val
|
@@ -2344,7 +2300,7 @@ module RCGTK::Bindings
|
|
2344
2300
|
# @scope class
|
2345
2301
|
attach_function :is_asi_to_fp_inst, :LLVMIsASIToFPInst, [OpaqueValue], OpaqueValue
|
2346
2302
|
|
2347
|
-
#
|
2303
|
+
# (Not documented)
|
2348
2304
|
#
|
2349
2305
|
# @method is_a_trunc_inst(val)
|
2350
2306
|
# @param [OpaqueValue] val
|
@@ -2352,7 +2308,7 @@ module RCGTK::Bindings
|
|
2352
2308
|
# @scope class
|
2353
2309
|
attach_function :is_a_trunc_inst, :LLVMIsATruncInst, [OpaqueValue], OpaqueValue
|
2354
2310
|
|
2355
|
-
#
|
2311
|
+
# (Not documented)
|
2356
2312
|
#
|
2357
2313
|
# @method is_aui_to_fp_inst(val)
|
2358
2314
|
# @param [OpaqueValue] val
|
@@ -2360,7 +2316,7 @@ module RCGTK::Bindings
|
|
2360
2316
|
# @scope class
|
2361
2317
|
attach_function :is_aui_to_fp_inst, :LLVMIsAUIToFPInst, [OpaqueValue], OpaqueValue
|
2362
2318
|
|
2363
|
-
#
|
2319
|
+
# (Not documented)
|
2364
2320
|
#
|
2365
2321
|
# @method is_az_ext_inst(val)
|
2366
2322
|
# @param [OpaqueValue] val
|
@@ -2368,7 +2324,7 @@ module RCGTK::Bindings
|
|
2368
2324
|
# @scope class
|
2369
2325
|
attach_function :is_az_ext_inst, :LLVMIsAZExtInst, [OpaqueValue], OpaqueValue
|
2370
2326
|
|
2371
|
-
#
|
2327
|
+
# (Not documented)
|
2372
2328
|
#
|
2373
2329
|
# @method is_a_extract_value_inst(val)
|
2374
2330
|
# @param [OpaqueValue] val
|
@@ -2376,7 +2332,7 @@ module RCGTK::Bindings
|
|
2376
2332
|
# @scope class
|
2377
2333
|
attach_function :is_a_extract_value_inst, :LLVMIsAExtractValueInst, [OpaqueValue], OpaqueValue
|
2378
2334
|
|
2379
|
-
#
|
2335
|
+
# (Not documented)
|
2380
2336
|
#
|
2381
2337
|
# @method is_a_load_inst(val)
|
2382
2338
|
# @param [OpaqueValue] val
|
@@ -2384,7 +2340,7 @@ module RCGTK::Bindings
|
|
2384
2340
|
# @scope class
|
2385
2341
|
attach_function :is_a_load_inst, :LLVMIsALoadInst, [OpaqueValue], OpaqueValue
|
2386
2342
|
|
2387
|
-
#
|
2343
|
+
# (Not documented)
|
2388
2344
|
#
|
2389
2345
|
# @method is_ava_arg_inst(val)
|
2390
2346
|
# @param [OpaqueValue] val
|
@@ -2392,14 +2348,7 @@ module RCGTK::Bindings
|
|
2392
2348
|
# @scope class
|
2393
2349
|
attach_function :is_ava_arg_inst, :LLVMIsAVAArgInst, [OpaqueValue], OpaqueValue
|
2394
2350
|
|
2395
|
-
#
|
2396
|
-
#
|
2397
|
-
# Uses are obtained in an iterator fashion. First, call this function
|
2398
|
-
# to obtain a reference to the first use. Then, call LLVMGetNextUse()
|
2399
|
-
# on that instance and all subsequently obtained instances until
|
2400
|
-
# LLVMGetNextUse() returns NULL.
|
2401
|
-
#
|
2402
|
-
# @see llvm::Value::use_begin()
|
2351
|
+
# (Not documented)
|
2403
2352
|
#
|
2404
2353
|
# @method get_first_use(val)
|
2405
2354
|
# @param [OpaqueValue] val
|
@@ -2407,10 +2356,7 @@ module RCGTK::Bindings
|
|
2407
2356
|
# @scope class
|
2408
2357
|
attach_function :get_first_use, :LLVMGetFirstUse, [OpaqueValue], OpaqueUse
|
2409
2358
|
|
2410
|
-
#
|
2411
|
-
#
|
2412
|
-
# This effectively advances the iterator. It returns NULL if you are on
|
2413
|
-
# the final use and no more are available.
|
2359
|
+
# (Not documented)
|
2414
2360
|
#
|
2415
2361
|
# @method get_next_use(u)
|
2416
2362
|
# @param [OpaqueUse] u
|
@@ -2418,11 +2364,7 @@ module RCGTK::Bindings
|
|
2418
2364
|
# @scope class
|
2419
2365
|
attach_function :get_next_use, :LLVMGetNextUse, [OpaqueUse], OpaqueUse
|
2420
2366
|
|
2421
|
-
#
|
2422
|
-
#
|
2423
|
-
# The returned value corresponds to a llvm::User type.
|
2424
|
-
#
|
2425
|
-
# @see llvm::Use::getUser()
|
2367
|
+
# (Not documented)
|
2426
2368
|
#
|
2427
2369
|
# @method get_user(u)
|
2428
2370
|
# @param [OpaqueUse] u
|
@@ -2430,9 +2372,7 @@ module RCGTK::Bindings
|
|
2430
2372
|
# @scope class
|
2431
2373
|
attach_function :get_user, :LLVMGetUser, [OpaqueUse], OpaqueValue
|
2432
2374
|
|
2433
|
-
#
|
2434
|
-
#
|
2435
|
-
# @see llvm::Use::get().
|
2375
|
+
# (Not documented)
|
2436
2376
|
#
|
2437
2377
|
# @method get_used_value(u)
|
2438
2378
|
# @param [OpaqueUse] u
|
@@ -2440,9 +2380,7 @@ module RCGTK::Bindings
|
|
2440
2380
|
# @scope class
|
2441
2381
|
attach_function :get_used_value, :LLVMGetUsedValue, [OpaqueUse], OpaqueValue
|
2442
2382
|
|
2443
|
-
#
|
2444
|
-
#
|
2445
|
-
# @see llvm::User::getOperand()
|
2383
|
+
# (Not documented)
|
2446
2384
|
#
|
2447
2385
|
# @method get_operand(val, index)
|
2448
2386
|
# @param [OpaqueValue] val
|
@@ -2451,9 +2389,7 @@ module RCGTK::Bindings
|
|
2451
2389
|
# @scope class
|
2452
2390
|
attach_function :get_operand, :LLVMGetOperand, [OpaqueValue, :uint], OpaqueValue
|
2453
2391
|
|
2454
|
-
#
|
2455
|
-
#
|
2456
|
-
# @see llvm::User::setOperand()
|
2392
|
+
# (Not documented)
|
2457
2393
|
#
|
2458
2394
|
# @method set_operand(user, index, val)
|
2459
2395
|
# @param [OpaqueValue] user
|
@@ -2463,9 +2399,7 @@ module RCGTK::Bindings
|
|
2463
2399
|
# @scope class
|
2464
2400
|
attach_function :set_operand, :LLVMSetOperand, [OpaqueValue, :uint, OpaqueValue], :void
|
2465
2401
|
|
2466
|
-
#
|
2467
|
-
#
|
2468
|
-
# @see llvm::User::getNumOperands()
|
2402
|
+
# (Not documented)
|
2469
2403
|
#
|
2470
2404
|
# @method get_num_operands(val)
|
2471
2405
|
# @param [OpaqueValue] val
|
@@ -2473,9 +2407,7 @@ module RCGTK::Bindings
|
|
2473
2407
|
# @scope class
|
2474
2408
|
attach_function :get_num_operands, :LLVMGetNumOperands, [OpaqueValue], :int
|
2475
2409
|
|
2476
|
-
#
|
2477
|
-
#
|
2478
|
-
# @see llvm::Constant::getNullValue()
|
2410
|
+
# (Not documented)
|
2479
2411
|
#
|
2480
2412
|
# @method const_null(ty)
|
2481
2413
|
# @param [OpaqueType] ty
|
@@ -2483,12 +2415,7 @@ module RCGTK::Bindings
|
|
2483
2415
|
# @scope class
|
2484
2416
|
attach_function :const_null, :LLVMConstNull, [OpaqueType], OpaqueValue
|
2485
2417
|
|
2486
|
-
#
|
2487
|
-
# consisting of all ones.
|
2488
|
-
#
|
2489
|
-
# This is only valid for integer types.
|
2490
|
-
#
|
2491
|
-
# @see llvm::Constant::getAllOnesValue()
|
2418
|
+
# (Not documented)
|
2492
2419
|
#
|
2493
2420
|
# @method const_all_ones(ty)
|
2494
2421
|
# @param [OpaqueType] ty
|
@@ -2496,9 +2423,7 @@ module RCGTK::Bindings
|
|
2496
2423
|
# @scope class
|
2497
2424
|
attach_function :const_all_ones, :LLVMConstAllOnes, [OpaqueType], OpaqueValue
|
2498
2425
|
|
2499
|
-
#
|
2500
|
-
#
|
2501
|
-
# @see llvm::UndefValue::get()
|
2426
|
+
# (Not documented)
|
2502
2427
|
#
|
2503
2428
|
# @method get_undef(ty)
|
2504
2429
|
# @param [OpaqueType] ty
|
@@ -2506,9 +2431,7 @@ module RCGTK::Bindings
|
|
2506
2431
|
# @scope class
|
2507
2432
|
attach_function :get_undef, :LLVMGetUndef, [OpaqueType], OpaqueValue
|
2508
2433
|
|
2509
|
-
#
|
2510
|
-
#
|
2511
|
-
# @see llvm::Constant::isNullValue()
|
2434
|
+
# (Not documented)
|
2512
2435
|
#
|
2513
2436
|
# @method is_null(val)
|
2514
2437
|
# @param [OpaqueValue] val
|
@@ -2516,8 +2439,7 @@ module RCGTK::Bindings
|
|
2516
2439
|
# @scope class
|
2517
2440
|
attach_function :is_null, :LLVMIsNull, [OpaqueValue], :int
|
2518
2441
|
|
2519
|
-
#
|
2520
|
-
# specified type.
|
2442
|
+
# (Not documented)
|
2521
2443
|
#
|
2522
2444
|
# @method const_pointer_null(ty)
|
2523
2445
|
# @param [OpaqueType] ty
|
@@ -2525,15 +2447,7 @@ module RCGTK::Bindings
|
|
2525
2447
|
# @scope class
|
2526
2448
|
attach_function :const_pointer_null, :LLVMConstPointerNull, [OpaqueType], OpaqueValue
|
2527
2449
|
|
2528
|
-
#
|
2529
|
-
#
|
2530
|
-
# The returned value corresponds to a llvm::ConstantInt.
|
2531
|
-
#
|
2532
|
-
# @see llvm::ConstantInt::get()
|
2533
|
-
#
|
2534
|
-
# @param IntTy Integer type to obtain value of.
|
2535
|
-
# @param N The value the returned instance should refer to.
|
2536
|
-
# @param SignExtend Whether to sign extend the produced value.
|
2450
|
+
# (Not documented)
|
2537
2451
|
#
|
2538
2452
|
# @method const_int(int_ty, n, sign_extend)
|
2539
2453
|
# @param [OpaqueType] int_ty
|
@@ -2543,25 +2457,17 @@ module RCGTK::Bindings
|
|
2543
2457
|
# @scope class
|
2544
2458
|
attach_function :const_int, :LLVMConstInt, [OpaqueType, :ulong_long, :int], OpaqueValue
|
2545
2459
|
|
2546
|
-
#
|
2547
|
-
#
|
2548
|
-
# @see llvm::ConstantInt::get()
|
2460
|
+
# (Not documented)
|
2549
2461
|
#
|
2550
2462
|
# @method const_int_of_arbitrary_precision(int_ty, num_words, words)
|
2551
2463
|
# @param [OpaqueType] int_ty
|
2552
2464
|
# @param [Integer] num_words
|
2553
|
-
# @param [
|
2465
|
+
# @param [FFI::Pointer(*U_long)] words
|
2554
2466
|
# @return [OpaqueValue]
|
2555
2467
|
# @scope class
|
2556
|
-
attach_function :const_int_of_arbitrary_precision, :LLVMConstIntOfArbitraryPrecision, [OpaqueType, :uint, :
|
2468
|
+
attach_function :const_int_of_arbitrary_precision, :LLVMConstIntOfArbitraryPrecision, [OpaqueType, :uint, :pointer], OpaqueValue
|
2557
2469
|
|
2558
|
-
#
|
2559
|
-
#
|
2560
|
-
# A similar API, LLVMConstIntOfStringAndSize is also available. If the
|
2561
|
-
# string's length is available, it is preferred to call that function
|
2562
|
-
# instead.
|
2563
|
-
#
|
2564
|
-
# @see llvm::ConstantInt::get()
|
2470
|
+
# (Not documented)
|
2565
2471
|
#
|
2566
2472
|
# @method const_int_of_string(int_ty, text, radix)
|
2567
2473
|
# @param [OpaqueType] int_ty
|
@@ -2571,10 +2477,7 @@ module RCGTK::Bindings
|
|
2571
2477
|
# @scope class
|
2572
2478
|
attach_function :const_int_of_string, :LLVMConstIntOfString, [OpaqueType, :string, :uchar], OpaqueValue
|
2573
2479
|
|
2574
|
-
#
|
2575
|
-
# specified length.
|
2576
|
-
#
|
2577
|
-
# @see llvm::ConstantInt::get()
|
2480
|
+
# (Not documented)
|
2578
2481
|
#
|
2579
2482
|
# @method const_int_of_string_and_size(int_ty, text, s_len, radix)
|
2580
2483
|
# @param [OpaqueType] int_ty
|
@@ -2585,7 +2488,7 @@ module RCGTK::Bindings
|
|
2585
2488
|
# @scope class
|
2586
2489
|
attach_function :const_int_of_string_and_size, :LLVMConstIntOfStringAndSize, [OpaqueType, :string, :uint, :uchar], OpaqueValue
|
2587
2490
|
|
2588
|
-
#
|
2491
|
+
# (Not documented)
|
2589
2492
|
#
|
2590
2493
|
# @method const_real(real_ty, n)
|
2591
2494
|
# @param [OpaqueType] real_ty
|
@@ -2594,10 +2497,7 @@ module RCGTK::Bindings
|
|
2594
2497
|
# @scope class
|
2595
2498
|
attach_function :const_real, :LLVMConstReal, [OpaqueType, :double], OpaqueValue
|
2596
2499
|
|
2597
|
-
#
|
2598
|
-
#
|
2599
|
-
# A similar API, LLVMConstRealOfStringAndSize is also available. It
|
2600
|
-
# should be used if the input string's length is known.
|
2500
|
+
# (Not documented)
|
2601
2501
|
#
|
2602
2502
|
# @method const_real_of_string(real_ty, text)
|
2603
2503
|
# @param [OpaqueType] real_ty
|
@@ -2606,7 +2506,7 @@ module RCGTK::Bindings
|
|
2606
2506
|
# @scope class
|
2607
2507
|
attach_function :const_real_of_string, :LLVMConstRealOfString, [OpaqueType, :string], OpaqueValue
|
2608
2508
|
|
2609
|
-
#
|
2509
|
+
# (Not documented)
|
2610
2510
|
#
|
2611
2511
|
# @method const_real_of_string_and_size(real_ty, text, s_len)
|
2612
2512
|
# @param [OpaqueType] real_ty
|
@@ -2616,9 +2516,7 @@ module RCGTK::Bindings
|
|
2616
2516
|
# @scope class
|
2617
2517
|
attach_function :const_real_of_string_and_size, :LLVMConstRealOfStringAndSize, [OpaqueType, :string, :uint], OpaqueValue
|
2618
2518
|
|
2619
|
-
#
|
2620
|
-
#
|
2621
|
-
# @see llvm::ConstantInt::getZExtValue()
|
2519
|
+
# (Not documented)
|
2622
2520
|
#
|
2623
2521
|
# @method const_int_get_z_ext_value(constant_val)
|
2624
2522
|
# @param [OpaqueValue] constant_val
|
@@ -2626,9 +2524,7 @@ module RCGTK::Bindings
|
|
2626
2524
|
# @scope class
|
2627
2525
|
attach_function :const_int_get_z_ext_value, :LLVMConstIntGetZExtValue, [OpaqueValue], :ulong_long
|
2628
2526
|
|
2629
|
-
#
|
2630
|
-
#
|
2631
|
-
# @see llvm::ConstantInt::getSExtValue()
|
2527
|
+
# (Not documented)
|
2632
2528
|
#
|
2633
2529
|
# @method const_int_get_s_ext_value(constant_val)
|
2634
2530
|
# @param [OpaqueValue] constant_val
|
@@ -2636,9 +2532,7 @@ module RCGTK::Bindings
|
|
2636
2532
|
# @scope class
|
2637
2533
|
attach_function :const_int_get_s_ext_value, :LLVMConstIntGetSExtValue, [OpaqueValue], :long_long
|
2638
2534
|
|
2639
|
-
#
|
2640
|
-
#
|
2641
|
-
# @see llvm::ConstantDataArray::getString()
|
2535
|
+
# (Not documented)
|
2642
2536
|
#
|
2643
2537
|
# @method const_string_in_context(c, str, length, dont_null_terminate)
|
2644
2538
|
# @param [OpaqueContext] c
|
@@ -2649,13 +2543,7 @@ module RCGTK::Bindings
|
|
2649
2543
|
# @scope class
|
2650
2544
|
attach_function :const_string_in_context, :LLVMConstStringInContext, [OpaqueContext, :string, :uint, :int], OpaqueValue
|
2651
2545
|
|
2652
|
-
#
|
2653
|
-
#
|
2654
|
-
# This is the same as LLVMConstStringInContext except it operates on the
|
2655
|
-
# global context.
|
2656
|
-
#
|
2657
|
-
# @see LLVMConstStringInContext()
|
2658
|
-
# @see llvm::ConstantDataArray::getString()
|
2546
|
+
# (Not documented)
|
2659
2547
|
#
|
2660
2548
|
# @method const_string(str, length, dont_null_terminate)
|
2661
2549
|
# @param [String] str
|
@@ -2665,9 +2553,7 @@ module RCGTK::Bindings
|
|
2665
2553
|
# @scope class
|
2666
2554
|
attach_function :const_string, :LLVMConstString, [:string, :uint, :int], OpaqueValue
|
2667
2555
|
|
2668
|
-
#
|
2669
|
-
#
|
2670
|
-
# @see llvm::ConstantStruct::getAnon()
|
2556
|
+
# (Not documented)
|
2671
2557
|
#
|
2672
2558
|
# @method const_struct_in_context(c, constant_vals, count, packed)
|
2673
2559
|
# @param [OpaqueContext] c
|
@@ -2678,12 +2564,7 @@ module RCGTK::Bindings
|
|
2678
2564
|
# @scope class
|
2679
2565
|
attach_function :const_struct_in_context, :LLVMConstStructInContext, [OpaqueContext, :pointer, :uint, :int], OpaqueValue
|
2680
2566
|
|
2681
|
-
#
|
2682
|
-
#
|
2683
|
-
# This is the same as LLVMConstStructInContext except it operates on the
|
2684
|
-
# global Context.
|
2685
|
-
#
|
2686
|
-
# @see LLVMConstStructInContext()
|
2567
|
+
# (Not documented)
|
2687
2568
|
#
|
2688
2569
|
# @method const_struct(constant_vals, count, packed)
|
2689
2570
|
# @param [FFI::Pointer(*ValueRef)] constant_vals
|
@@ -2693,9 +2574,7 @@ module RCGTK::Bindings
|
|
2693
2574
|
# @scope class
|
2694
2575
|
attach_function :const_struct, :LLVMConstStruct, [:pointer, :uint, :int], OpaqueValue
|
2695
2576
|
|
2696
|
-
#
|
2697
|
-
#
|
2698
|
-
# @see llvm::ConstantArray::get()
|
2577
|
+
# (Not documented)
|
2699
2578
|
#
|
2700
2579
|
# @method const_array(element_ty, constant_vals, length)
|
2701
2580
|
# @param [OpaqueType] element_ty
|
@@ -2705,9 +2584,7 @@ module RCGTK::Bindings
|
|
2705
2584
|
# @scope class
|
2706
2585
|
attach_function :const_array, :LLVMConstArray, [OpaqueType, :pointer, :uint], OpaqueValue
|
2707
2586
|
|
2708
|
-
#
|
2709
|
-
#
|
2710
|
-
# @see llvm::ConstantStruct::get()
|
2587
|
+
# (Not documented)
|
2711
2588
|
#
|
2712
2589
|
# @method const_named_struct(struct_ty, constant_vals, count)
|
2713
2590
|
# @param [OpaqueType] struct_ty
|
@@ -2717,9 +2594,7 @@ module RCGTK::Bindings
|
|
2717
2594
|
# @scope class
|
2718
2595
|
attach_function :const_named_struct, :LLVMConstNamedStruct, [OpaqueType, :pointer, :uint], OpaqueValue
|
2719
2596
|
|
2720
|
-
#
|
2721
|
-
#
|
2722
|
-
# @see llvm::ConstantVector::get()
|
2597
|
+
# (Not documented)
|
2723
2598
|
#
|
2724
2599
|
# @method const_vector(scalar_constant_vals, size)
|
2725
2600
|
# @param [FFI::Pointer(*ValueRef)] scalar_constant_vals
|
@@ -2728,13 +2603,7 @@ module RCGTK::Bindings
|
|
2728
2603
|
# @scope class
|
2729
2604
|
attach_function :const_vector, :LLVMConstVector, [:pointer, :uint], OpaqueValue
|
2730
2605
|
|
2731
|
-
#
|
2732
|
-
#
|
2733
|
-
# Functions in this group correspond to APIs on llvm::ConstantExpr.
|
2734
|
-
#
|
2735
|
-
# @see llvm::ConstantExpr.
|
2736
|
-
#
|
2737
|
-
# @{
|
2606
|
+
# (Not documented)
|
2738
2607
|
#
|
2739
2608
|
# @method get_const_opcode(constant_val)
|
2740
2609
|
# @param [OpaqueValue] constant_val
|
@@ -3316,14 +3185,7 @@ module RCGTK::Bindings
|
|
3316
3185
|
# @scope class
|
3317
3186
|
attach_function :block_address, :LLVMBlockAddress, [OpaqueValue, OpaqueBasicBlock], OpaqueValue
|
3318
3187
|
|
3319
|
-
#
|
3320
|
-
#
|
3321
|
-
# This group contains functions that operate on global values. Functions in
|
3322
|
-
# this group relate to functions in the llvm::GlobalValue class tree.
|
3323
|
-
#
|
3324
|
-
# @see llvm::GlobalValue
|
3325
|
-
#
|
3326
|
-
# @{
|
3188
|
+
# (Not documented)
|
3327
3189
|
#
|
3328
3190
|
# @method get_global_parent(global)
|
3329
3191
|
# @param [OpaqueValue] global
|
@@ -3390,10 +3252,41 @@ module RCGTK::Bindings
|
|
3390
3252
|
# @scope class
|
3391
3253
|
attach_function :set_visibility, :LLVMSetVisibility, [OpaqueValue, :visibility], :void
|
3392
3254
|
|
3393
|
-
#
|
3394
|
-
#
|
3395
|
-
# @
|
3396
|
-
# @
|
3255
|
+
# (Not documented)
|
3256
|
+
#
|
3257
|
+
# @method get_dll_storage_class(global)
|
3258
|
+
# @param [OpaqueValue] global
|
3259
|
+
# @return [Symbol from _enum_dll_storage_class_]
|
3260
|
+
# @scope class
|
3261
|
+
attach_function :get_dll_storage_class, :LLVMGetDLLStorageClass, [OpaqueValue], :dll_storage_class
|
3262
|
+
|
3263
|
+
# (Not documented)
|
3264
|
+
#
|
3265
|
+
# @method set_dll_storage_class(global, class_)
|
3266
|
+
# @param [OpaqueValue] global
|
3267
|
+
# @param [Symbol from _enum_dll_storage_class_] class_
|
3268
|
+
# @return [nil]
|
3269
|
+
# @scope class
|
3270
|
+
attach_function :set_dll_storage_class, :LLVMSetDLLStorageClass, [OpaqueValue, :dll_storage_class], :void
|
3271
|
+
|
3272
|
+
# (Not documented)
|
3273
|
+
#
|
3274
|
+
# @method has_unnamed_addr(global)
|
3275
|
+
# @param [OpaqueValue] global
|
3276
|
+
# @return [Integer]
|
3277
|
+
# @scope class
|
3278
|
+
attach_function :has_unnamed_addr, :LLVMHasUnnamedAddr, [OpaqueValue], :int
|
3279
|
+
|
3280
|
+
# (Not documented)
|
3281
|
+
#
|
3282
|
+
# @method set_unnamed_addr(global, has_unnamed_addr)
|
3283
|
+
# @param [OpaqueValue] global
|
3284
|
+
# @param [Integer] has_unnamed_addr
|
3285
|
+
# @return [nil]
|
3286
|
+
# @scope class
|
3287
|
+
attach_function :set_unnamed_addr, :LLVMSetUnnamedAddr, [OpaqueValue, :int], :void
|
3288
|
+
|
3289
|
+
# (Not documented)
|
3397
3290
|
#
|
3398
3291
|
# @method get_alignment(v)
|
3399
3292
|
# @param [OpaqueValue] v
|
@@ -3401,10 +3294,7 @@ module RCGTK::Bindings
|
|
3401
3294
|
# @scope class
|
3402
3295
|
attach_function :get_alignment, :LLVMGetAlignment, [OpaqueValue], :uint
|
3403
3296
|
|
3404
|
-
#
|
3405
|
-
# @see llvm::LoadInst::setAlignment()
|
3406
|
-
# @see llvm::StoreInst::setAlignment()
|
3407
|
-
# @see llvm::GlobalValue::setAlignment()
|
3297
|
+
# (Not documented)
|
3408
3298
|
#
|
3409
3299
|
# @method set_alignment(v, bytes)
|
3410
3300
|
# @param [OpaqueValue] v
|
@@ -3413,13 +3303,7 @@ module RCGTK::Bindings
|
|
3413
3303
|
# @scope class
|
3414
3304
|
attach_function :set_alignment, :LLVMSetAlignment, [OpaqueValue, :uint], :void
|
3415
3305
|
|
3416
|
-
#
|
3417
|
-
#
|
3418
|
-
# This group contains functions that operate on global variable values.
|
3419
|
-
#
|
3420
|
-
# @see llvm::GlobalVariable
|
3421
|
-
#
|
3422
|
-
# @{
|
3306
|
+
# (Not documented)
|
3423
3307
|
#
|
3424
3308
|
# @method add_global(m, ty, name)
|
3425
3309
|
# @param [OpaqueModule] m
|
@@ -3574,13 +3458,7 @@ module RCGTK::Bindings
|
|
3574
3458
|
# @scope class
|
3575
3459
|
attach_function :set_externally_initialized, :LLVMSetExternallyInitialized, [OpaqueValue, :int], :void
|
3576
3460
|
|
3577
|
-
#
|
3578
|
-
#
|
3579
|
-
# This group contains function that operate on global alias values.
|
3580
|
-
#
|
3581
|
-
# @see llvm::GlobalAlias
|
3582
|
-
#
|
3583
|
-
# @{
|
3461
|
+
# (Not documented)
|
3584
3462
|
#
|
3585
3463
|
# @method add_alias(m, ty, aliasee, name)
|
3586
3464
|
# @param [OpaqueModule] m
|
@@ -3591,9 +3469,7 @@ module RCGTK::Bindings
|
|
3591
3469
|
# @scope class
|
3592
3470
|
attach_function :add_alias, :LLVMAddAlias, [OpaqueModule, OpaqueType, OpaqueValue, :string], OpaqueValue
|
3593
3471
|
|
3594
|
-
#
|
3595
|
-
#
|
3596
|
-
# @see llvm::Function::eraseFromParent()
|
3472
|
+
# (Not documented)
|
3597
3473
|
#
|
3598
3474
|
# @method delete_function(fn)
|
3599
3475
|
# @param [OpaqueValue] fn
|
@@ -3601,9 +3477,7 @@ module RCGTK::Bindings
|
|
3601
3477
|
# @scope class
|
3602
3478
|
attach_function :delete_function, :LLVMDeleteFunction, [OpaqueValue], :void
|
3603
3479
|
|
3604
|
-
#
|
3605
|
-
#
|
3606
|
-
# @see llvm::Function::getIntrinsicID()
|
3480
|
+
# (Not documented)
|
3607
3481
|
#
|
3608
3482
|
# @method get_intrinsic_id(fn)
|
3609
3483
|
# @param [OpaqueValue] fn
|
@@ -3611,11 +3485,7 @@ module RCGTK::Bindings
|
|
3611
3485
|
# @scope class
|
3612
3486
|
attach_function :get_intrinsic_id, :LLVMGetIntrinsicID, [OpaqueValue], :uint
|
3613
3487
|
|
3614
|
-
#
|
3615
|
-
#
|
3616
|
-
# The returned value corresponds to the LLVMCallConv enumeration.
|
3617
|
-
#
|
3618
|
-
# @see llvm::Function::getCallingConv()
|
3488
|
+
# (Not documented)
|
3619
3489
|
#
|
3620
3490
|
# @method get_function_call_conv(fn)
|
3621
3491
|
# @param [OpaqueValue] fn
|
@@ -3623,12 +3493,7 @@ module RCGTK::Bindings
|
|
3623
3493
|
# @scope class
|
3624
3494
|
attach_function :get_function_call_conv, :LLVMGetFunctionCallConv, [OpaqueValue], :uint
|
3625
3495
|
|
3626
|
-
#
|
3627
|
-
#
|
3628
|
-
# @see llvm::Function::setCallingConv()
|
3629
|
-
#
|
3630
|
-
# @param Fn Function to operate on
|
3631
|
-
# @param CC LLVMCallConv to set calling convention to
|
3496
|
+
# (Not documented)
|
3632
3497
|
#
|
3633
3498
|
# @method set_function_call_conv(fn, cc)
|
3634
3499
|
# @param [OpaqueValue] fn
|
@@ -3637,10 +3502,7 @@ module RCGTK::Bindings
|
|
3637
3502
|
# @scope class
|
3638
3503
|
attach_function :set_function_call_conv, :LLVMSetFunctionCallConv, [OpaqueValue, :uint], :void
|
3639
3504
|
|
3640
|
-
#
|
3641
|
-
# generation.
|
3642
|
-
#
|
3643
|
-
# @see llvm::Function::getGC()
|
3505
|
+
# (Not documented)
|
3644
3506
|
#
|
3645
3507
|
# @method get_gc(fn)
|
3646
3508
|
# @param [OpaqueValue] fn
|
@@ -3648,9 +3510,7 @@ module RCGTK::Bindings
|
|
3648
3510
|
# @scope class
|
3649
3511
|
attach_function :get_gc, :LLVMGetGC, [OpaqueValue], :string
|
3650
3512
|
|
3651
|
-
#
|
3652
|
-
#
|
3653
|
-
# @see llvm::Function::setGC()
|
3513
|
+
# (Not documented)
|
3654
3514
|
#
|
3655
3515
|
# @method set_gc(fn, name)
|
3656
3516
|
# @param [OpaqueValue] fn
|
@@ -3659,9 +3519,7 @@ module RCGTK::Bindings
|
|
3659
3519
|
# @scope class
|
3660
3520
|
attach_function :set_gc, :LLVMSetGC, [OpaqueValue, :string], :void
|
3661
3521
|
|
3662
|
-
#
|
3663
|
-
#
|
3664
|
-
# @see llvm::Function::addAttribute()
|
3522
|
+
# (Not documented)
|
3665
3523
|
#
|
3666
3524
|
# @method add_function_attr(fn, pa)
|
3667
3525
|
# @param [OpaqueValue] fn
|
@@ -3670,8 +3528,7 @@ module RCGTK::Bindings
|
|
3670
3528
|
# @scope class
|
3671
3529
|
attach_function :add_function_attr, :LLVMAddFunctionAttr, [OpaqueValue, :attribute], :void
|
3672
3530
|
|
3673
|
-
#
|
3674
|
-
# @see llvm::AttrBuilder::addAttribute()
|
3531
|
+
# (Not documented)
|
3675
3532
|
#
|
3676
3533
|
# @method add_target_dependent_function_attr(fn, a, v)
|
3677
3534
|
# @param [OpaqueValue] fn
|
@@ -3681,9 +3538,7 @@ module RCGTK::Bindings
|
|
3681
3538
|
# @scope class
|
3682
3539
|
attach_function :add_target_dependent_function_attr, :LLVMAddTargetDependentFunctionAttr, [OpaqueValue, :string, :string], :void
|
3683
3540
|
|
3684
|
-
#
|
3685
|
-
#
|
3686
|
-
# @see llvm::Function::getAttributes()
|
3541
|
+
# (Not documented)
|
3687
3542
|
#
|
3688
3543
|
# @method get_function_attr(fn)
|
3689
3544
|
# @param [OpaqueValue] fn
|
@@ -3691,7 +3546,7 @@ module RCGTK::Bindings
|
|
3691
3546
|
# @scope class
|
3692
3547
|
attach_function :get_function_attr, :LLVMGetFunctionAttr, [OpaqueValue], :attribute
|
3693
3548
|
|
3694
|
-
#
|
3549
|
+
# (Not documented)
|
3695
3550
|
#
|
3696
3551
|
# @method remove_function_attr(fn, pa)
|
3697
3552
|
# @param [OpaqueValue] fn
|
@@ -3700,9 +3555,7 @@ module RCGTK::Bindings
|
|
3700
3555
|
# @scope class
|
3701
3556
|
attach_function :remove_function_attr, :LLVMRemoveFunctionAttr, [OpaqueValue, :attribute], :void
|
3702
3557
|
|
3703
|
-
#
|
3704
|
-
#
|
3705
|
-
# @see llvm::Function::arg_size()
|
3558
|
+
# (Not documented)
|
3706
3559
|
#
|
3707
3560
|
# @method count_params(fn)
|
3708
3561
|
# @param [OpaqueValue] fn
|
@@ -3710,15 +3563,7 @@ module RCGTK::Bindings
|
|
3710
3563
|
# @scope class
|
3711
3564
|
attach_function :count_params, :LLVMCountParams, [OpaqueValue], :uint
|
3712
3565
|
|
3713
|
-
#
|
3714
|
-
#
|
3715
|
-
# The takes a pointer to a pre-allocated array of LLVMValueRef that is
|
3716
|
-
# at least LLVMCountParams() long. This array will be filled with
|
3717
|
-
# LLVMValueRef instances which correspond to the parameters the
|
3718
|
-
# function receives. Each LLVMValueRef corresponds to a llvm::Argument
|
3719
|
-
# instance.
|
3720
|
-
#
|
3721
|
-
# @see llvm::Function::arg_begin()
|
3566
|
+
# (Not documented)
|
3722
3567
|
#
|
3723
3568
|
# @method get_params(fn, params)
|
3724
3569
|
# @param [OpaqueValue] fn
|
@@ -3727,11 +3572,7 @@ module RCGTK::Bindings
|
|
3727
3572
|
# @scope class
|
3728
3573
|
attach_function :get_params, :LLVMGetParams, [OpaqueValue, :pointer], :void
|
3729
3574
|
|
3730
|
-
#
|
3731
|
-
#
|
3732
|
-
# Parameters are indexed from 0.
|
3733
|
-
#
|
3734
|
-
# @see llvm::Function::arg_begin()
|
3575
|
+
# (Not documented)
|
3735
3576
|
#
|
3736
3577
|
# @method get_param(fn, index)
|
3737
3578
|
# @param [OpaqueValue] fn
|
@@ -3740,13 +3581,7 @@ module RCGTK::Bindings
|
|
3740
3581
|
# @scope class
|
3741
3582
|
attach_function :get_param, :LLVMGetParam, [OpaqueValue, :uint], OpaqueValue
|
3742
3583
|
|
3743
|
-
#
|
3744
|
-
#
|
3745
|
-
# Unlike other functions in this group, this one takes an LLVMValueRef
|
3746
|
-
# that corresponds to a llvm::Attribute.
|
3747
|
-
#
|
3748
|
-
# The returned LLVMValueRef is the llvm::Function to which this
|
3749
|
-
# argument belongs.
|
3584
|
+
# (Not documented)
|
3750
3585
|
#
|
3751
3586
|
# @method get_param_parent(inst)
|
3752
3587
|
# @param [OpaqueValue] inst
|
@@ -3754,9 +3589,7 @@ module RCGTK::Bindings
|
|
3754
3589
|
# @scope class
|
3755
3590
|
attach_function :get_param_parent, :LLVMGetParamParent, [OpaqueValue], OpaqueValue
|
3756
3591
|
|
3757
|
-
#
|
3758
|
-
#
|
3759
|
-
# @see llvm::Function::arg_begin()
|
3592
|
+
# (Not documented)
|
3760
3593
|
#
|
3761
3594
|
# @method get_first_param(fn)
|
3762
3595
|
# @param [OpaqueValue] fn
|
@@ -3764,9 +3597,7 @@ module RCGTK::Bindings
|
|
3764
3597
|
# @scope class
|
3765
3598
|
attach_function :get_first_param, :LLVMGetFirstParam, [OpaqueValue], OpaqueValue
|
3766
3599
|
|
3767
|
-
#
|
3768
|
-
#
|
3769
|
-
# @see llvm::Function::arg_end()
|
3600
|
+
# (Not documented)
|
3770
3601
|
#
|
3771
3602
|
# @method get_last_param(fn)
|
3772
3603
|
# @param [OpaqueValue] fn
|
@@ -3774,11 +3605,7 @@ module RCGTK::Bindings
|
|
3774
3605
|
# @scope class
|
3775
3606
|
attach_function :get_last_param, :LLVMGetLastParam, [OpaqueValue], OpaqueValue
|
3776
3607
|
|
3777
|
-
#
|
3778
|
-
#
|
3779
|
-
# This takes an LLVMValueRef obtained from LLVMGetFirstParam() (which is
|
3780
|
-
# actually a wrapped iterator) and obtains the next parameter from the
|
3781
|
-
# underlying iterator.
|
3608
|
+
# (Not documented)
|
3782
3609
|
#
|
3783
3610
|
# @method get_next_param(arg)
|
3784
3611
|
# @param [OpaqueValue] arg
|
@@ -3786,9 +3613,7 @@ module RCGTK::Bindings
|
|
3786
3613
|
# @scope class
|
3787
3614
|
attach_function :get_next_param, :LLVMGetNextParam, [OpaqueValue], OpaqueValue
|
3788
3615
|
|
3789
|
-
#
|
3790
|
-
#
|
3791
|
-
# This is the opposite of LLVMGetNextParam().
|
3616
|
+
# (Not documented)
|
3792
3617
|
#
|
3793
3618
|
# @method get_previous_param(arg)
|
3794
3619
|
# @param [OpaqueValue] arg
|
@@ -3796,9 +3621,7 @@ module RCGTK::Bindings
|
|
3796
3621
|
# @scope class
|
3797
3622
|
attach_function :get_previous_param, :LLVMGetPreviousParam, [OpaqueValue], OpaqueValue
|
3798
3623
|
|
3799
|
-
#
|
3800
|
-
#
|
3801
|
-
# @see llvm::Argument::addAttr()
|
3624
|
+
# (Not documented)
|
3802
3625
|
#
|
3803
3626
|
# @method add_attribute(arg, pa)
|
3804
3627
|
# @param [OpaqueValue] arg
|
@@ -3807,9 +3630,7 @@ module RCGTK::Bindings
|
|
3807
3630
|
# @scope class
|
3808
3631
|
attach_function :add_attribute, :LLVMAddAttribute, [OpaqueValue, :attribute], :void
|
3809
3632
|
|
3810
|
-
#
|
3811
|
-
#
|
3812
|
-
# @see llvm::Argument::removeAttr()
|
3633
|
+
# (Not documented)
|
3813
3634
|
#
|
3814
3635
|
# @method remove_attribute(arg, pa)
|
3815
3636
|
# @param [OpaqueValue] arg
|
@@ -3818,7 +3639,7 @@ module RCGTK::Bindings
|
|
3818
3639
|
# @scope class
|
3819
3640
|
attach_function :remove_attribute, :LLVMRemoveAttribute, [OpaqueValue, :attribute], :void
|
3820
3641
|
|
3821
|
-
#
|
3642
|
+
# (Not documented)
|
3822
3643
|
#
|
3823
3644
|
# @method get_attribute(arg)
|
3824
3645
|
# @param [OpaqueValue] arg
|
@@ -3826,10 +3647,7 @@ module RCGTK::Bindings
|
|
3826
3647
|
# @scope class
|
3827
3648
|
attach_function :get_attribute, :LLVMGetAttribute, [OpaqueValue], :attribute
|
3828
3649
|
|
3829
|
-
#
|
3830
|
-
#
|
3831
|
-
# @see llvm::Argument::addAttr()
|
3832
|
-
# @see llvm::AttrBuilder::addAlignmentAttr()
|
3650
|
+
# (Not documented)
|
3833
3651
|
#
|
3834
3652
|
# @method set_param_alignment(arg, align)
|
3835
3653
|
# @param [OpaqueValue] arg
|
@@ -3838,13 +3656,7 @@ module RCGTK::Bindings
|
|
3838
3656
|
# @scope class
|
3839
3657
|
attach_function :set_param_alignment, :LLVMSetParamAlignment, [OpaqueValue, :uint], :void
|
3840
3658
|
|
3841
|
-
#
|
3842
|
-
#
|
3843
|
-
# The returned instance corresponds to the llvm::MDString class.
|
3844
|
-
#
|
3845
|
-
# The instance is specified by string data of a specified length. The
|
3846
|
-
# string content is copied, so the backing memory can be freed after
|
3847
|
-
# this function returns.
|
3659
|
+
# (Not documented)
|
3848
3660
|
#
|
3849
3661
|
# @method md_string_in_context(c, str, s_len)
|
3850
3662
|
# @param [OpaqueContext] c
|
@@ -3854,7 +3666,7 @@ module RCGTK::Bindings
|
|
3854
3666
|
# @scope class
|
3855
3667
|
attach_function :md_string_in_context, :LLVMMDStringInContext, [OpaqueContext, :string, :uint], OpaqueValue
|
3856
3668
|
|
3857
|
-
#
|
3669
|
+
# (Not documented)
|
3858
3670
|
#
|
3859
3671
|
# @method md_string(str, s_len)
|
3860
3672
|
# @param [String] str
|
@@ -3863,9 +3675,7 @@ module RCGTK::Bindings
|
|
3863
3675
|
# @scope class
|
3864
3676
|
attach_function :md_string, :LLVMMDString, [:string, :uint], OpaqueValue
|
3865
3677
|
|
3866
|
-
#
|
3867
|
-
#
|
3868
|
-
# The returned value corresponds to the llvm::MDNode class.
|
3678
|
+
# (Not documented)
|
3869
3679
|
#
|
3870
3680
|
# @method md_node_in_context(c, vals, count)
|
3871
3681
|
# @param [OpaqueContext] c
|
@@ -3875,7 +3685,7 @@ module RCGTK::Bindings
|
|
3875
3685
|
# @scope class
|
3876
3686
|
attach_function :md_node_in_context, :LLVMMDNodeInContext, [OpaqueContext, :pointer, :uint], OpaqueValue
|
3877
3687
|
|
3878
|
-
#
|
3688
|
+
# (Not documented)
|
3879
3689
|
#
|
3880
3690
|
# @method md_node(vals, count)
|
3881
3691
|
# @param [FFI::Pointer(*ValueRef)] vals
|
@@ -3884,11 +3694,7 @@ module RCGTK::Bindings
|
|
3884
3694
|
# @scope class
|
3885
3695
|
attach_function :md_node, :LLVMMDNode, [:pointer, :uint], OpaqueValue
|
3886
3696
|
|
3887
|
-
#
|
3888
|
-
#
|
3889
|
-
# @param V Instance to obtain string from.
|
3890
|
-
# @param Len Memory address which will hold length of returned string.
|
3891
|
-
# @return String data in MDString.
|
3697
|
+
# (Not documented)
|
3892
3698
|
#
|
3893
3699
|
# @method get_md_string(v, len)
|
3894
3700
|
# @param [OpaqueValue] v
|
@@ -3897,10 +3703,7 @@ module RCGTK::Bindings
|
|
3897
3703
|
# @scope class
|
3898
3704
|
attach_function :get_md_string, :LLVMGetMDString, [OpaqueValue, :pointer], :string
|
3899
3705
|
|
3900
|
-
#
|
3901
|
-
#
|
3902
|
-
# @param V MDNode to get number of operands from.
|
3903
|
-
# @return Number of operands of the MDNode.
|
3706
|
+
# (Not documented)
|
3904
3707
|
#
|
3905
3708
|
# @method get_md_node_num_operands(v)
|
3906
3709
|
# @param [OpaqueValue] v
|
@@ -3908,15 +3711,7 @@ module RCGTK::Bindings
|
|
3908
3711
|
# @scope class
|
3909
3712
|
attach_function :get_md_node_num_operands, :LLVMGetMDNodeNumOperands, [OpaqueValue], :uint
|
3910
3713
|
|
3911
|
-
#
|
3912
|
-
#
|
3913
|
-
# The passed LLVMValueRef pointer should point to enough memory to hold all of
|
3914
|
-
# the operands of the given MDNode (see LLVMGetMDNodeNumOperands) as
|
3915
|
-
# LLVMValueRefs. This memory will be populated with the LLVMValueRefs of the
|
3916
|
-
# MDNode's operands.
|
3917
|
-
#
|
3918
|
-
# @param V MDNode to get the operands from.
|
3919
|
-
# @param Dest Destination array for operands.
|
3714
|
+
# (Not documented)
|
3920
3715
|
#
|
3921
3716
|
# @method get_md_node_operands(v, dest)
|
3922
3717
|
# @param [OpaqueValue] v
|
@@ -3925,7 +3720,7 @@ module RCGTK::Bindings
|
|
3925
3720
|
# @scope class
|
3926
3721
|
attach_function :get_md_node_operands, :LLVMGetMDNodeOperands, [OpaqueValue, :pointer], :void
|
3927
3722
|
|
3928
|
-
#
|
3723
|
+
# (Not documented)
|
3929
3724
|
#
|
3930
3725
|
# @method basic_block_as_value(bb)
|
3931
3726
|
# @param [OpaqueBasicBlock] bb
|
@@ -3933,7 +3728,7 @@ module RCGTK::Bindings
|
|
3933
3728
|
# @scope class
|
3934
3729
|
attach_function :basic_block_as_value, :LLVMBasicBlockAsValue, [OpaqueBasicBlock], OpaqueValue
|
3935
3730
|
|
3936
|
-
#
|
3731
|
+
# (Not documented)
|
3937
3732
|
#
|
3938
3733
|
# @method value_is_basic_block(val)
|
3939
3734
|
# @param [OpaqueValue] val
|
@@ -3941,7 +3736,7 @@ module RCGTK::Bindings
|
|
3941
3736
|
# @scope class
|
3942
3737
|
attach_function :value_is_basic_block, :LLVMValueIsBasicBlock, [OpaqueValue], :int
|
3943
3738
|
|
3944
|
-
#
|
3739
|
+
# (Not documented)
|
3945
3740
|
#
|
3946
3741
|
# @method value_as_basic_block(val)
|
3947
3742
|
# @param [OpaqueValue] val
|
@@ -3949,9 +3744,7 @@ module RCGTK::Bindings
|
|
3949
3744
|
# @scope class
|
3950
3745
|
attach_function :value_as_basic_block, :LLVMValueAsBasicBlock, [OpaqueValue], OpaqueBasicBlock
|
3951
3746
|
|
3952
|
-
#
|
3953
|
-
#
|
3954
|
-
# @see llvm::BasicBlock::getParent()
|
3747
|
+
# (Not documented)
|
3955
3748
|
#
|
3956
3749
|
# @method get_basic_block_parent(bb)
|
3957
3750
|
# @param [OpaqueBasicBlock] bb
|
@@ -3959,14 +3752,7 @@ module RCGTK::Bindings
|
|
3959
3752
|
# @scope class
|
3960
3753
|
attach_function :get_basic_block_parent, :LLVMGetBasicBlockParent, [OpaqueBasicBlock], OpaqueValue
|
3961
3754
|
|
3962
|
-
#
|
3963
|
-
#
|
3964
|
-
# If the basic block does not have a terminator (it is not well-formed
|
3965
|
-
# if it doesn't), then NULL is returned.
|
3966
|
-
#
|
3967
|
-
# The returned LLVMValueRef corresponds to a llvm::TerminatorInst.
|
3968
|
-
#
|
3969
|
-
# @see llvm::BasicBlock::getTerminator()
|
3755
|
+
# (Not documented)
|
3970
3756
|
#
|
3971
3757
|
# @method get_basic_block_terminator(bb)
|
3972
3758
|
# @param [OpaqueBasicBlock] bb
|
@@ -3974,9 +3760,7 @@ module RCGTK::Bindings
|
|
3974
3760
|
# @scope class
|
3975
3761
|
attach_function :get_basic_block_terminator, :LLVMGetBasicBlockTerminator, [OpaqueBasicBlock], OpaqueValue
|
3976
3762
|
|
3977
|
-
#
|
3978
|
-
#
|
3979
|
-
# @param Fn Function value to operate on.
|
3763
|
+
# (Not documented)
|
3980
3764
|
#
|
3981
3765
|
# @method count_basic_blocks(fn)
|
3982
3766
|
# @param [OpaqueValue] fn
|
@@ -3984,12 +3768,7 @@ module RCGTK::Bindings
|
|
3984
3768
|
# @scope class
|
3985
3769
|
attach_function :count_basic_blocks, :LLVMCountBasicBlocks, [OpaqueValue], :uint
|
3986
3770
|
|
3987
|
-
#
|
3988
|
-
#
|
3989
|
-
# This operates on a function value. The BasicBlocks parameter is a
|
3990
|
-
# pointer to a pre-allocated array of LLVMBasicBlockRef of at least
|
3991
|
-
# LLVMCountBasicBlocks() in length. This array is populated with
|
3992
|
-
# LLVMBasicBlockRef instances.
|
3771
|
+
# (Not documented)
|
3993
3772
|
#
|
3994
3773
|
# @method get_basic_blocks(fn, basic_blocks)
|
3995
3774
|
# @param [OpaqueValue] fn
|
@@ -3998,12 +3777,7 @@ module RCGTK::Bindings
|
|
3998
3777
|
# @scope class
|
3999
3778
|
attach_function :get_basic_blocks, :LLVMGetBasicBlocks, [OpaqueValue, :pointer], :void
|
4000
3779
|
|
4001
|
-
#
|
4002
|
-
#
|
4003
|
-
# The returned basic block can be used as an iterator. You will likely
|
4004
|
-
# eventually call into LLVMGetNextBasicBlock() with it.
|
4005
|
-
#
|
4006
|
-
# @see llvm::Function::begin()
|
3780
|
+
# (Not documented)
|
4007
3781
|
#
|
4008
3782
|
# @method get_first_basic_block(fn)
|
4009
3783
|
# @param [OpaqueValue] fn
|
@@ -4011,9 +3785,7 @@ module RCGTK::Bindings
|
|
4011
3785
|
# @scope class
|
4012
3786
|
attach_function :get_first_basic_block, :LLVMGetFirstBasicBlock, [OpaqueValue], OpaqueBasicBlock
|
4013
3787
|
|
4014
|
-
#
|
4015
|
-
#
|
4016
|
-
# @see llvm::Function::end()
|
3788
|
+
# (Not documented)
|
4017
3789
|
#
|
4018
3790
|
# @method get_last_basic_block(fn)
|
4019
3791
|
# @param [OpaqueValue] fn
|
@@ -4021,7 +3793,7 @@ module RCGTK::Bindings
|
|
4021
3793
|
# @scope class
|
4022
3794
|
attach_function :get_last_basic_block, :LLVMGetLastBasicBlock, [OpaqueValue], OpaqueBasicBlock
|
4023
3795
|
|
4024
|
-
#
|
3796
|
+
# (Not documented)
|
4025
3797
|
#
|
4026
3798
|
# @method get_next_basic_block(bb)
|
4027
3799
|
# @param [OpaqueBasicBlock] bb
|
@@ -4029,7 +3801,7 @@ module RCGTK::Bindings
|
|
4029
3801
|
# @scope class
|
4030
3802
|
attach_function :get_next_basic_block, :LLVMGetNextBasicBlock, [OpaqueBasicBlock], OpaqueBasicBlock
|
4031
3803
|
|
4032
|
-
#
|
3804
|
+
# (Not documented)
|
4033
3805
|
#
|
4034
3806
|
# @method get_previous_basic_block(bb)
|
4035
3807
|
# @param [OpaqueBasicBlock] bb
|
@@ -4037,10 +3809,7 @@ module RCGTK::Bindings
|
|
4037
3809
|
# @scope class
|
4038
3810
|
attach_function :get_previous_basic_block, :LLVMGetPreviousBasicBlock, [OpaqueBasicBlock], OpaqueBasicBlock
|
4039
3811
|
|
4040
|
-
#
|
4041
|
-
# function.
|
4042
|
-
#
|
4043
|
-
# @see llvm::Function::getEntryBlock()
|
3812
|
+
# (Not documented)
|
4044
3813
|
#
|
4045
3814
|
# @method get_entry_basic_block(fn)
|
4046
3815
|
# @param [OpaqueValue] fn
|
@@ -4048,9 +3817,7 @@ module RCGTK::Bindings
|
|
4048
3817
|
# @scope class
|
4049
3818
|
attach_function :get_entry_basic_block, :LLVMGetEntryBasicBlock, [OpaqueValue], OpaqueBasicBlock
|
4050
3819
|
|
4051
|
-
#
|
4052
|
-
#
|
4053
|
-
# @see llvm::BasicBlock::Create()
|
3820
|
+
# (Not documented)
|
4054
3821
|
#
|
4055
3822
|
# @method append_basic_block_in_context(c, fn, name)
|
4056
3823
|
# @param [OpaqueContext] c
|
@@ -4060,10 +3827,7 @@ module RCGTK::Bindings
|
|
4060
3827
|
# @scope class
|
4061
3828
|
attach_function :append_basic_block_in_context, :LLVMAppendBasicBlockInContext, [OpaqueContext, OpaqueValue, :string], OpaqueBasicBlock
|
4062
3829
|
|
4063
|
-
#
|
4064
|
-
# context.
|
4065
|
-
#
|
4066
|
-
# @see llvm::BasicBlock::Create()
|
3830
|
+
# (Not documented)
|
4067
3831
|
#
|
4068
3832
|
# @method append_basic_block(fn, name)
|
4069
3833
|
# @param [OpaqueValue] fn
|
@@ -4072,12 +3836,7 @@ module RCGTK::Bindings
|
|
4072
3836
|
# @scope class
|
4073
3837
|
attach_function :append_basic_block, :LLVMAppendBasicBlock, [OpaqueValue, :string], OpaqueBasicBlock
|
4074
3838
|
|
4075
|
-
#
|
4076
|
-
#
|
4077
|
-
# The function to add to is determined by the function of the
|
4078
|
-
# passed basic block.
|
4079
|
-
#
|
4080
|
-
# @see llvm::BasicBlock::Create()
|
3839
|
+
# (Not documented)
|
4081
3840
|
#
|
4082
3841
|
# @method insert_basic_block_in_context(c, bb, name)
|
4083
3842
|
# @param [OpaqueContext] c
|
@@ -4087,9 +3846,7 @@ module RCGTK::Bindings
|
|
4087
3846
|
# @scope class
|
4088
3847
|
attach_function :insert_basic_block_in_context, :LLVMInsertBasicBlockInContext, [OpaqueContext, OpaqueBasicBlock, :string], OpaqueBasicBlock
|
4089
3848
|
|
4090
|
-
#
|
4091
|
-
#
|
4092
|
-
# @see llvm::BasicBlock::Create()
|
3849
|
+
# (Not documented)
|
4093
3850
|
#
|
4094
3851
|
# @method insert_basic_block(insert_before_bb, name)
|
4095
3852
|
# @param [OpaqueBasicBlock] insert_before_bb
|
@@ -4098,12 +3855,7 @@ module RCGTK::Bindings
|
|
4098
3855
|
# @scope class
|
4099
3856
|
attach_function :insert_basic_block, :LLVMInsertBasicBlock, [OpaqueBasicBlock, :string], OpaqueBasicBlock
|
4100
3857
|
|
4101
|
-
#
|
4102
|
-
#
|
4103
|
-
# This deletes the basic block from its containing function and deletes
|
4104
|
-
# the basic block itself.
|
4105
|
-
#
|
4106
|
-
# @see llvm::BasicBlock::eraseFromParent()
|
3858
|
+
# (Not documented)
|
4107
3859
|
#
|
4108
3860
|
# @method delete_basic_block(bb)
|
4109
3861
|
# @param [OpaqueBasicBlock] bb
|
@@ -4111,12 +3863,7 @@ module RCGTK::Bindings
|
|
4111
3863
|
# @scope class
|
4112
3864
|
attach_function :delete_basic_block, :LLVMDeleteBasicBlock, [OpaqueBasicBlock], :void
|
4113
3865
|
|
4114
|
-
#
|
4115
|
-
#
|
4116
|
-
# This deletes the basic block from its containing function but keep
|
4117
|
-
# the basic block alive.
|
4118
|
-
#
|
4119
|
-
# @see llvm::BasicBlock::removeFromParent()
|
3866
|
+
# (Not documented)
|
4120
3867
|
#
|
4121
3868
|
# @method remove_basic_block_from_parent(bb)
|
4122
3869
|
# @param [OpaqueBasicBlock] bb
|
@@ -4124,9 +3871,7 @@ module RCGTK::Bindings
|
|
4124
3871
|
# @scope class
|
4125
3872
|
attach_function :remove_basic_block_from_parent, :LLVMRemoveBasicBlockFromParent, [OpaqueBasicBlock], :void
|
4126
3873
|
|
4127
|
-
#
|
4128
|
-
#
|
4129
|
-
# @see llvm::BasicBlock::moveBefore()
|
3874
|
+
# (Not documented)
|
4130
3875
|
#
|
4131
3876
|
# @method move_basic_block_before(bb, move_pos)
|
4132
3877
|
# @param [OpaqueBasicBlock] bb
|
@@ -4135,9 +3880,7 @@ module RCGTK::Bindings
|
|
4135
3880
|
# @scope class
|
4136
3881
|
attach_function :move_basic_block_before, :LLVMMoveBasicBlockBefore, [OpaqueBasicBlock, OpaqueBasicBlock], :void
|
4137
3882
|
|
4138
|
-
#
|
4139
|
-
#
|
4140
|
-
# @see llvm::BasicBlock::moveAfter()
|
3883
|
+
# (Not documented)
|
4141
3884
|
#
|
4142
3885
|
# @method move_basic_block_after(bb, move_pos)
|
4143
3886
|
# @param [OpaqueBasicBlock] bb
|
@@ -4146,10 +3889,7 @@ module RCGTK::Bindings
|
|
4146
3889
|
# @scope class
|
4147
3890
|
attach_function :move_basic_block_after, :LLVMMoveBasicBlockAfter, [OpaqueBasicBlock, OpaqueBasicBlock], :void
|
4148
3891
|
|
4149
|
-
#
|
4150
|
-
#
|
4151
|
-
# The returned LLVMValueRef corresponds to a llvm::Instruction
|
4152
|
-
# instance.
|
3892
|
+
# (Not documented)
|
4153
3893
|
#
|
4154
3894
|
# @method get_first_instruction(bb)
|
4155
3895
|
# @param [OpaqueBasicBlock] bb
|
@@ -4157,9 +3897,7 @@ module RCGTK::Bindings
|
|
4157
3897
|
# @scope class
|
4158
3898
|
attach_function :get_first_instruction, :LLVMGetFirstInstruction, [OpaqueBasicBlock], OpaqueValue
|
4159
3899
|
|
4160
|
-
#
|
4161
|
-
#
|
4162
|
-
# The returned LLVMValueRef corresponds to an LLVM:Instruction.
|
3900
|
+
# (Not documented)
|
4163
3901
|
#
|
4164
3902
|
# @method get_last_instruction(bb)
|
4165
3903
|
# @param [OpaqueBasicBlock] bb
|
@@ -4167,7 +3905,7 @@ module RCGTK::Bindings
|
|
4167
3905
|
# @scope class
|
4168
3906
|
attach_function :get_last_instruction, :LLVMGetLastInstruction, [OpaqueBasicBlock], OpaqueValue
|
4169
3907
|
|
4170
|
-
#
|
3908
|
+
# (Not documented)
|
4171
3909
|
#
|
4172
3910
|
# @method has_metadata(val)
|
4173
3911
|
# @param [OpaqueValue] val
|
@@ -4175,7 +3913,7 @@ module RCGTK::Bindings
|
|
4175
3913
|
# @scope class
|
4176
3914
|
attach_function :has_metadata, :LLVMHasMetadata, [OpaqueValue], :int
|
4177
3915
|
|
4178
|
-
#
|
3916
|
+
# (Not documented)
|
4179
3917
|
#
|
4180
3918
|
# @method get_metadata(val, kind_id)
|
4181
3919
|
# @param [OpaqueValue] val
|
@@ -4184,7 +3922,7 @@ module RCGTK::Bindings
|
|
4184
3922
|
# @scope class
|
4185
3923
|
attach_function :get_metadata, :LLVMGetMetadata, [OpaqueValue, :uint], OpaqueValue
|
4186
3924
|
|
4187
|
-
#
|
3925
|
+
# (Not documented)
|
4188
3926
|
#
|
4189
3927
|
# @method set_metadata(val, kind_id, node)
|
4190
3928
|
# @param [OpaqueValue] val
|
@@ -4194,9 +3932,7 @@ module RCGTK::Bindings
|
|
4194
3932
|
# @scope class
|
4195
3933
|
attach_function :set_metadata, :LLVMSetMetadata, [OpaqueValue, :uint, OpaqueValue], :void
|
4196
3934
|
|
4197
|
-
#
|
4198
|
-
#
|
4199
|
-
# @see llvm::Instruction::getParent()
|
3935
|
+
# (Not documented)
|
4200
3936
|
#
|
4201
3937
|
# @method get_instruction_parent(inst)
|
4202
3938
|
# @param [OpaqueValue] inst
|
@@ -4204,12 +3940,7 @@ module RCGTK::Bindings
|
|
4204
3940
|
# @scope class
|
4205
3941
|
attach_function :get_instruction_parent, :LLVMGetInstructionParent, [OpaqueValue], OpaqueBasicBlock
|
4206
3942
|
|
4207
|
-
#
|
4208
|
-
#
|
4209
|
-
# The next instruction will be from the same basic block.
|
4210
|
-
#
|
4211
|
-
# If this is the last instruction in a basic block, NULL will be
|
4212
|
-
# returned.
|
3943
|
+
# (Not documented)
|
4213
3944
|
#
|
4214
3945
|
# @method get_next_instruction(inst)
|
4215
3946
|
# @param [OpaqueValue] inst
|
@@ -4217,10 +3948,7 @@ module RCGTK::Bindings
|
|
4217
3948
|
# @scope class
|
4218
3949
|
attach_function :get_next_instruction, :LLVMGetNextInstruction, [OpaqueValue], OpaqueValue
|
4219
3950
|
|
4220
|
-
#
|
4221
|
-
#
|
4222
|
-
# If the instruction is the first instruction in a basic block, NULL
|
4223
|
-
# will be returned.
|
3951
|
+
# (Not documented)
|
4224
3952
|
#
|
4225
3953
|
# @method get_previous_instruction(inst)
|
4226
3954
|
# @param [OpaqueValue] inst
|
@@ -4228,12 +3956,7 @@ module RCGTK::Bindings
|
|
4228
3956
|
# @scope class
|
4229
3957
|
attach_function :get_previous_instruction, :LLVMGetPreviousInstruction, [OpaqueValue], OpaqueValue
|
4230
3958
|
|
4231
|
-
#
|
4232
|
-
#
|
4233
|
-
# The instruction specified is removed from its containing building
|
4234
|
-
# block and then deleted.
|
4235
|
-
#
|
4236
|
-
# @see llvm::Instruction::eraseFromParent()
|
3959
|
+
# (Not documented)
|
4237
3960
|
#
|
4238
3961
|
# @method instruction_erase_from_parent(inst)
|
4239
3962
|
# @param [OpaqueValue] inst
|
@@ -4241,9 +3964,7 @@ module RCGTK::Bindings
|
|
4241
3964
|
# @scope class
|
4242
3965
|
attach_function :instruction_erase_from_parent, :LLVMInstructionEraseFromParent, [OpaqueValue], :void
|
4243
3966
|
|
4244
|
-
#
|
4245
|
-
#
|
4246
|
-
# @see llvm::Instruction::getOpCode()
|
3967
|
+
# (Not documented)
|
4247
3968
|
#
|
4248
3969
|
# @method get_instruction_opcode(inst)
|
4249
3970
|
# @param [OpaqueValue] inst
|
@@ -4251,12 +3972,7 @@ module RCGTK::Bindings
|
|
4251
3972
|
# @scope class
|
4252
3973
|
attach_function :get_instruction_opcode, :LLVMGetInstructionOpcode, [OpaqueValue], :opcode
|
4253
3974
|
|
4254
|
-
#
|
4255
|
-
#
|
4256
|
-
# This is only valid for instructions that correspond to llvm::ICmpInst
|
4257
|
-
# or llvm::ConstantExpr whose opcode is llvm::Instruction::ICmp.
|
4258
|
-
#
|
4259
|
-
# @see llvm::ICmpInst::getPredicate()
|
3975
|
+
# (Not documented)
|
4260
3976
|
#
|
4261
3977
|
# @method get_i_cmp_predicate(inst)
|
4262
3978
|
# @param [OpaqueValue] inst
|
@@ -4264,13 +3980,7 @@ module RCGTK::Bindings
|
|
4264
3980
|
# @scope class
|
4265
3981
|
attach_function :get_i_cmp_predicate, :LLVMGetICmpPredicate, [OpaqueValue], :int_predicate
|
4266
3982
|
|
4267
|
-
#
|
4268
|
-
#
|
4269
|
-
# This expects an LLVMValueRef that corresponds to a llvm::CallInst or
|
4270
|
-
# llvm::InvokeInst.
|
4271
|
-
#
|
4272
|
-
# @see llvm::CallInst::setCallingConv()
|
4273
|
-
# @see llvm::InvokeInst::setCallingConv()
|
3983
|
+
# (Not documented)
|
4274
3984
|
#
|
4275
3985
|
# @method set_instruction_call_conv(instr, cc)
|
4276
3986
|
# @param [OpaqueValue] instr
|
@@ -4279,12 +3989,7 @@ module RCGTK::Bindings
|
|
4279
3989
|
# @scope class
|
4280
3990
|
attach_function :set_instruction_call_conv, :LLVMSetInstructionCallConv, [OpaqueValue, :uint], :void
|
4281
3991
|
|
4282
|
-
#
|
4283
|
-
#
|
4284
|
-
# This is the opposite of LLVMSetInstructionCallConv(). Reads its
|
4285
|
-
# usage.
|
4286
|
-
#
|
4287
|
-
# @see LLVMSetInstructionCallConv()
|
3992
|
+
# (Not documented)
|
4288
3993
|
#
|
4289
3994
|
# @method get_instruction_call_conv(instr)
|
4290
3995
|
# @param [OpaqueValue] instr
|
@@ -4322,11 +4027,7 @@ module RCGTK::Bindings
|
|
4322
4027
|
# @scope class
|
4323
4028
|
attach_function :set_instr_param_alignment, :LLVMSetInstrParamAlignment, [OpaqueValue, :uint, :uint], :void
|
4324
4029
|
|
4325
|
-
#
|
4326
|
-
#
|
4327
|
-
# This only works on llvm::CallInst instructions.
|
4328
|
-
#
|
4329
|
-
# @see llvm::CallInst::isTailCall()
|
4030
|
+
# (Not documented)
|
4330
4031
|
#
|
4331
4032
|
# @method is_tail_call(call_inst)
|
4332
4033
|
# @param [OpaqueValue] call_inst
|
@@ -4334,11 +4035,7 @@ module RCGTK::Bindings
|
|
4334
4035
|
# @scope class
|
4335
4036
|
attach_function :is_tail_call, :LLVMIsTailCall, [OpaqueValue], :int
|
4336
4037
|
|
4337
|
-
#
|
4338
|
-
#
|
4339
|
-
# This only works on llvm::CallInst instructions.
|
4340
|
-
#
|
4341
|
-
# @see llvm::CallInst::setTailCall()
|
4038
|
+
# (Not documented)
|
4342
4039
|
#
|
4343
4040
|
# @method set_tail_call(call_inst, is_tail_call)
|
4344
4041
|
# @param [OpaqueValue] call_inst
|
@@ -4347,11 +4044,7 @@ module RCGTK::Bindings
|
|
4347
4044
|
# @scope class
|
4348
4045
|
attach_function :set_tail_call, :LLVMSetTailCall, [OpaqueValue, :int], :void
|
4349
4046
|
|
4350
|
-
#
|
4351
|
-
#
|
4352
|
-
# This only works on llvm::SwitchInst instructions.
|
4353
|
-
#
|
4354
|
-
# @see llvm::SwitchInst::getDefaultDest()
|
4047
|
+
# (Not documented)
|
4355
4048
|
#
|
4356
4049
|
# @method get_switch_default_dest(switch_instr)
|
4357
4050
|
# @param [OpaqueValue] switch_instr
|
@@ -4359,7 +4052,7 @@ module RCGTK::Bindings
|
|
4359
4052
|
# @scope class
|
4360
4053
|
attach_function :get_switch_default_dest, :LLVMGetSwitchDefaultDest, [OpaqueValue], OpaqueBasicBlock
|
4361
4054
|
|
4362
|
-
#
|
4055
|
+
# (Not documented)
|
4363
4056
|
#
|
4364
4057
|
# @method add_incoming(phi_node, incoming_values, incoming_blocks, count)
|
4365
4058
|
# @param [OpaqueValue] phi_node
|
@@ -4370,7 +4063,7 @@ module RCGTK::Bindings
|
|
4370
4063
|
# @scope class
|
4371
4064
|
attach_function :add_incoming, :LLVMAddIncoming, [OpaqueValue, :pointer, :pointer, :uint], :void
|
4372
4065
|
|
4373
|
-
#
|
4066
|
+
# (Not documented)
|
4374
4067
|
#
|
4375
4068
|
# @method count_incoming(phi_node)
|
4376
4069
|
# @param [OpaqueValue] phi_node
|
@@ -4378,7 +4071,7 @@ module RCGTK::Bindings
|
|
4378
4071
|
# @scope class
|
4379
4072
|
attach_function :count_incoming, :LLVMCountIncoming, [OpaqueValue], :uint
|
4380
4073
|
|
4381
|
-
#
|
4074
|
+
# (Not documented)
|
4382
4075
|
#
|
4383
4076
|
# @method get_incoming_value(phi_node, index)
|
4384
4077
|
# @param [OpaqueValue] phi_node
|
@@ -4387,7 +4080,7 @@ module RCGTK::Bindings
|
|
4387
4080
|
# @scope class
|
4388
4081
|
attach_function :get_incoming_value, :LLVMGetIncomingValue, [OpaqueValue, :uint], OpaqueValue
|
4389
4082
|
|
4390
|
-
#
|
4083
|
+
# (Not documented)
|
4391
4084
|
#
|
4392
4085
|
# @method get_incoming_block(phi_node, index)
|
4393
4086
|
# @param [OpaqueValue] phi_node
|
@@ -4396,12 +4089,7 @@ module RCGTK::Bindings
|
|
4396
4089
|
# @scope class
|
4397
4090
|
attach_function :get_incoming_block, :LLVMGetIncomingBlock, [OpaqueValue, :uint], OpaqueBasicBlock
|
4398
4091
|
|
4399
|
-
#
|
4400
|
-
#
|
4401
|
-
# An instruction builder represents a point within a basic block and is
|
4402
|
-
# the exclusive means of building instructions using the C interface.
|
4403
|
-
#
|
4404
|
-
# @{
|
4092
|
+
# (Not documented)
|
4405
4093
|
#
|
4406
4094
|
# @method create_builder_in_context(c)
|
4407
4095
|
# @param [OpaqueContext] c
|
@@ -4487,7 +4175,7 @@ module RCGTK::Bindings
|
|
4487
4175
|
# @scope class
|
4488
4176
|
attach_function :dispose_builder, :LLVMDisposeBuilder, [OpaqueBuilder], :void
|
4489
4177
|
|
4490
|
-
#
|
4178
|
+
# (Not documented)
|
4491
4179
|
#
|
4492
4180
|
# @method set_current_debug_location(builder, l)
|
4493
4181
|
# @param [OpaqueBuilder] builder
|
@@ -4513,7 +4201,7 @@ module RCGTK::Bindings
|
|
4513
4201
|
# @scope class
|
4514
4202
|
attach_function :set_inst_debug_location, :LLVMSetInstDebugLocation, [OpaqueBuilder, OpaqueValue], :void
|
4515
4203
|
|
4516
|
-
#
|
4204
|
+
# (Not documented)
|
4517
4205
|
#
|
4518
4206
|
# @method build_ret_void(opaque_builder)
|
4519
4207
|
# @param [OpaqueBuilder] opaque_builder
|
@@ -4624,7 +4312,7 @@ module RCGTK::Bindings
|
|
4624
4312
|
# @scope class
|
4625
4313
|
attach_function :build_unreachable, :LLVMBuildUnreachable, [OpaqueBuilder], OpaqueValue
|
4626
4314
|
|
4627
|
-
#
|
4315
|
+
# (Not documented)
|
4628
4316
|
#
|
4629
4317
|
# @method add_case(switch, on_val, dest)
|
4630
4318
|
# @param [OpaqueValue] switch
|
@@ -4634,7 +4322,7 @@ module RCGTK::Bindings
|
|
4634
4322
|
# @scope class
|
4635
4323
|
attach_function :add_case, :LLVMAddCase, [OpaqueValue, OpaqueValue, OpaqueBasicBlock], :void
|
4636
4324
|
|
4637
|
-
#
|
4325
|
+
# (Not documented)
|
4638
4326
|
#
|
4639
4327
|
# @method add_destination(indirect_br, dest)
|
4640
4328
|
# @param [OpaqueValue] indirect_br
|
@@ -4643,7 +4331,7 @@ module RCGTK::Bindings
|
|
4643
4331
|
# @scope class
|
4644
4332
|
attach_function :add_destination, :LLVMAddDestination, [OpaqueValue, OpaqueBasicBlock], :void
|
4645
4333
|
|
4646
|
-
#
|
4334
|
+
# (Not documented)
|
4647
4335
|
#
|
4648
4336
|
# @method add_clause(landing_pad, clause_val)
|
4649
4337
|
# @param [OpaqueValue] landing_pad
|
@@ -4652,7 +4340,7 @@ module RCGTK::Bindings
|
|
4652
4340
|
# @scope class
|
4653
4341
|
attach_function :add_clause, :LLVMAddClause, [OpaqueValue, OpaqueValue], :void
|
4654
4342
|
|
4655
|
-
#
|
4343
|
+
# (Not documented)
|
4656
4344
|
#
|
4657
4345
|
# @method set_cleanup(landing_pad, val)
|
4658
4346
|
# @param [OpaqueValue] landing_pad
|
@@ -4661,7 +4349,7 @@ module RCGTK::Bindings
|
|
4661
4349
|
# @scope class
|
4662
4350
|
attach_function :set_cleanup, :LLVMSetCleanup, [OpaqueValue, :int], :void
|
4663
4351
|
|
4664
|
-
#
|
4352
|
+
# (Not documented)
|
4665
4353
|
#
|
4666
4354
|
# @method build_add(opaque_builder, lhs, rhs, name)
|
4667
4355
|
# @param [OpaqueBuilder] opaque_builder
|
@@ -4998,7 +4686,7 @@ module RCGTK::Bindings
|
|
4998
4686
|
# @scope class
|
4999
4687
|
attach_function :build_not, :LLVMBuildNot, [OpaqueBuilder, OpaqueValue, :string], OpaqueValue
|
5000
4688
|
|
5001
|
-
#
|
4689
|
+
# (Not documented)
|
5002
4690
|
#
|
5003
4691
|
# @method build_malloc(opaque_builder, ty, name)
|
5004
4692
|
# @param [OpaqueBuilder] opaque_builder
|
@@ -5141,7 +4829,7 @@ module RCGTK::Bindings
|
|
5141
4829
|
# @scope class
|
5142
4830
|
attach_function :set_volatile, :LLVMSetVolatile, [OpaqueValue, :int], :void
|
5143
4831
|
|
5144
|
-
#
|
4832
|
+
# (Not documented)
|
5145
4833
|
#
|
5146
4834
|
# @method build_trunc(opaque_builder, val, dest_ty, name)
|
5147
4835
|
# @param [OpaqueBuilder] opaque_builder
|
@@ -5362,7 +5050,7 @@ module RCGTK::Bindings
|
|
5362
5050
|
# @scope class
|
5363
5051
|
attach_function :build_fp_cast, :LLVMBuildFPCast, [OpaqueBuilder, OpaqueValue, OpaqueType, :string], OpaqueValue
|
5364
5052
|
|
5365
|
-
#
|
5053
|
+
# (Not documented)
|
5366
5054
|
#
|
5367
5055
|
# @method build_i_cmp(opaque_builder, op, lhs, rhs, name)
|
5368
5056
|
# @param [OpaqueBuilder] opaque_builder
|
@@ -5386,7 +5074,7 @@ module RCGTK::Bindings
|
|
5386
5074
|
# @scope class
|
5387
5075
|
attach_function :build_f_cmp, :LLVMBuildFCmp, [OpaqueBuilder, :real_predicate, OpaqueValue, OpaqueValue, :string], OpaqueValue
|
5388
5076
|
|
5389
|
-
#
|
5077
|
+
# (Not documented)
|
5390
5078
|
#
|
5391
5079
|
# @method build_phi(opaque_builder, ty, name)
|
5392
5080
|
# @param [OpaqueBuilder] opaque_builder
|
@@ -5520,6 +5208,17 @@ module RCGTK::Bindings
|
|
5520
5208
|
# @scope class
|
5521
5209
|
attach_function :build_ptr_diff, :LLVMBuildPtrDiff, [OpaqueBuilder, OpaqueValue, OpaqueValue, :string], OpaqueValue
|
5522
5210
|
|
5211
|
+
# (Not documented)
|
5212
|
+
#
|
5213
|
+
# @method build_fence(b, ordering, single_thread, name)
|
5214
|
+
# @param [OpaqueBuilder] b
|
5215
|
+
# @param [Symbol from _enum_atomic_ordering_] ordering
|
5216
|
+
# @param [Integer] single_thread
|
5217
|
+
# @param [String] name
|
5218
|
+
# @return [OpaqueValue]
|
5219
|
+
# @scope class
|
5220
|
+
attach_function :build_fence, :LLVMBuildFence, [OpaqueBuilder, :atomic_ordering, :int, :string], OpaqueValue
|
5221
|
+
|
5523
5222
|
# (Not documented)
|
5524
5223
|
#
|
5525
5224
|
# @method build_atomic_rmw(b, op, ptr, val, ordering, single_thread)
|
@@ -5533,8 +5232,7 @@ module RCGTK::Bindings
|
|
5533
5232
|
# @scope class
|
5534
5233
|
attach_function :build_atomic_rmw, :LLVMBuildAtomicRMW, [OpaqueBuilder, :atomic_rmw_bin_op, OpaqueValue, OpaqueValue, :atomic_ordering, :int], OpaqueValue
|
5535
5234
|
|
5536
|
-
#
|
5537
|
-
# JIT. They take ModuleProviders for historical reasons.
|
5235
|
+
# (Not documented)
|
5538
5236
|
#
|
5539
5237
|
# @method create_module_provider_for_existing_module(m)
|
5540
5238
|
# @param [OpaqueModule] m
|
@@ -5542,7 +5240,7 @@ module RCGTK::Bindings
|
|
5542
5240
|
# @scope class
|
5543
5241
|
attach_function :create_module_provider_for_existing_module, :LLVMCreateModuleProviderForExistingModule, [OpaqueModule], OpaqueModuleProvider
|
5544
5242
|
|
5545
|
-
#
|
5243
|
+
# (Not documented)
|
5546
5244
|
#
|
5547
5245
|
# @method dispose_module_provider(m)
|
5548
5246
|
# @param [OpaqueModuleProvider] m
|
@@ -5550,9 +5248,7 @@ module RCGTK::Bindings
|
|
5550
5248
|
# @scope class
|
5551
5249
|
attach_function :dispose_module_provider, :LLVMDisposeModuleProvider, [OpaqueModuleProvider], :void
|
5552
5250
|
|
5553
|
-
#
|
5554
|
-
#
|
5555
|
-
# @{
|
5251
|
+
# (Not documented)
|
5556
5252
|
#
|
5557
5253
|
# @method create_memory_buffer_with_contents_of_file(path, out_mem_buf, out_message)
|
5558
5254
|
# @param [String] path
|
@@ -5616,27 +5312,21 @@ module RCGTK::Bindings
|
|
5616
5312
|
# @scope class
|
5617
5313
|
attach_function :dispose_memory_buffer, :LLVMDisposeMemoryBuffer, [OpaqueMemoryBuffer], :void
|
5618
5314
|
|
5619
|
-
#
|
5620
|
-
# @see llvm::PassRegistry::getPassRegistry
|
5315
|
+
# (Not documented)
|
5621
5316
|
#
|
5622
5317
|
# @method get_global_pass_registry()
|
5623
5318
|
# @return [OpaquePassRegistry]
|
5624
5319
|
# @scope class
|
5625
5320
|
attach_function :get_global_pass_registry, :LLVMGetGlobalPassRegistry, [], OpaquePassRegistry
|
5626
5321
|
|
5627
|
-
#
|
5628
|
-
# suitable for link-time optimization and whole-module transformations.
|
5629
|
-
# @see llvm::PassManager::PassManager
|
5322
|
+
# (Not documented)
|
5630
5323
|
#
|
5631
5324
|
# @method create_pass_manager()
|
5632
5325
|
# @return [OpaquePassManager]
|
5633
5326
|
# @scope class
|
5634
5327
|
attach_function :create_pass_manager, :LLVMCreatePassManager, [], OpaquePassManager
|
5635
5328
|
|
5636
|
-
#
|
5637
|
-
# provider. It does not take ownership of the module provider. This type of
|
5638
|
-
# pipeline is suitable for code generation and JIT compilation tasks.
|
5639
|
-
# @see llvm::FunctionPassManager::FunctionPassManager
|
5329
|
+
# (Not documented)
|
5640
5330
|
#
|
5641
5331
|
# @method create_function_pass_manager_for_module(m)
|
5642
5332
|
# @param [OpaqueModule] m
|
@@ -5644,7 +5334,7 @@ module RCGTK::Bindings
|
|
5644
5334
|
# @scope class
|
5645
5335
|
attach_function :create_function_pass_manager_for_module, :LLVMCreateFunctionPassManagerForModule, [OpaqueModule], OpaquePassManager
|
5646
5336
|
|
5647
|
-
#
|
5337
|
+
# (Not documented)
|
5648
5338
|
#
|
5649
5339
|
# @method create_function_pass_manager(mp)
|
5650
5340
|
# @param [OpaqueModuleProvider] mp
|
@@ -5652,10 +5342,7 @@ module RCGTK::Bindings
|
|
5652
5342
|
# @scope class
|
5653
5343
|
attach_function :create_function_pass_manager, :LLVMCreateFunctionPassManager, [OpaqueModuleProvider], OpaquePassManager
|
5654
5344
|
|
5655
|
-
#
|
5656
|
-
# passes scheduled in the pass manager. Returns 1 if any of the passes
|
5657
|
-
# modified the module, 0 otherwise.
|
5658
|
-
# @see llvm::PassManager::run(Module&)
|
5345
|
+
# (Not documented)
|
5659
5346
|
#
|
5660
5347
|
# @method run_pass_manager(pm, m)
|
5661
5348
|
# @param [OpaquePassManager] pm
|
@@ -5664,9 +5351,7 @@ module RCGTK::Bindings
|
|
5664
5351
|
# @scope class
|
5665
5352
|
attach_function :run_pass_manager, :LLVMRunPassManager, [OpaquePassManager, OpaqueModule], :int
|
5666
5353
|
|
5667
|
-
#
|
5668
|
-
# manager. Returns 1 if any of the passes modified the module, 0 otherwise.
|
5669
|
-
# @see llvm::FunctionPassManager::doInitialization
|
5354
|
+
# (Not documented)
|
5670
5355
|
#
|
5671
5356
|
# @method initialize_function_pass_manager(fpm)
|
5672
5357
|
# @param [OpaquePassManager] fpm
|
@@ -5674,10 +5359,7 @@ module RCGTK::Bindings
|
|
5674
5359
|
# @scope class
|
5675
5360
|
attach_function :initialize_function_pass_manager, :LLVMInitializeFunctionPassManager, [OpaquePassManager], :int
|
5676
5361
|
|
5677
|
-
#
|
5678
|
-
# on the provided function. Returns 1 if any of the passes modified the
|
5679
|
-
# function, false otherwise.
|
5680
|
-
# @see llvm::FunctionPassManager::run(Function&)
|
5362
|
+
# (Not documented)
|
5681
5363
|
#
|
5682
5364
|
# @method run_function_pass_manager(fpm, f)
|
5683
5365
|
# @param [OpaquePassManager] fpm
|
@@ -5686,9 +5368,7 @@ module RCGTK::Bindings
|
|
5686
5368
|
# @scope class
|
5687
5369
|
attach_function :run_function_pass_manager, :LLVMRunFunctionPassManager, [OpaquePassManager, OpaqueValue], :int
|
5688
5370
|
|
5689
|
-
#
|
5690
|
-
# manager. Returns 1 if any of the passes modified the module, 0 otherwise.
|
5691
|
-
# @see llvm::FunctionPassManager::doFinalization
|
5371
|
+
# (Not documented)
|
5692
5372
|
#
|
5693
5373
|
# @method finalize_function_pass_manager(fpm)
|
5694
5374
|
# @param [OpaquePassManager] fpm
|
@@ -5696,9 +5376,7 @@ module RCGTK::Bindings
|
|
5696
5376
|
# @scope class
|
5697
5377
|
attach_function :finalize_function_pass_manager, :LLVMFinalizeFunctionPassManager, [OpaquePassManager], :int
|
5698
5378
|
|
5699
|
-
#
|
5700
|
-
# the module provider.
|
5701
|
-
# @see llvm::PassManagerBase::~PassManagerBase.
|
5379
|
+
# (Not documented)
|
5702
5380
|
#
|
5703
5381
|
# @method dispose_pass_manager(pm)
|
5704
5382
|
# @param [OpaquePassManager] pm
|
@@ -5706,28 +5384,21 @@ module RCGTK::Bindings
|
|
5706
5384
|
# @scope class
|
5707
5385
|
attach_function :dispose_pass_manager, :LLVMDisposePassManager, [OpaquePassManager], :void
|
5708
5386
|
|
5709
|
-
#
|
5710
|
-
# multithreading. The return value indicates whether multithreaded
|
5711
|
-
# initialization succeeded. Must be executed in isolation from all
|
5712
|
-
# other LLVM api calls.
|
5713
|
-
# @see llvm::llvm_start_multithreaded
|
5387
|
+
# (Not documented)
|
5714
5388
|
#
|
5715
5389
|
# @method start_multithreaded()
|
5716
5390
|
# @return [Integer]
|
5717
5391
|
# @scope class
|
5718
5392
|
attach_function :start_multithreaded, :LLVMStartMultithreaded, [], :int
|
5719
5393
|
|
5720
|
-
#
|
5721
|
-
# Must be executed in isolation from all other LLVM api calls.
|
5722
|
-
# @see llvm::llvm_stop_multithreaded
|
5394
|
+
# (Not documented)
|
5723
5395
|
#
|
5724
5396
|
# @method stop_multithreaded()
|
5725
5397
|
# @return [nil]
|
5726
5398
|
# @scope class
|
5727
5399
|
attach_function :stop_multithreaded, :LLVMStopMultithreaded, [], :void
|
5728
5400
|
|
5729
|
-
#
|
5730
|
-
# @see llvm::llvm_is_multithreaded
|
5401
|
+
# (Not documented)
|
5731
5402
|
#
|
5732
5403
|
# @method is_multithreaded()
|
5733
5404
|
# @return [Integer]
|
@@ -5755,9 +5426,7 @@ module RCGTK::Bindings
|
|
5755
5426
|
:return_status, 2
|
5756
5427
|
]
|
5757
5428
|
|
5758
|
-
#
|
5759
|
-
# Optionally returns a human-readable description of any invalid constructs.
|
5760
|
-
# OutMessage must be disposed with LLVMDisposeMessage.
|
5429
|
+
# (Not documented)
|
5761
5430
|
#
|
5762
5431
|
# @method verify_module(m, action, out_message)
|
5763
5432
|
# @param [OpaqueModule] m
|
@@ -5767,8 +5436,7 @@ module RCGTK::Bindings
|
|
5767
5436
|
# @scope class
|
5768
5437
|
attach_function :verify_module, :LLVMVerifyModule, [OpaqueModule, :verifier_failure_action, :pointer], :int
|
5769
5438
|
|
5770
|
-
#
|
5771
|
-
# for debugging.
|
5439
|
+
# (Not documented)
|
5772
5440
|
#
|
5773
5441
|
# @method verify_function(fn, action)
|
5774
5442
|
# @param [OpaqueValue] fn
|
@@ -5777,8 +5445,7 @@ module RCGTK::Bindings
|
|
5777
5445
|
# @scope class
|
5778
5446
|
attach_function :verify_function, :LLVMVerifyFunction, [OpaqueValue, :verifier_failure_action], :int
|
5779
5447
|
|
5780
|
-
#
|
5781
|
-
# Useful for debugging.
|
5448
|
+
# (Not documented)
|
5782
5449
|
#
|
5783
5450
|
# @method view_function_cfg(fn)
|
5784
5451
|
# @param [OpaqueValue] fn
|
@@ -5815,9 +5482,7 @@ module RCGTK::Bindings
|
|
5815
5482
|
# @scope class
|
5816
5483
|
attach_function :parse_bitcode_in_context, :LLVMParseBitcodeInContext, [OpaqueContext, OpaqueMemoryBuffer, :pointer, :pointer], :int
|
5817
5484
|
|
5818
|
-
#
|
5819
|
-
# a module provider which performs lazy deserialization. Returns 0 on success.
|
5820
|
-
# Optionally returns a human-readable error message via OutMessage.
|
5485
|
+
# (Not documented)
|
5821
5486
|
#
|
5822
5487
|
# @method get_bitcode_module_in_context(context_ref, mem_buf, out_m, out_message)
|
5823
5488
|
# @param [OpaqueContext] context_ref
|
@@ -5838,7 +5503,7 @@ module RCGTK::Bindings
|
|
5838
5503
|
# @scope class
|
5839
5504
|
attach_function :get_bitcode_module, :LLVMGetBitcodeModule, [OpaqueMemoryBuffer, :pointer, :pointer], :int
|
5840
5505
|
|
5841
|
-
#
|
5506
|
+
# (Not documented)
|
5842
5507
|
#
|
5843
5508
|
# @method get_bitcode_module_provider_in_context(context_ref, mem_buf, out_mp, out_message)
|
5844
5509
|
# @param [OpaqueContext] context_ref
|
@@ -5849,7 +5514,7 @@ module RCGTK::Bindings
|
|
5849
5514
|
# @scope class
|
5850
5515
|
attach_function :get_bitcode_module_provider_in_context, :LLVMGetBitcodeModuleProviderInContext, [OpaqueContext, OpaqueMemoryBuffer, :pointer, :pointer], :int
|
5851
5516
|
|
5852
|
-
#
|
5517
|
+
# (Not documented)
|
5853
5518
|
#
|
5854
5519
|
# @method get_bitcode_module_provider(mem_buf, out_mp, out_message)
|
5855
5520
|
# @param [OpaqueMemoryBuffer] mem_buf
|
@@ -5868,7 +5533,7 @@ module RCGTK::Bindings
|
|
5868
5533
|
# @scope class
|
5869
5534
|
attach_function :write_bitcode_to_file, :LLVMWriteBitcodeToFile, [OpaqueModule, :string], :int
|
5870
5535
|
|
5871
|
-
#
|
5536
|
+
# (Not documented)
|
5872
5537
|
#
|
5873
5538
|
# @method write_bitcode_to_fd(m, fd, should_close, unbuffered)
|
5874
5539
|
# @param [OpaqueModule] m
|
@@ -5879,8 +5544,7 @@ module RCGTK::Bindings
|
|
5879
5544
|
# @scope class
|
5880
5545
|
attach_function :write_bitcode_to_fd, :LLVMWriteBitcodeToFD, [OpaqueModule, :int, :int, :int], :int
|
5881
5546
|
|
5882
|
-
#
|
5883
|
-
# descriptor. Returns 0 on success. Closes the Handle.
|
5547
|
+
# (Not documented)
|
5884
5548
|
#
|
5885
5549
|
# @method write_bitcode_to_file_handle(m, handle)
|
5886
5550
|
# @param [OpaqueModule] m
|
@@ -5889,25 +5553,12 @@ module RCGTK::Bindings
|
|
5889
5553
|
# @scope class
|
5890
5554
|
attach_function :write_bitcode_to_file_handle, :LLVMWriteBitcodeToFileHandle, [OpaqueModule, :int], :int
|
5891
5555
|
|
5892
|
-
#
|
5893
|
-
# get the symbolic information for an operand of an instruction. Typically
|
5894
|
-
# this is from the relocation information, symbol table, etc. That block of
|
5895
|
-
# information is saved when the disassembler context is created and passed to
|
5896
|
-
# the call back in the DisInfo parameter. The instruction containing operand
|
5897
|
-
# is at the PC parameter. For some instruction sets, there can be more than
|
5898
|
-
# one operand with symbolic information. To determine the symbolic operand
|
5899
|
-
# information for each operand, the bytes for the specific operand in the
|
5900
|
-
# instruction are specified by the Offset parameter and its byte widith is the
|
5901
|
-
# size parameter. For instructions sets with fixed widths and one symbolic
|
5902
|
-
# operand per instruction, the Offset parameter will be zero and Size parameter
|
5903
|
-
# will be the instruction width. The information is returned in TagBuf and is
|
5904
|
-
# Triple specific with its specific information defined by the value of
|
5905
|
-
# TagType for that Triple. If symbolic information is returned the function
|
5906
|
-
# returns 1, otherwise it returns 0.
|
5556
|
+
# (Not documented)
|
5907
5557
|
#
|
5908
5558
|
# <em>This entry is only for documentation and no real method.</em>
|
5909
5559
|
#
|
5910
|
-
# @method _callback_op_info_callback_(pc, offset, size, tag_type, tag_buf)
|
5560
|
+
# @method _callback_op_info_callback_(dis_info, pc, offset, size, tag_type, tag_buf)
|
5561
|
+
# @param [FFI::Pointer(*Void)] dis_info
|
5911
5562
|
# @param [Integer] pc
|
5912
5563
|
# @param [Integer] offset
|
5913
5564
|
# @param [Integer] size
|
@@ -5915,26 +5566,9 @@ module RCGTK::Bindings
|
|
5915
5566
|
# @param [FFI::Pointer(*Void)] tag_buf
|
5916
5567
|
# @return [FFI::Pointer(*Void)]
|
5917
5568
|
# @scope class
|
5918
|
-
callback :op_info_callback, [:ulong, :ulong, :ulong, :int, :pointer], :pointer
|
5919
|
-
|
5920
|
-
#
|
5921
|
-
# expression is "AddSymbol - SubtractSymbol + Offset". For some Darwin targets
|
5922
|
-
# this full form is encoded in the relocation information so that AddSymbol and
|
5923
|
-
# SubtractSymbol can be link edited independent of each other. Many other
|
5924
|
-
# platforms only allow a relocatable expression of the form AddSymbol + Offset
|
5925
|
-
# to be encoded.
|
5926
|
-
#
|
5927
|
-
# The LLVMOpInfoCallback() for the TagType value of 1 uses the struct
|
5928
|
-
# LLVMOpInfo1. The value of the relocatable expression for the operand,
|
5929
|
-
# including any PC adjustment, is passed in to the call back in the Value
|
5930
|
-
# field. The symbolic information about the operand is returned using all
|
5931
|
-
# the fields of the structure with the Offset of the relocatable expression
|
5932
|
-
# returned in the Value field. It is possible that some symbols in the
|
5933
|
-
# relocatable expression were assembly temporary symbols, for example
|
5934
|
-
# "Ldata - LpicBase + constant", and only the Values of the symbols without
|
5935
|
-
# symbol names are present in the relocation information. The VariantKind
|
5936
|
-
# type is one of the Target specific #defines below and is used to print
|
5937
|
-
# operands like "_foo@GOT", ":lower16:_foo", etc.
|
5569
|
+
callback :op_info_callback, [:pointer, :ulong, :ulong, :ulong, :int, :pointer], :pointer
|
5570
|
+
|
5571
|
+
# (Not documented)
|
5938
5572
|
#
|
5939
5573
|
# = Fields:
|
5940
5574
|
# :present ::
|
@@ -5949,7 +5583,7 @@ module RCGTK::Bindings
|
|
5949
5583
|
:value, :ulong
|
5950
5584
|
end
|
5951
5585
|
|
5952
|
-
#
|
5586
|
+
# (Not documented)
|
5953
5587
|
#
|
5954
5588
|
# = Fields:
|
5955
5589
|
# :add_symbol ::
|
@@ -5967,34 +5601,21 @@ module RCGTK::Bindings
|
|
5967
5601
|
:variant_kind, :ulong
|
5968
5602
|
end
|
5969
5603
|
|
5970
|
-
#
|
5971
|
-
# disassembler for things like adding a comment for a PC plus a constant
|
5972
|
-
# offset load instruction to use a symbol name instead of a load address value.
|
5973
|
-
# It is passed the block information is saved when the disassembler context is
|
5974
|
-
# created and the ReferenceValue to look up as a symbol. If no symbol is found
|
5975
|
-
# for the ReferenceValue NULL is returned. The ReferenceType of the
|
5976
|
-
# instruction is passed indirectly as is the PC of the instruction in
|
5977
|
-
# ReferencePC. If the output reference can be determined its type is returned
|
5978
|
-
# indirectly in ReferenceType along with ReferenceName if any, or that is set
|
5979
|
-
# to NULL.
|
5604
|
+
# (Not documented)
|
5980
5605
|
#
|
5981
5606
|
# <em>This entry is only for documentation and no real method.</em>
|
5982
5607
|
#
|
5983
|
-
# @method _callback_symbol_lookup_callback_(reference_value, reference_type, reference_pc, reference_name)
|
5608
|
+
# @method _callback_symbol_lookup_callback_(dis_info, reference_value, reference_type, reference_pc, reference_name)
|
5609
|
+
# @param [FFI::Pointer(*Void)] dis_info
|
5984
5610
|
# @param [Integer] reference_value
|
5985
5611
|
# @param [FFI::Pointer(*Uint64T)] reference_type
|
5986
5612
|
# @param [Integer] reference_pc
|
5987
5613
|
# @param [FFI::Pointer(**CharS)] reference_name
|
5988
5614
|
# @return [FFI::Pointer(*Void)]
|
5989
5615
|
# @scope class
|
5990
|
-
callback :symbol_lookup_callback, [:ulong, :pointer, :ulong, :pointer], :pointer
|
5616
|
+
callback :symbol_lookup_callback, [:pointer, :ulong, :pointer, :ulong, :pointer], :pointer
|
5991
5617
|
|
5992
|
-
#
|
5993
|
-
# by passing a block of information in the DisInfo parameter and specifying the
|
5994
|
-
# TagType and callback functions as described above. These can all be passed
|
5995
|
-
# as NULL. If successful, this returns a disassembler context. If not, it
|
5996
|
-
# returns NULL. This function is equivalent to calling LLVMCreateDisasmCPU()
|
5997
|
-
# with an empty CPU name.
|
5618
|
+
# (Not documented)
|
5998
5619
|
#
|
5999
5620
|
# @method create_disasm(triple_name, dis_info, tag_type, get_op_info, symbol_look_up)
|
6000
5621
|
# @param [String] triple_name
|
@@ -6006,11 +5627,7 @@ module RCGTK::Bindings
|
|
6006
5627
|
# @scope class
|
6007
5628
|
attach_function :create_disasm, :LLVMCreateDisasm, [:string, :pointer, :int, :op_info_callback, :symbol_lookup_callback], :pointer
|
6008
5629
|
|
6009
|
-
#
|
6010
|
-
# disassembly is supported by passing a block of information in the DisInfo
|
6011
|
-
# parameter and specifying the TagType and callback functions as described
|
6012
|
-
# above. These can all be passed * as NULL. If successful, this returns a
|
6013
|
-
# disassembler context. If not, it returns NULL.
|
5630
|
+
# (Not documented)
|
6014
5631
|
#
|
6015
5632
|
# @method create_disasm_cpu(triple, cpu, dis_info, tag_type, get_op_info, symbol_look_up)
|
6016
5633
|
# @param [String] triple
|
@@ -6023,8 +5640,7 @@ module RCGTK::Bindings
|
|
6023
5640
|
# @scope class
|
6024
5641
|
attach_function :create_disasm_cpu, :LLVMCreateDisasmCPU, [:string, :string, :pointer, :int, :op_info_callback, :symbol_lookup_callback], :pointer
|
6025
5642
|
|
6026
|
-
#
|
6027
|
-
# otherwise.
|
5643
|
+
# (Not documented)
|
6028
5644
|
#
|
6029
5645
|
# @method set_disasm_options(dc, options)
|
6030
5646
|
# @param [FFI::Pointer(DisasmContextRef)] dc
|
@@ -6033,7 +5649,7 @@ module RCGTK::Bindings
|
|
6033
5649
|
# @scope class
|
6034
5650
|
attach_function :set_disasm_options, :LLVMSetDisasmOptions, [:pointer, :ulong], :int
|
6035
5651
|
|
6036
|
-
#
|
5652
|
+
# (Not documented)
|
6037
5653
|
#
|
6038
5654
|
# @method disasm_dispose(dc)
|
6039
5655
|
# @param [FFI::Pointer(DisasmContextRef)] dc
|
@@ -6041,14 +5657,7 @@ module RCGTK::Bindings
|
|
6041
5657
|
# @scope class
|
6042
5658
|
attach_function :disasm_dispose, :LLVMDisasmDispose, [:pointer], :void
|
6043
5659
|
|
6044
|
-
#
|
6045
|
-
# the parameter DC. The bytes of the instruction are specified in the
|
6046
|
-
# parameter Bytes, and contains at least BytesSize number of bytes. The
|
6047
|
-
# instruction is at the address specified by the PC parameter. If a valid
|
6048
|
-
# instruction can be disassembled, its string is returned indirectly in
|
6049
|
-
# OutString whose size is specified in the parameter OutStringSize. This
|
6050
|
-
# function returns the number of bytes in the instruction or zero if there was
|
6051
|
-
# no valid instruction.
|
5660
|
+
# (Not documented)
|
6052
5661
|
#
|
6053
5662
|
# @method disasm_instruction(dc, bytes, bytes_size, pc, out_string, out_string_size)
|
6054
5663
|
# @param [FFI::Pointer(DisasmContextRef)] dc
|
@@ -6096,89 +5705,70 @@ module RCGTK::Bindings
|
|
6096
5705
|
# @scope class
|
6097
5706
|
attach_function :initialize_all_target_infos, :LLVMInitializeAllTargetInfos, [], :void
|
6098
5707
|
|
6099
|
-
#
|
6100
|
-
# wants to link in all available targets that LLVM is configured to
|
6101
|
-
# support.
|
5708
|
+
# (Not documented)
|
6102
5709
|
#
|
6103
5710
|
# @method initialize_all_targets()
|
6104
5711
|
# @return [nil]
|
6105
5712
|
# @scope class
|
6106
5713
|
attach_function :initialize_all_targets, :LLVMInitializeAllTargets, [], :void
|
6107
5714
|
|
6108
|
-
#
|
6109
|
-
# it wants access to all available target MC that LLVM is configured to
|
6110
|
-
# support.
|
5715
|
+
# (Not documented)
|
6111
5716
|
#
|
6112
5717
|
# @method initialize_all_target_m_cs()
|
6113
5718
|
# @return [nil]
|
6114
5719
|
# @scope class
|
6115
|
-
attach_function :
|
5720
|
+
attach_function :initialize_all_target_m_cs, :LLVMInitializeAllTargetMCs, [], :void
|
6116
5721
|
|
6117
|
-
#
|
6118
|
-
# it wants all asm printers that LLVM is configured to support, to make them
|
6119
|
-
# available via the TargetRegistry.
|
5722
|
+
# (Not documented)
|
6120
5723
|
#
|
6121
5724
|
# @method initialize_all_asm_printers()
|
6122
5725
|
# @return [nil]
|
6123
5726
|
# @scope class
|
6124
5727
|
attach_function :initialize_all_asm_printers, :LLVMInitializeAllAsmPrinters, [], :void
|
6125
5728
|
|
6126
|
-
#
|
6127
|
-
# it wants all asm parsers that LLVM is configured to support, to make them
|
6128
|
-
# available via the TargetRegistry.
|
5729
|
+
# (Not documented)
|
6129
5730
|
#
|
6130
5731
|
# @method initialize_all_asm_parsers()
|
6131
5732
|
# @return [nil]
|
6132
5733
|
# @scope class
|
6133
5734
|
attach_function :initialize_all_asm_parsers, :LLVMInitializeAllAsmParsers, [], :void
|
6134
5735
|
|
6135
|
-
#
|
6136
|
-
# if it wants all disassemblers that LLVM is configured to support, to make
|
6137
|
-
# them available via the TargetRegistry.
|
5736
|
+
# (Not documented)
|
6138
5737
|
#
|
6139
5738
|
# @method initialize_all_disassemblers()
|
6140
5739
|
# @return [nil]
|
6141
5740
|
# @scope class
|
6142
5741
|
attach_function :initialize_all_disassemblers, :LLVMInitializeAllDisassemblers, [], :void
|
6143
5742
|
|
6144
|
-
#
|
6145
|
-
# initialize the native target corresponding to the host. This is useful
|
6146
|
-
# for JIT applications to ensure that the target gets linked in correctly.
|
5743
|
+
# (Not documented)
|
6147
5744
|
#
|
6148
5745
|
# @method initialize_native_target()
|
6149
5746
|
# @return [Integer]
|
6150
5747
|
# @scope class
|
6151
5748
|
attach_function :initialize_native_target, :LLVMInitializeNativeTarget, [], :int
|
6152
5749
|
|
6153
|
-
#
|
6154
|
-
# function to initialize the parser for the native target corresponding to the
|
6155
|
-
# host.
|
5750
|
+
# (Not documented)
|
6156
5751
|
#
|
6157
5752
|
# @method initialize_native_asm_parser()
|
6158
5753
|
# @return [Integer]
|
6159
5754
|
# @scope class
|
6160
5755
|
attach_function :initialize_native_asm_parser, :LLVMInitializeNativeAsmParser, [], :int
|
6161
5756
|
|
6162
|
-
#
|
6163
|
-
# function to initialize the printer for the native target corresponding to
|
6164
|
-
# the host.
|
5757
|
+
# (Not documented)
|
6165
5758
|
#
|
6166
5759
|
# @method initialize_native_asm_printer()
|
6167
5760
|
# @return [Integer]
|
6168
5761
|
# @scope class
|
6169
5762
|
attach_function :initialize_native_asm_printer, :LLVMInitializeNativeAsmPrinter, [], :int
|
6170
5763
|
|
6171
|
-
#
|
6172
|
-
# function to initialize the disassembler for the native target corresponding
|
6173
|
-
# to the host.
|
5764
|
+
# (Not documented)
|
6174
5765
|
#
|
6175
5766
|
# @method initialize_native_disassembler()
|
6176
5767
|
# @return [Integer]
|
6177
5768
|
# @scope class
|
6178
5769
|
attach_function :initialize_native_disassembler, :LLVMInitializeNativeDisassembler, [], :int
|
6179
5770
|
|
6180
|
-
#
|
6181
|
-
# See the constructor llvm::DataLayout::DataLayout.
|
5771
|
+
# (Not documented)
|
6182
5772
|
#
|
6183
5773
|
# @method create_target_data(string_rep)
|
6184
5774
|
# @param [String] string_rep
|
@@ -6186,9 +5776,7 @@ module RCGTK::Bindings
|
|
6186
5776
|
# @scope class
|
6187
5777
|
attach_function :create_target_data, :LLVMCreateTargetData, [:string], OpaqueTargetData
|
6188
5778
|
|
6189
|
-
#
|
6190
|
-
# of the target data.
|
6191
|
-
# See the method llvm::PassManagerBase::add.
|
5779
|
+
# (Not documented)
|
6192
5780
|
#
|
6193
5781
|
# @method add_target_data(td, pm)
|
6194
5782
|
# @param [OpaqueTargetData] td
|
@@ -6197,9 +5785,7 @@ module RCGTK::Bindings
|
|
6197
5785
|
# @scope class
|
6198
5786
|
attach_function :add_target_data, :LLVMAddTargetData, [OpaqueTargetData, OpaquePassManager], :void
|
6199
5787
|
|
6200
|
-
#
|
6201
|
-
# ownership of the target library info.
|
6202
|
-
# See the method llvm::PassManagerBase::add.
|
5788
|
+
# (Not documented)
|
6203
5789
|
#
|
6204
5790
|
# @method add_target_library_info(tli, pm)
|
6205
5791
|
# @param [OpaqueTargetLibraryInfotData] tli
|
@@ -6208,9 +5794,7 @@ module RCGTK::Bindings
|
|
6208
5794
|
# @scope class
|
6209
5795
|
attach_function :add_target_library_info, :LLVMAddTargetLibraryInfo, [OpaqueTargetLibraryInfotData, OpaquePassManager], :void
|
6210
5796
|
|
6211
|
-
#
|
6212
|
-
# with LLVMDisposeMessage.
|
6213
|
-
# See the constructor llvm::DataLayout::DataLayout.
|
5797
|
+
# (Not documented)
|
6214
5798
|
#
|
6215
5799
|
# @method copy_string_rep_of_target_data(td)
|
6216
5800
|
# @param [OpaqueTargetData] td
|
@@ -6218,9 +5802,7 @@ module RCGTK::Bindings
|
|
6218
5802
|
# @scope class
|
6219
5803
|
attach_function :copy_string_rep_of_target_data, :LLVMCopyStringRepOfTargetData, [OpaqueTargetData], :string
|
6220
5804
|
|
6221
|
-
#
|
6222
|
-
# LLVMLittleEndian.
|
6223
|
-
# See the method llvm::DataLayout::isLittleEndian.
|
5805
|
+
# (Not documented)
|
6224
5806
|
#
|
6225
5807
|
# @method byte_order(td)
|
6226
5808
|
# @param [OpaqueTargetData] td
|
@@ -6228,8 +5810,7 @@ module RCGTK::Bindings
|
|
6228
5810
|
# @scope class
|
6229
5811
|
attach_function :byte_order, :LLVMByteOrder, [OpaqueTargetData], :byte_ordering
|
6230
5812
|
|
6231
|
-
#
|
6232
|
-
# See the method llvm::DataLayout::getPointerSize.
|
5813
|
+
# (Not documented)
|
6233
5814
|
#
|
6234
5815
|
# @method pointer_size(td)
|
6235
5816
|
# @param [OpaqueTargetData] td
|
@@ -6237,9 +5818,7 @@ module RCGTK::Bindings
|
|
6237
5818
|
# @scope class
|
6238
5819
|
attach_function :pointer_size, :LLVMPointerSize, [OpaqueTargetData], :uint
|
6239
5820
|
|
6240
|
-
#
|
6241
|
-
# address space.
|
6242
|
-
# See the method llvm::DataLayout::getPointerSize.
|
5821
|
+
# (Not documented)
|
6243
5822
|
#
|
6244
5823
|
# @method pointer_size_for_as(td, as)
|
6245
5824
|
# @param [OpaqueTargetData] td
|
@@ -6248,8 +5827,7 @@ module RCGTK::Bindings
|
|
6248
5827
|
# @scope class
|
6249
5828
|
attach_function :pointer_size_for_as, :LLVMPointerSizeForAS, [OpaqueTargetData, :uint], :uint
|
6250
5829
|
|
6251
|
-
#
|
6252
|
-
# See the method llvm::DataLayout::getIntPtrType.
|
5830
|
+
# (Not documented)
|
6253
5831
|
#
|
6254
5832
|
# @method int_ptr_type(td)
|
6255
5833
|
# @param [OpaqueTargetData] td
|
@@ -6257,9 +5835,7 @@ module RCGTK::Bindings
|
|
6257
5835
|
# @scope class
|
6258
5836
|
attach_function :int_ptr_type, :LLVMIntPtrType, [OpaqueTargetData], OpaqueType
|
6259
5837
|
|
6260
|
-
#
|
6261
|
-
# This version allows the address space to be specified.
|
6262
|
-
# See the method llvm::DataLayout::getIntPtrType.
|
5838
|
+
# (Not documented)
|
6263
5839
|
#
|
6264
5840
|
# @method int_ptr_type_for_as(td, as)
|
6265
5841
|
# @param [OpaqueTargetData] td
|
@@ -6268,8 +5844,7 @@ module RCGTK::Bindings
|
|
6268
5844
|
# @scope class
|
6269
5845
|
attach_function :int_ptr_type_for_as, :LLVMIntPtrTypeForAS, [OpaqueTargetData, :uint], OpaqueType
|
6270
5846
|
|
6271
|
-
#
|
6272
|
-
# See the method llvm::DataLayout::getIntPtrType.
|
5847
|
+
# (Not documented)
|
6273
5848
|
#
|
6274
5849
|
# @method int_ptr_type_in_context(c, td)
|
6275
5850
|
# @param [OpaqueContext] c
|
@@ -6278,9 +5853,7 @@ module RCGTK::Bindings
|
|
6278
5853
|
# @scope class
|
6279
5854
|
attach_function :int_ptr_type_in_context, :LLVMIntPtrTypeInContext, [OpaqueContext, OpaqueTargetData], OpaqueType
|
6280
5855
|
|
6281
|
-
#
|
6282
|
-
# This version allows the address space to be specified.
|
6283
|
-
# See the method llvm::DataLayout::getIntPtrType.
|
5856
|
+
# (Not documented)
|
6284
5857
|
#
|
6285
5858
|
# @method int_ptr_type_for_as_in_context(c, td, as)
|
6286
5859
|
# @param [OpaqueContext] c
|
@@ -6290,8 +5863,7 @@ module RCGTK::Bindings
|
|
6290
5863
|
# @scope class
|
6291
5864
|
attach_function :int_ptr_type_for_as_in_context, :LLVMIntPtrTypeForASInContext, [OpaqueContext, OpaqueTargetData, :uint], OpaqueType
|
6292
5865
|
|
6293
|
-
#
|
6294
|
-
# See the method llvm::DataLayout::getTypeSizeInBits.
|
5866
|
+
# (Not documented)
|
6295
5867
|
#
|
6296
5868
|
# @method size_of_type_in_bits(td, ty)
|
6297
5869
|
# @param [OpaqueTargetData] td
|
@@ -6300,8 +5872,7 @@ module RCGTK::Bindings
|
|
6300
5872
|
# @scope class
|
6301
5873
|
attach_function :size_of_type_in_bits, :LLVMSizeOfTypeInBits, [OpaqueTargetData, OpaqueType], :ulong_long
|
6302
5874
|
|
6303
|
-
#
|
6304
|
-
# See the method llvm::DataLayout::getTypeStoreSize.
|
5875
|
+
# (Not documented)
|
6305
5876
|
#
|
6306
5877
|
# @method store_size_of_type(td, ty)
|
6307
5878
|
# @param [OpaqueTargetData] td
|
@@ -6310,8 +5881,7 @@ module RCGTK::Bindings
|
|
6310
5881
|
# @scope class
|
6311
5882
|
attach_function :store_size_of_type, :LLVMStoreSizeOfType, [OpaqueTargetData, OpaqueType], :ulong_long
|
6312
5883
|
|
6313
|
-
#
|
6314
|
-
# See the method llvm::DataLayout::getTypeAllocSize.
|
5884
|
+
# (Not documented)
|
6315
5885
|
#
|
6316
5886
|
# @method abi_size_of_type(td, ty)
|
6317
5887
|
# @param [OpaqueTargetData] td
|
@@ -6320,8 +5890,7 @@ module RCGTK::Bindings
|
|
6320
5890
|
# @scope class
|
6321
5891
|
attach_function :abi_size_of_type, :LLVMABISizeOfType, [OpaqueTargetData, OpaqueType], :ulong_long
|
6322
5892
|
|
6323
|
-
#
|
6324
|
-
# See the method llvm::DataLayout::getTypeABISize.
|
5893
|
+
# (Not documented)
|
6325
5894
|
#
|
6326
5895
|
# @method abi_alignment_of_type(td, ty)
|
6327
5896
|
# @param [OpaqueTargetData] td
|
@@ -6330,8 +5899,7 @@ module RCGTK::Bindings
|
|
6330
5899
|
# @scope class
|
6331
5900
|
attach_function :abi_alignment_of_type, :LLVMABIAlignmentOfType, [OpaqueTargetData, OpaqueType], :uint
|
6332
5901
|
|
6333
|
-
#
|
6334
|
-
# See the method llvm::DataLayout::getTypeABISize.
|
5902
|
+
# (Not documented)
|
6335
5903
|
#
|
6336
5904
|
# @method call_frame_alignment_of_type(td, ty)
|
6337
5905
|
# @param [OpaqueTargetData] td
|
@@ -6340,8 +5908,7 @@ module RCGTK::Bindings
|
|
6340
5908
|
# @scope class
|
6341
5909
|
attach_function :call_frame_alignment_of_type, :LLVMCallFrameAlignmentOfType, [OpaqueTargetData, OpaqueType], :uint
|
6342
5910
|
|
6343
|
-
#
|
6344
|
-
# See the method llvm::DataLayout::getTypeABISize.
|
5911
|
+
# (Not documented)
|
6345
5912
|
#
|
6346
5913
|
# @method preferred_alignment_of_type(td, ty)
|
6347
5914
|
# @param [OpaqueTargetData] td
|
@@ -6350,8 +5917,7 @@ module RCGTK::Bindings
|
|
6350
5917
|
# @scope class
|
6351
5918
|
attach_function :preferred_alignment_of_type, :LLVMPreferredAlignmentOfType, [OpaqueTargetData, OpaqueType], :uint
|
6352
5919
|
|
6353
|
-
#
|
6354
|
-
# See the method llvm::DataLayout::getPreferredAlignment.
|
5920
|
+
# (Not documented)
|
6355
5921
|
#
|
6356
5922
|
# @method preferred_alignment_of_global(td, global_var)
|
6357
5923
|
# @param [OpaqueTargetData] td
|
@@ -6360,8 +5926,7 @@ module RCGTK::Bindings
|
|
6360
5926
|
# @scope class
|
6361
5927
|
attach_function :preferred_alignment_of_global, :LLVMPreferredAlignmentOfGlobal, [OpaqueTargetData, OpaqueValue], :uint
|
6362
5928
|
|
6363
|
-
#
|
6364
|
-
# See the method llvm::StructLayout::getElementContainingOffset.
|
5929
|
+
# (Not documented)
|
6365
5930
|
#
|
6366
5931
|
# @method element_at_offset(td, struct_ty, offset)
|
6367
5932
|
# @param [OpaqueTargetData] td
|
@@ -6371,8 +5936,7 @@ module RCGTK::Bindings
|
|
6371
5936
|
# @scope class
|
6372
5937
|
attach_function :element_at_offset, :LLVMElementAtOffset, [OpaqueTargetData, OpaqueType, :ulong_long], :uint
|
6373
5938
|
|
6374
|
-
#
|
6375
|
-
# See the method llvm::StructLayout::getElementContainingOffset.
|
5939
|
+
# (Not documented)
|
6376
5940
|
#
|
6377
5941
|
# @method offset_of_element(td, struct_ty, element)
|
6378
5942
|
# @param [OpaqueTargetData] td
|
@@ -6382,8 +5946,7 @@ module RCGTK::Bindings
|
|
6382
5946
|
# @scope class
|
6383
5947
|
attach_function :offset_of_element, :LLVMOffsetOfElement, [OpaqueTargetData, OpaqueType, :uint], :ulong_long
|
6384
5948
|
|
6385
|
-
#
|
6386
|
-
# See the destructor llvm::DataLayout::~DataLayout.
|
5949
|
+
# (Not documented)
|
6387
5950
|
#
|
6388
5951
|
# @method dispose_target_data(td)
|
6389
5952
|
# @param [OpaqueTargetData] td
|
@@ -6398,14 +5961,17 @@ module RCGTK::Bindings
|
|
6398
5961
|
|
6399
5962
|
# (Not documented)
|
6400
5963
|
module TargetWrappers
|
5964
|
+
# @return [Integer]
|
6401
5965
|
def has_jit()
|
6402
5966
|
RCGTK::Bindings.target_has_jit(self)
|
6403
5967
|
end
|
6404
5968
|
|
5969
|
+
# @return [Integer]
|
6405
5970
|
def has_target_machine()
|
6406
5971
|
RCGTK::Bindings.target_has_target_machine(self)
|
6407
5972
|
end
|
6408
5973
|
|
5974
|
+
# @return [Integer]
|
6409
5975
|
def has_asm_backend()
|
6410
5976
|
RCGTK::Bindings.target_has_asm_backend(self)
|
6411
5977
|
end
|
@@ -6512,14 +6078,14 @@ module RCGTK::Bindings
|
|
6512
6078
|
:object, 1
|
6513
6079
|
]
|
6514
6080
|
|
6515
|
-
#
|
6081
|
+
# (Not documented)
|
6516
6082
|
#
|
6517
6083
|
# @method get_first_target()
|
6518
6084
|
# @return [Target]
|
6519
6085
|
# @scope class
|
6520
6086
|
attach_function :get_first_target, :LLVMGetFirstTarget, [], Target
|
6521
6087
|
|
6522
|
-
#
|
6088
|
+
# (Not documented)
|
6523
6089
|
#
|
6524
6090
|
# @method get_next_target(t)
|
6525
6091
|
# @param [Target] t
|
@@ -6527,8 +6093,7 @@ module RCGTK::Bindings
|
|
6527
6093
|
# @scope class
|
6528
6094
|
attach_function :get_next_target, :LLVMGetNextTarget, [Target], Target
|
6529
6095
|
|
6530
|
-
#
|
6531
|
-
# Returns 0 on success.
|
6096
|
+
# (Not documented)
|
6532
6097
|
#
|
6533
6098
|
# @method get_target_from_name(name)
|
6534
6099
|
# @param [String] name
|
@@ -6536,9 +6101,7 @@ module RCGTK::Bindings
|
|
6536
6101
|
# @scope class
|
6537
6102
|
attach_function :get_target_from_name, :LLVMGetTargetFromName, [:string], Target
|
6538
6103
|
|
6539
|
-
#
|
6540
|
-
# Returns 0 on success. Optionally returns any error in ErrorMessage.
|
6541
|
-
# Use LLVMDisposeMessage to dispose the message.
|
6104
|
+
# (Not documented)
|
6542
6105
|
#
|
6543
6106
|
# @method get_target_from_triple(triple, t, error_message)
|
6544
6107
|
# @param [String] triple
|
@@ -6548,7 +6111,7 @@ module RCGTK::Bindings
|
|
6548
6111
|
# @scope class
|
6549
6112
|
attach_function :get_target_from_triple, :LLVMGetTargetFromTriple, [:string, :pointer, :pointer], :int
|
6550
6113
|
|
6551
|
-
#
|
6114
|
+
# (Not documented)
|
6552
6115
|
#
|
6553
6116
|
# @method get_target_name(t)
|
6554
6117
|
# @param [Target] t
|
@@ -6556,7 +6119,7 @@ module RCGTK::Bindings
|
|
6556
6119
|
# @scope class
|
6557
6120
|
attach_function :get_target_name, :LLVMGetTargetName, [Target], :string
|
6558
6121
|
|
6559
|
-
#
|
6122
|
+
# (Not documented)
|
6560
6123
|
#
|
6561
6124
|
# @method get_target_description(t)
|
6562
6125
|
# @param [Target] t
|
@@ -6564,7 +6127,7 @@ module RCGTK::Bindings
|
|
6564
6127
|
# @scope class
|
6565
6128
|
attach_function :get_target_description, :LLVMGetTargetDescription, [Target], :string
|
6566
6129
|
|
6567
|
-
#
|
6130
|
+
# (Not documented)
|
6568
6131
|
#
|
6569
6132
|
# @method target_has_jit(t)
|
6570
6133
|
# @param [Target] t
|
@@ -6572,7 +6135,7 @@ module RCGTK::Bindings
|
|
6572
6135
|
# @scope class
|
6573
6136
|
attach_function :target_has_jit, :LLVMTargetHasJIT, [Target], :int
|
6574
6137
|
|
6575
|
-
#
|
6138
|
+
# (Not documented)
|
6576
6139
|
#
|
6577
6140
|
# @method target_has_target_machine(t)
|
6578
6141
|
# @param [Target] t
|
@@ -6580,7 +6143,7 @@ module RCGTK::Bindings
|
|
6580
6143
|
# @scope class
|
6581
6144
|
attach_function :target_has_target_machine, :LLVMTargetHasTargetMachine, [Target], :int
|
6582
6145
|
|
6583
|
-
#
|
6146
|
+
# (Not documented)
|
6584
6147
|
#
|
6585
6148
|
# @method target_has_asm_backend(t)
|
6586
6149
|
# @param [Target] t
|
@@ -6588,7 +6151,7 @@ module RCGTK::Bindings
|
|
6588
6151
|
# @scope class
|
6589
6152
|
attach_function :target_has_asm_backend, :LLVMTargetHasAsmBackend, [Target], :int
|
6590
6153
|
|
6591
|
-
#
|
6154
|
+
# (Not documented)
|
6592
6155
|
#
|
6593
6156
|
# @method create_target_machine(t, triple, cpu, features, level, reloc, code_model)
|
6594
6157
|
# @param [Target] t
|
@@ -6602,8 +6165,7 @@ module RCGTK::Bindings
|
|
6602
6165
|
# @scope class
|
6603
6166
|
attach_function :create_target_machine, :LLVMCreateTargetMachine, [Target, :string, :string, :string, :code_gen_opt_level, :reloc_mode, :code_model], OpaqueTargetMachine
|
6604
6167
|
|
6605
|
-
#
|
6606
|
-
# LLVMCreateTargetMachine.
|
6168
|
+
# (Not documented)
|
6607
6169
|
#
|
6608
6170
|
# @method dispose_target_machine(t)
|
6609
6171
|
# @param [OpaqueTargetMachine] t
|
@@ -6611,7 +6173,7 @@ module RCGTK::Bindings
|
|
6611
6173
|
# @scope class
|
6612
6174
|
attach_function :dispose_target_machine, :LLVMDisposeTargetMachine, [OpaqueTargetMachine], :void
|
6613
6175
|
|
6614
|
-
#
|
6176
|
+
# (Not documented)
|
6615
6177
|
#
|
6616
6178
|
# @method get_target_machine_target(t)
|
6617
6179
|
# @param [OpaqueTargetMachine] t
|
@@ -6619,9 +6181,7 @@ module RCGTK::Bindings
|
|
6619
6181
|
# @scope class
|
6620
6182
|
attach_function :get_target_machine_target, :LLVMGetTargetMachineTarget, [OpaqueTargetMachine], Target
|
6621
6183
|
|
6622
|
-
#
|
6623
|
-
# llvm::TargetMachine::getTriple. The result needs to be disposed with
|
6624
|
-
# LLVMDisposeMessage.
|
6184
|
+
# (Not documented)
|
6625
6185
|
#
|
6626
6186
|
# @method get_target_machine_triple(t)
|
6627
6187
|
# @param [OpaqueTargetMachine] t
|
@@ -6629,9 +6189,7 @@ module RCGTK::Bindings
|
|
6629
6189
|
# @scope class
|
6630
6190
|
attach_function :get_target_machine_triple, :LLVMGetTargetMachineTriple, [OpaqueTargetMachine], :string
|
6631
6191
|
|
6632
|
-
#
|
6633
|
-
# llvm::TargetMachine::getCPU. The result needs to be disposed with
|
6634
|
-
# LLVMDisposeMessage.
|
6192
|
+
# (Not documented)
|
6635
6193
|
#
|
6636
6194
|
# @method get_target_machine_cpu(t)
|
6637
6195
|
# @param [OpaqueTargetMachine] t
|
@@ -6639,9 +6197,7 @@ module RCGTK::Bindings
|
|
6639
6197
|
# @scope class
|
6640
6198
|
attach_function :get_target_machine_cpu, :LLVMGetTargetMachineCPU, [OpaqueTargetMachine], :string
|
6641
6199
|
|
6642
|
-
#
|
6643
|
-
# llvm::TargetMachine::getFeatureString. The result needs to be disposed with
|
6644
|
-
# LLVMDisposeMessage.
|
6200
|
+
# (Not documented)
|
6645
6201
|
#
|
6646
6202
|
# @method get_target_machine_feature_string(t)
|
6647
6203
|
# @param [OpaqueTargetMachine] t
|
@@ -6649,7 +6205,7 @@ module RCGTK::Bindings
|
|
6649
6205
|
# @scope class
|
6650
6206
|
attach_function :get_target_machine_feature_string, :LLVMGetTargetMachineFeatureString, [OpaqueTargetMachine], :string
|
6651
6207
|
|
6652
|
-
#
|
6208
|
+
# (Not documented)
|
6653
6209
|
#
|
6654
6210
|
# @method get_target_machine_data(t)
|
6655
6211
|
# @param [OpaqueTargetMachine] t
|
@@ -6657,7 +6213,7 @@ module RCGTK::Bindings
|
|
6657
6213
|
# @scope class
|
6658
6214
|
attach_function :get_target_machine_data, :LLVMGetTargetMachineData, [OpaqueTargetMachine], OpaqueTargetData
|
6659
6215
|
|
6660
|
-
#
|
6216
|
+
# (Not documented)
|
6661
6217
|
#
|
6662
6218
|
# @method set_target_machine_asm_verbosity(t, verbose_asm)
|
6663
6219
|
# @param [OpaqueTargetMachine] t
|
@@ -6666,9 +6222,7 @@ module RCGTK::Bindings
|
|
6666
6222
|
# @scope class
|
6667
6223
|
attach_function :set_target_machine_asm_verbosity, :LLVMSetTargetMachineAsmVerbosity, [OpaqueTargetMachine, :int], :void
|
6668
6224
|
|
6669
|
-
#
|
6670
|
-
# wraps several c++ only classes (among them a file stream). Returns any
|
6671
|
-
# error in ErrorMessage. Use LLVMDisposeMessage to dispose the message.
|
6225
|
+
# (Not documented)
|
6672
6226
|
#
|
6673
6227
|
# @method target_machine_emit_to_file(t, m, filename, codegen, error_message)
|
6674
6228
|
# @param [OpaqueTargetMachine] t
|
@@ -6680,7 +6234,7 @@ module RCGTK::Bindings
|
|
6680
6234
|
# @scope class
|
6681
6235
|
attach_function :target_machine_emit_to_file, :LLVMTargetMachineEmitToFile, [OpaqueTargetMachine, OpaqueModule, :string, :code_gen_file_type, :pointer], :int
|
6682
6236
|
|
6683
|
-
#
|
6237
|
+
# (Not documented)
|
6684
6238
|
#
|
6685
6239
|
# @method target_machine_emit_to_memory_buffer(t, m, codegen, error_message, out_mem_buf)
|
6686
6240
|
# @param [OpaqueTargetMachine] t
|
@@ -6692,14 +6246,22 @@ module RCGTK::Bindings
|
|
6692
6246
|
# @scope class
|
6693
6247
|
attach_function :target_machine_emit_to_memory_buffer, :LLVMTargetMachineEmitToMemoryBuffer, [OpaqueTargetMachine, OpaqueModule, :code_gen_file_type, :pointer, :pointer], :int
|
6694
6248
|
|
6695
|
-
#
|
6696
|
-
# disposed with LLVMDisposeMessage.
|
6249
|
+
# (Not documented)
|
6697
6250
|
#
|
6698
6251
|
# @method get_default_target_triple()
|
6699
6252
|
# @return [String]
|
6700
6253
|
# @scope class
|
6701
6254
|
attach_function :get_default_target_triple, :LLVMGetDefaultTargetTriple, [], :string
|
6702
6255
|
|
6256
|
+
# (Not documented)
|
6257
|
+
#
|
6258
|
+
# @method add_analysis_passes(t, pm)
|
6259
|
+
# @param [OpaqueTargetMachine] t
|
6260
|
+
# @param [OpaquePassManager] pm
|
6261
|
+
# @return [nil]
|
6262
|
+
# @scope class
|
6263
|
+
attach_function :add_analysis_passes, :LLVMAddAnalysisPasses, [OpaqueTargetMachine, OpaquePassManager], :void
|
6264
|
+
|
6703
6265
|
# (Not documented)
|
6704
6266
|
#
|
6705
6267
|
# @method link_in_jit()
|
@@ -6757,7 +6319,7 @@ module RCGTK::Bindings
|
|
6757
6319
|
:mcjmm, OpaqueMCJITMemoryManager
|
6758
6320
|
end
|
6759
6321
|
|
6760
|
-
#
|
6322
|
+
# (Not documented)
|
6761
6323
|
#
|
6762
6324
|
# @method create_generic_value_of_int(ty, n, is_signed)
|
6763
6325
|
# @param [OpaqueType] ty
|
@@ -6826,7 +6388,7 @@ module RCGTK::Bindings
|
|
6826
6388
|
# @scope class
|
6827
6389
|
attach_function :dispose_generic_value, :LLVMDisposeGenericValue, [OpaqueGenericValue], :void
|
6828
6390
|
|
6829
|
-
#
|
6391
|
+
# (Not documented)
|
6830
6392
|
#
|
6831
6393
|
# @method create_execution_engine_for_module(out_ee, m, out_error)
|
6832
6394
|
# @param [FFI::Pointer(*ExecutionEngineRef)] out_ee
|
@@ -6866,21 +6428,7 @@ module RCGTK::Bindings
|
|
6866
6428
|
# @scope class
|
6867
6429
|
attach_function :initialize_mcjit_compiler_options, :LLVMInitializeMCJITCompilerOptions, [MCJITCompilerOptions, :ulong], :void
|
6868
6430
|
|
6869
|
-
#
|
6870
|
-
# the responsibility of the caller to ensure that all fields in Options up to
|
6871
|
-
# the given SizeOfOptions are initialized. It is correct to pass a smaller
|
6872
|
-
# value of SizeOfOptions that omits some fields. The canonical way of using
|
6873
|
-
# this is:
|
6874
|
-
#
|
6875
|
-
# LLVMMCJITCompilerOptions options;
|
6876
|
-
# LLVMInitializeMCJITCompilerOptions(&options, sizeof(options));
|
6877
|
-
# ... fill in those options you care about
|
6878
|
-
# LLVMCreateMCJITCompilerForModule(&jit, mod, &options, sizeof(options),
|
6879
|
-
# &error);
|
6880
|
-
#
|
6881
|
-
# Note that this is also correct, though possibly suboptimal:
|
6882
|
-
#
|
6883
|
-
# LLVMCreateMCJITCompilerForModule(&jit, mod, 0, 0, &error);
|
6431
|
+
# (Not documented)
|
6884
6432
|
#
|
6885
6433
|
# @method create_mcjit_compiler_for_module(out_jit, m, options, size_of_options, out_error)
|
6886
6434
|
# @param [FFI::Pointer(*ExecutionEngineRef)] out_jit
|
@@ -6892,7 +6440,7 @@ module RCGTK::Bindings
|
|
6892
6440
|
# @scope class
|
6893
6441
|
attach_function :create_mcjit_compiler_for_module, :LLVMCreateMCJITCompilerForModule, [:pointer, OpaqueModule, MCJITCompilerOptions, :ulong, :pointer], :int
|
6894
6442
|
|
6895
|
-
#
|
6443
|
+
# (Not documented)
|
6896
6444
|
#
|
6897
6445
|
# @method create_execution_engine(out_ee, mp, out_error)
|
6898
6446
|
# @param [FFI::Pointer(*ExecutionEngineRef)] out_ee
|
@@ -6902,7 +6450,7 @@ module RCGTK::Bindings
|
|
6902
6450
|
# @scope class
|
6903
6451
|
attach_function :create_execution_engine, :LLVMCreateExecutionEngine, [:pointer, OpaqueModuleProvider, :pointer], :int
|
6904
6452
|
|
6905
|
-
#
|
6453
|
+
# (Not documented)
|
6906
6454
|
#
|
6907
6455
|
# @method create_interpreter(out_interp, mp, out_error)
|
6908
6456
|
# @param [FFI::Pointer(*ExecutionEngineRef)] out_interp
|
@@ -6912,7 +6460,7 @@ module RCGTK::Bindings
|
|
6912
6460
|
# @scope class
|
6913
6461
|
attach_function :create_interpreter, :LLVMCreateInterpreter, [:pointer, OpaqueModuleProvider, :pointer], :int
|
6914
6462
|
|
6915
|
-
#
|
6463
|
+
# (Not documented)
|
6916
6464
|
#
|
6917
6465
|
# @method create_jit_compiler(out_jit, mp, opt_level, out_error)
|
6918
6466
|
# @param [FFI::Pointer(*ExecutionEngineRef)] out_jit
|
@@ -6988,7 +6536,7 @@ module RCGTK::Bindings
|
|
6988
6536
|
# @scope class
|
6989
6537
|
attach_function :add_module, :LLVMAddModule, [OpaqueExecutionEngine, OpaqueModule], :void
|
6990
6538
|
|
6991
|
-
#
|
6539
|
+
# (Not documented)
|
6992
6540
|
#
|
6993
6541
|
# @method add_module_provider(ee, mp)
|
6994
6542
|
# @param [OpaqueExecutionEngine] ee
|
@@ -7008,7 +6556,7 @@ module RCGTK::Bindings
|
|
7008
6556
|
# @scope class
|
7009
6557
|
attach_function :remove_module, :LLVMRemoveModule, [OpaqueExecutionEngine, OpaqueModule, :pointer, :pointer], :int
|
7010
6558
|
|
7011
|
-
#
|
6559
|
+
# (Not documented)
|
7012
6560
|
#
|
7013
6561
|
# @method remove_module_provider(ee, mp, out_mod, out_error)
|
7014
6562
|
# @param [OpaqueExecutionEngine] ee
|
@@ -7046,6 +6594,14 @@ module RCGTK::Bindings
|
|
7046
6594
|
# @scope class
|
7047
6595
|
attach_function :get_execution_engine_target_data, :LLVMGetExecutionEngineTargetData, [OpaqueExecutionEngine], OpaqueTargetData
|
7048
6596
|
|
6597
|
+
# (Not documented)
|
6598
|
+
#
|
6599
|
+
# @method get_execution_engine_target_machine(ee)
|
6600
|
+
# @param [OpaqueExecutionEngine] ee
|
6601
|
+
# @return [OpaqueTargetMachine]
|
6602
|
+
# @scope class
|
6603
|
+
attach_function :get_execution_engine_target_machine, :LLVMGetExecutionEngineTargetMachine, [OpaqueExecutionEngine], OpaqueTargetMachine
|
6604
|
+
|
7049
6605
|
# (Not documented)
|
7050
6606
|
#
|
7051
6607
|
# @method add_global_mapping(ee, global, addr)
|
@@ -7065,11 +6621,12 @@ module RCGTK::Bindings
|
|
7065
6621
|
# @scope class
|
7066
6622
|
attach_function :get_pointer_to_global, :LLVMGetPointerToGlobal, [OpaqueExecutionEngine, OpaqueValue], :pointer
|
7067
6623
|
|
7068
|
-
#
|
6624
|
+
# (Not documented)
|
7069
6625
|
#
|
7070
6626
|
# <em>This entry is only for documentation and no real method.</em>
|
7071
6627
|
#
|
7072
|
-
# @method _callback_memory_manager_allocate_code_section_callback_(opaque, size, alignment, section_id, section_name)
|
6628
|
+
# @method _callback_memory_manager_allocate_code_section_callback_(uint8_t, opaque, size, alignment, section_id, section_name)
|
6629
|
+
# @param [Integer] uint8_t
|
7073
6630
|
# @param [FFI::Pointer(*Void)] opaque
|
7074
6631
|
# @param [Integer] size
|
7075
6632
|
# @param [Integer] alignment
|
@@ -7077,13 +6634,14 @@ module RCGTK::Bindings
|
|
7077
6634
|
# @param [String] section_name
|
7078
6635
|
# @return [Integer]
|
7079
6636
|
# @scope class
|
7080
|
-
callback :memory_manager_allocate_code_section_callback, [:pointer, :ulong, :uint, :uint, :string], :uchar
|
6637
|
+
callback :memory_manager_allocate_code_section_callback, [:uchar, :pointer, :ulong, :uint, :uint, :string], :uchar
|
7081
6638
|
|
7082
6639
|
# (Not documented)
|
7083
6640
|
#
|
7084
6641
|
# <em>This entry is only for documentation and no real method.</em>
|
7085
6642
|
#
|
7086
|
-
# @method _callback_memory_manager_allocate_data_section_callback_(opaque, size, alignment, section_id, section_name, is_read_only)
|
6643
|
+
# @method _callback_memory_manager_allocate_data_section_callback_(uint8_t, opaque, size, alignment, section_id, section_name, is_read_only)
|
6644
|
+
# @param [Integer] uint8_t
|
7087
6645
|
# @param [FFI::Pointer(*Void)] opaque
|
7088
6646
|
# @param [Integer] size
|
7089
6647
|
# @param [Integer] alignment
|
@@ -7092,28 +6650,21 @@ module RCGTK::Bindings
|
|
7092
6650
|
# @param [Integer] is_read_only
|
7093
6651
|
# @return [Integer]
|
7094
6652
|
# @scope class
|
7095
|
-
callback :memory_manager_allocate_data_section_callback, [:pointer, :ulong, :uint, :uint, :string, :int], :uchar
|
6653
|
+
callback :memory_manager_allocate_data_section_callback, [:uchar, :pointer, :ulong, :uint, :uint, :string, :int], :uchar
|
7096
6654
|
|
7097
6655
|
# (Not documented)
|
7098
6656
|
#
|
7099
6657
|
# <em>This entry is only for documentation and no real method.</em>
|
7100
6658
|
#
|
7101
|
-
# @method _callback_memory_manager_finalize_memory_callback_(opaque, err_msg)
|
6659
|
+
# @method _callback_memory_manager_finalize_memory_callback_(bool, opaque, err_msg)
|
6660
|
+
# @param [Integer] bool
|
7102
6661
|
# @param [FFI::Pointer(*Void)] opaque
|
7103
6662
|
# @param [FFI::Pointer(**CharS)] err_msg
|
7104
6663
|
# @return [Integer]
|
7105
6664
|
# @scope class
|
7106
|
-
callback :memory_manager_finalize_memory_callback, [:pointer, :pointer], :int
|
6665
|
+
callback :memory_manager_finalize_memory_callback, [:int, :pointer, :pointer], :int
|
7107
6666
|
|
7108
|
-
#
|
7109
|
-
# intercept allocations in a module-oblivious way. This will return NULL
|
7110
|
-
# if any of the passed functions are NULL.
|
7111
|
-
#
|
7112
|
-
# @param Opaque An opaque client object to pass back to the callbacks.
|
7113
|
-
# @param AllocateCodeSection Allocate a block of memory for executable code.
|
7114
|
-
# @param AllocateDataSection Allocate a block of memory for data.
|
7115
|
-
# @param FinalizeMemory Set page permissions and flush cache. Return 0 on
|
7116
|
-
# success, 1 on error.
|
6667
|
+
# (Not documented)
|
7117
6668
|
#
|
7118
6669
|
# @method create_simple_mcjit_memory_manager(opaque, allocate_code_section, allocate_data_section, finalize_memory, destroy)
|
7119
6670
|
# @param [FFI::Pointer(*Void)] opaque
|
@@ -7163,7 +6714,7 @@ module RCGTK::Bindings
|
|
7163
6714
|
# @param [OpaquePassRegistry] r
|
7164
6715
|
# @return [nil]
|
7165
6716
|
# @scope class
|
7166
|
-
attach_function :
|
6717
|
+
attach_function :initialize_obj_carc_opts, :LLVMInitializeObjCARCOpts, [OpaquePassRegistry], :void
|
7167
6718
|
|
7168
6719
|
# (Not documented)
|
7169
6720
|
#
|
@@ -7245,21 +6796,20 @@ module RCGTK::Bindings
|
|
7245
6796
|
# <em>This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:linker_mode).</em>
|
7246
6797
|
#
|
7247
6798
|
# === Options:
|
7248
|
-
# :
|
6799
|
+
# :destroy_source ::
|
7249
6800
|
#
|
6801
|
+
# :preserve_source ::
|
6802
|
+
# Allow source module to be destroyed.
|
7250
6803
|
#
|
7251
6804
|
# @method _enum_linker_mode_
|
7252
6805
|
# @return [Symbol]
|
7253
6806
|
# @scope class
|
7254
6807
|
enum :linker_mode, [
|
7255
|
-
:
|
6808
|
+
:destroy_source, 0,
|
6809
|
+
:preserve_source, 1
|
7256
6810
|
]
|
7257
6811
|
|
7258
|
-
#
|
7259
|
-
# of the source module away from the caller. Optionally returns a
|
7260
|
-
# human-readable description of any errors that occurred in linking.
|
7261
|
-
# OutMessage must be disposed with LLVMDisposeMessage. The return value
|
7262
|
-
# is true if an error occurred, false otherwise.
|
6812
|
+
# (Not documented)
|
7263
6813
|
#
|
7264
6814
|
# @method link_modules(dest, src, mode, out_message)
|
7265
6815
|
# @param [OpaqueModule] dest
|
@@ -7270,7 +6820,7 @@ module RCGTK::Bindings
|
|
7270
6820
|
# @scope class
|
7271
6821
|
attach_function :link_modules, :LLVMLinkModules, [OpaqueModule, OpaqueModule, :linker_mode, :pointer], :int
|
7272
6822
|
|
7273
|
-
#
|
6823
|
+
# This should map exactly onto the C++ enumerator LTOStatus.
|
7274
6824
|
#
|
7275
6825
|
# <em>This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:llvm_lto_status).</em>
|
7276
6826
|
#
|
@@ -7294,7 +6844,7 @@ module RCGTK::Bindings
|
|
7294
6844
|
# :asm_failure ::
|
7295
6845
|
#
|
7296
6846
|
# :null_object ::
|
7297
|
-
#
|
6847
|
+
# Added C-specific error codes
|
7298
6848
|
#
|
7299
6849
|
# @method _enum_llvm_lto_status_
|
7300
6850
|
# @return [Symbol]
|
@@ -7312,7 +6862,7 @@ module RCGTK::Bindings
|
|
7312
6862
|
:null_object, 9
|
7313
6863
|
]
|
7314
6864
|
|
7315
|
-
#
|
6865
|
+
# (Not documented)
|
7316
6866
|
#
|
7317
6867
|
# @method llvm_create_optimizer()
|
7318
6868
|
# @return [FFI::Pointer(LlvmLtoT)]
|
@@ -7365,7 +6915,7 @@ module RCGTK::Bindings
|
|
7365
6915
|
layout :dummy, :char
|
7366
6916
|
end
|
7367
6917
|
|
7368
|
-
#
|
6918
|
+
# (Not documented)
|
7369
6919
|
#
|
7370
6920
|
# @method create_object_file(mem_buf)
|
7371
6921
|
# @param [OpaqueMemoryBuffer] mem_buf
|
@@ -7381,7 +6931,7 @@ module RCGTK::Bindings
|
|
7381
6931
|
# @scope class
|
7382
6932
|
attach_function :dispose_object_file, :LLVMDisposeObjectFile, [OpaqueObjectFile], :void
|
7383
6933
|
|
7384
|
-
#
|
6934
|
+
# (Not documented)
|
7385
6935
|
#
|
7386
6936
|
# @method get_sections(object_file)
|
7387
6937
|
# @param [OpaqueObjectFile] object_file
|
@@ -7423,7 +6973,7 @@ module RCGTK::Bindings
|
|
7423
6973
|
# @scope class
|
7424
6974
|
attach_function :move_to_containing_section, :LLVMMoveToContainingSection, [OpaqueSectionIterator, OpaqueSymbolIterator], :void
|
7425
6975
|
|
7426
|
-
#
|
6976
|
+
# (Not documented)
|
7427
6977
|
#
|
7428
6978
|
# @method get_symbols(object_file)
|
7429
6979
|
# @param [OpaqueObjectFile] object_file
|
@@ -7456,7 +7006,7 @@ module RCGTK::Bindings
|
|
7456
7006
|
# @scope class
|
7457
7007
|
attach_function :move_to_next_symbol, :LLVMMoveToNextSymbol, [OpaqueSymbolIterator], :void
|
7458
7008
|
|
7459
|
-
#
|
7009
|
+
# (Not documented)
|
7460
7010
|
#
|
7461
7011
|
# @method get_section_name(si)
|
7462
7012
|
# @param [OpaqueSectionIterator] si
|
@@ -7497,7 +7047,7 @@ module RCGTK::Bindings
|
|
7497
7047
|
# @scope class
|
7498
7048
|
attach_function :get_section_contains_symbol, :LLVMGetSectionContainsSymbol, [OpaqueSectionIterator, OpaqueSymbolIterator], :int
|
7499
7049
|
|
7500
|
-
#
|
7050
|
+
# (Not documented)
|
7501
7051
|
#
|
7502
7052
|
# @method get_relocations(section)
|
7503
7053
|
# @param [OpaqueSectionIterator] section
|
@@ -7530,7 +7080,7 @@ module RCGTK::Bindings
|
|
7530
7080
|
# @scope class
|
7531
7081
|
attach_function :move_to_next_relocation, :LLVMMoveToNextRelocation, [OpaqueRelocationIterator], :void
|
7532
7082
|
|
7533
|
-
#
|
7083
|
+
# (Not documented)
|
7534
7084
|
#
|
7535
7085
|
# @method get_symbol_name(si)
|
7536
7086
|
# @param [OpaqueSymbolIterator] si
|
@@ -7546,14 +7096,6 @@ module RCGTK::Bindings
|
|
7546
7096
|
# @scope class
|
7547
7097
|
attach_function :get_symbol_address, :LLVMGetSymbolAddress, [OpaqueSymbolIterator], :ulong
|
7548
7098
|
|
7549
|
-
# (Not documented)
|
7550
|
-
#
|
7551
|
-
# @method get_symbol_file_offset(si)
|
7552
|
-
# @param [OpaqueSymbolIterator] si
|
7553
|
-
# @return [Integer]
|
7554
|
-
# @scope class
|
7555
|
-
attach_function :get_symbol_file_offset, :LLVMGetSymbolFileOffset, [OpaqueSymbolIterator], :ulong
|
7556
|
-
|
7557
7099
|
# (Not documented)
|
7558
7100
|
#
|
7559
7101
|
# @method get_symbol_size(si)
|
@@ -7562,7 +7104,7 @@ module RCGTK::Bindings
|
|
7562
7104
|
# @scope class
|
7563
7105
|
attach_function :get_symbol_size, :LLVMGetSymbolSize, [OpaqueSymbolIterator], :ulong
|
7564
7106
|
|
7565
|
-
#
|
7107
|
+
# (Not documented)
|
7566
7108
|
#
|
7567
7109
|
# @method get_relocation_address(ri)
|
7568
7110
|
# @param [OpaqueRelocationIterator] ri
|
@@ -7594,7 +7136,7 @@ module RCGTK::Bindings
|
|
7594
7136
|
# @scope class
|
7595
7137
|
attach_function :get_relocation_type, :LLVMGetRelocationType, [OpaqueRelocationIterator], :ulong
|
7596
7138
|
|
7597
|
-
#
|
7139
|
+
# (Not documented)
|
7598
7140
|
#
|
7599
7141
|
# @method get_relocation_type_name(ri)
|
7600
7142
|
# @param [OpaqueRelocationIterator] ri
|
@@ -7610,14 +7152,6 @@ module RCGTK::Bindings
|
|
7610
7152
|
# @scope class
|
7611
7153
|
attach_function :get_relocation_value_string, :LLVMGetRelocationValueString, [OpaqueRelocationIterator], :string
|
7612
7154
|
|
7613
|
-
# (Not documented)
|
7614
|
-
#
|
7615
|
-
# @method load_library_permanently(filename)
|
7616
|
-
# @param [String] filename
|
7617
|
-
# @return [Integer]
|
7618
|
-
# @scope class
|
7619
|
-
attach_function :load_library_permanently, :LLVMLoadLibraryPermanently, [:string], :int
|
7620
|
-
|
7621
7155
|
# (Not documented)
|
7622
7156
|
#
|
7623
7157
|
# @method add_argument_promotion_pass(pm)
|
@@ -7626,7 +7160,7 @@ module RCGTK::Bindings
|
|
7626
7160
|
# @scope class
|
7627
7161
|
attach_function :add_argument_promotion_pass, :LLVMAddArgumentPromotionPass, [OpaquePassManager], :void
|
7628
7162
|
|
7629
|
-
#
|
7163
|
+
# (Not documented)
|
7630
7164
|
#
|
7631
7165
|
# @method add_constant_merge_pass(pm)
|
7632
7166
|
# @param [OpaquePassManager] pm
|
@@ -7634,7 +7168,7 @@ module RCGTK::Bindings
|
|
7634
7168
|
# @scope class
|
7635
7169
|
attach_function :add_constant_merge_pass, :LLVMAddConstantMergePass, [OpaquePassManager], :void
|
7636
7170
|
|
7637
|
-
#
|
7171
|
+
# (Not documented)
|
7638
7172
|
#
|
7639
7173
|
# @method add_dead_arg_elimination_pass(pm)
|
7640
7174
|
# @param [OpaquePassManager] pm
|
@@ -7642,7 +7176,7 @@ module RCGTK::Bindings
|
|
7642
7176
|
# @scope class
|
7643
7177
|
attach_function :add_dead_arg_elimination_pass, :LLVMAddDeadArgEliminationPass, [OpaquePassManager], :void
|
7644
7178
|
|
7645
|
-
#
|
7179
|
+
# (Not documented)
|
7646
7180
|
#
|
7647
7181
|
# @method add_function_attrs_pass(pm)
|
7648
7182
|
# @param [OpaquePassManager] pm
|
@@ -7650,7 +7184,7 @@ module RCGTK::Bindings
|
|
7650
7184
|
# @scope class
|
7651
7185
|
attach_function :add_function_attrs_pass, :LLVMAddFunctionAttrsPass, [OpaquePassManager], :void
|
7652
7186
|
|
7653
|
-
#
|
7187
|
+
# (Not documented)
|
7654
7188
|
#
|
7655
7189
|
# @method add_function_inlining_pass(pm)
|
7656
7190
|
# @param [OpaquePassManager] pm
|
@@ -7658,7 +7192,7 @@ module RCGTK::Bindings
|
|
7658
7192
|
# @scope class
|
7659
7193
|
attach_function :add_function_inlining_pass, :LLVMAddFunctionInliningPass, [OpaquePassManager], :void
|
7660
7194
|
|
7661
|
-
#
|
7195
|
+
# (Not documented)
|
7662
7196
|
#
|
7663
7197
|
# @method add_always_inliner_pass(pm)
|
7664
7198
|
# @param [OpaquePassManager] pm
|
@@ -7666,7 +7200,7 @@ module RCGTK::Bindings
|
|
7666
7200
|
# @scope class
|
7667
7201
|
attach_function :add_always_inliner_pass, :LLVMAddAlwaysInlinerPass, [OpaquePassManager], :void
|
7668
7202
|
|
7669
|
-
#
|
7203
|
+
# (Not documented)
|
7670
7204
|
#
|
7671
7205
|
# @method add_global_dce_pass(pm)
|
7672
7206
|
# @param [OpaquePassManager] pm
|
@@ -7674,7 +7208,7 @@ module RCGTK::Bindings
|
|
7674
7208
|
# @scope class
|
7675
7209
|
attach_function :add_global_dce_pass, :LLVMAddGlobalDCEPass, [OpaquePassManager], :void
|
7676
7210
|
|
7677
|
-
#
|
7211
|
+
# (Not documented)
|
7678
7212
|
#
|
7679
7213
|
# @method add_global_optimizer_pass(pm)
|
7680
7214
|
# @param [OpaquePassManager] pm
|
@@ -7682,7 +7216,7 @@ module RCGTK::Bindings
|
|
7682
7216
|
# @scope class
|
7683
7217
|
attach_function :add_global_optimizer_pass, :LLVMAddGlobalOptimizerPass, [OpaquePassManager], :void
|
7684
7218
|
|
7685
|
-
#
|
7219
|
+
# (Not documented)
|
7686
7220
|
#
|
7687
7221
|
# @method add_ip_constant_propagation_pass(pm)
|
7688
7222
|
# @param [OpaquePassManager] pm
|
@@ -7690,7 +7224,7 @@ module RCGTK::Bindings
|
|
7690
7224
|
# @scope class
|
7691
7225
|
attach_function :add_ip_constant_propagation_pass, :LLVMAddIPConstantPropagationPass, [OpaquePassManager], :void
|
7692
7226
|
|
7693
|
-
#
|
7227
|
+
# (Not documented)
|
7694
7228
|
#
|
7695
7229
|
# @method add_prune_eh_pass(pm)
|
7696
7230
|
# @param [OpaquePassManager] pm
|
@@ -7698,7 +7232,7 @@ module RCGTK::Bindings
|
|
7698
7232
|
# @scope class
|
7699
7233
|
attach_function :add_prune_eh_pass, :LLVMAddPruneEHPass, [OpaquePassManager], :void
|
7700
7234
|
|
7701
|
-
#
|
7235
|
+
# (Not documented)
|
7702
7236
|
#
|
7703
7237
|
# @method add_ipsccp_pass(pm)
|
7704
7238
|
# @param [OpaquePassManager] pm
|
@@ -7706,7 +7240,7 @@ module RCGTK::Bindings
|
|
7706
7240
|
# @scope class
|
7707
7241
|
attach_function :add_ipsccp_pass, :LLVMAddIPSCCPPass, [OpaquePassManager], :void
|
7708
7242
|
|
7709
|
-
#
|
7243
|
+
# (Not documented)
|
7710
7244
|
#
|
7711
7245
|
# @method add_internalize_pass(opaque_pass_manager, all_but_main)
|
7712
7246
|
# @param [OpaquePassManager] opaque_pass_manager
|
@@ -7715,7 +7249,7 @@ module RCGTK::Bindings
|
|
7715
7249
|
# @scope class
|
7716
7250
|
attach_function :add_internalize_pass, :LLVMAddInternalizePass, [OpaquePassManager, :uint], :void
|
7717
7251
|
|
7718
|
-
#
|
7252
|
+
# (Not documented)
|
7719
7253
|
#
|
7720
7254
|
# @method add_strip_dead_prototypes_pass(pm)
|
7721
7255
|
# @param [OpaquePassManager] pm
|
@@ -7723,7 +7257,7 @@ module RCGTK::Bindings
|
|
7723
7257
|
# @scope class
|
7724
7258
|
attach_function :add_strip_dead_prototypes_pass, :LLVMAddStripDeadPrototypesPass, [OpaquePassManager], :void
|
7725
7259
|
|
7726
|
-
#
|
7260
|
+
# (Not documented)
|
7727
7261
|
#
|
7728
7262
|
# @method add_strip_symbols_pass(pm)
|
7729
7263
|
# @param [OpaquePassManager] pm
|
@@ -7760,7 +7294,7 @@ module RCGTK::Bindings
|
|
7760
7294
|
# @scope class
|
7761
7295
|
attach_function :pass_manager_builder_set_opt_level, :LLVMPassManagerBuilderSetOptLevel, [OpaquePassManagerBuilder, :uint], :void
|
7762
7296
|
|
7763
|
-
#
|
7297
|
+
# (Not documented)
|
7764
7298
|
#
|
7765
7299
|
# @method pass_manager_builder_set_size_level(pmb, size_level)
|
7766
7300
|
# @param [OpaquePassManagerBuilder] pmb
|
@@ -7769,7 +7303,7 @@ module RCGTK::Bindings
|
|
7769
7303
|
# @scope class
|
7770
7304
|
attach_function :pass_manager_builder_set_size_level, :LLVMPassManagerBuilderSetSizeLevel, [OpaquePassManagerBuilder, :uint], :void
|
7771
7305
|
|
7772
|
-
#
|
7306
|
+
# (Not documented)
|
7773
7307
|
#
|
7774
7308
|
# @method pass_manager_builder_set_disable_unit_at_a_time(pmb, value)
|
7775
7309
|
# @param [OpaquePassManagerBuilder] pmb
|
@@ -7778,7 +7312,7 @@ module RCGTK::Bindings
|
|
7778
7312
|
# @scope class
|
7779
7313
|
attach_function :pass_manager_builder_set_disable_unit_at_a_time, :LLVMPassManagerBuilderSetDisableUnitAtATime, [OpaquePassManagerBuilder, :int], :void
|
7780
7314
|
|
7781
|
-
#
|
7315
|
+
# (Not documented)
|
7782
7316
|
#
|
7783
7317
|
# @method pass_manager_builder_set_disable_unroll_loops(pmb, value)
|
7784
7318
|
# @param [OpaquePassManagerBuilder] pmb
|
@@ -7787,7 +7321,7 @@ module RCGTK::Bindings
|
|
7787
7321
|
# @scope class
|
7788
7322
|
attach_function :pass_manager_builder_set_disable_unroll_loops, :LLVMPassManagerBuilderSetDisableUnrollLoops, [OpaquePassManagerBuilder, :int], :void
|
7789
7323
|
|
7790
|
-
#
|
7324
|
+
# (Not documented)
|
7791
7325
|
#
|
7792
7326
|
# @method pass_manager_builder_set_disable_simplify_lib_calls(pmb, value)
|
7793
7327
|
# @param [OpaquePassManagerBuilder] pmb
|
@@ -7796,7 +7330,7 @@ module RCGTK::Bindings
|
|
7796
7330
|
# @scope class
|
7797
7331
|
attach_function :pass_manager_builder_set_disable_simplify_lib_calls, :LLVMPassManagerBuilderSetDisableSimplifyLibCalls, [OpaquePassManagerBuilder, :int], :void
|
7798
7332
|
|
7799
|
-
#
|
7333
|
+
# (Not documented)
|
7800
7334
|
#
|
7801
7335
|
# @method pass_manager_builder_use_inliner_with_threshold(pmb, threshold)
|
7802
7336
|
# @param [OpaquePassManagerBuilder] pmb
|
@@ -7805,7 +7339,7 @@ module RCGTK::Bindings
|
|
7805
7339
|
# @scope class
|
7806
7340
|
attach_function :pass_manager_builder_use_inliner_with_threshold, :LLVMPassManagerBuilderUseInlinerWithThreshold, [OpaquePassManagerBuilder, :uint], :void
|
7807
7341
|
|
7808
|
-
#
|
7342
|
+
# (Not documented)
|
7809
7343
|
#
|
7810
7344
|
# @method pass_manager_builder_populate_function_pass_manager(pmb, pm)
|
7811
7345
|
# @param [OpaquePassManagerBuilder] pmb
|
@@ -7814,7 +7348,7 @@ module RCGTK::Bindings
|
|
7814
7348
|
# @scope class
|
7815
7349
|
attach_function :pass_manager_builder_populate_function_pass_manager, :LLVMPassManagerBuilderPopulateFunctionPassManager, [OpaquePassManagerBuilder, OpaquePassManager], :void
|
7816
7350
|
|
7817
|
-
#
|
7351
|
+
# (Not documented)
|
7818
7352
|
#
|
7819
7353
|
# @method pass_manager_builder_populate_module_pass_manager(pmb, pm)
|
7820
7354
|
# @param [OpaquePassManagerBuilder] pmb
|
@@ -7823,7 +7357,7 @@ module RCGTK::Bindings
|
|
7823
7357
|
# @scope class
|
7824
7358
|
attach_function :pass_manager_builder_populate_module_pass_manager, :LLVMPassManagerBuilderPopulateModulePassManager, [OpaquePassManagerBuilder, OpaquePassManager], :void
|
7825
7359
|
|
7826
|
-
#
|
7360
|
+
# (Not documented)
|
7827
7361
|
#
|
7828
7362
|
# @method pass_manager_builder_populate_lto_pass_manager(pmb, pm, internalize, run_inliner)
|
7829
7363
|
# @param [OpaquePassManagerBuilder] pmb
|
@@ -7842,7 +7376,7 @@ module RCGTK::Bindings
|
|
7842
7376
|
# @scope class
|
7843
7377
|
attach_function :add_aggressive_dce_pass, :LLVMAddAggressiveDCEPass, [OpaquePassManager], :void
|
7844
7378
|
|
7845
|
-
#
|
7379
|
+
# (Not documented)
|
7846
7380
|
#
|
7847
7381
|
# @method add_cfg_simplification_pass(pm)
|
7848
7382
|
# @param [OpaquePassManager] pm
|
@@ -7850,7 +7384,7 @@ module RCGTK::Bindings
|
|
7850
7384
|
# @scope class
|
7851
7385
|
attach_function :add_cfg_simplification_pass, :LLVMAddCFGSimplificationPass, [OpaquePassManager], :void
|
7852
7386
|
|
7853
|
-
#
|
7387
|
+
# (Not documented)
|
7854
7388
|
#
|
7855
7389
|
# @method add_dead_store_elimination_pass(pm)
|
7856
7390
|
# @param [OpaquePassManager] pm
|
@@ -7858,7 +7392,23 @@ module RCGTK::Bindings
|
|
7858
7392
|
# @scope class
|
7859
7393
|
attach_function :add_dead_store_elimination_pass, :LLVMAddDeadStoreEliminationPass, [OpaquePassManager], :void
|
7860
7394
|
|
7861
|
-
#
|
7395
|
+
# (Not documented)
|
7396
|
+
#
|
7397
|
+
# @method add_scalarizer_pass(pm)
|
7398
|
+
# @param [OpaquePassManager] pm
|
7399
|
+
# @return [nil]
|
7400
|
+
# @scope class
|
7401
|
+
attach_function :add_scalarizer_pass, :LLVMAddScalarizerPass, [OpaquePassManager], :void
|
7402
|
+
|
7403
|
+
# (Not documented)
|
7404
|
+
#
|
7405
|
+
# @method add_merged_load_store_motion_pass(pm)
|
7406
|
+
# @param [OpaquePassManager] pm
|
7407
|
+
# @return [nil]
|
7408
|
+
# @scope class
|
7409
|
+
attach_function :add_merged_load_store_motion_pass, :LLVMAddMergedLoadStoreMotionPass, [OpaquePassManager], :void
|
7410
|
+
|
7411
|
+
# (Not documented)
|
7862
7412
|
#
|
7863
7413
|
# @method add_gvn_pass(pm)
|
7864
7414
|
# @param [OpaquePassManager] pm
|
@@ -7866,7 +7416,7 @@ module RCGTK::Bindings
|
|
7866
7416
|
# @scope class
|
7867
7417
|
attach_function :add_gvn_pass, :LLVMAddGVNPass, [OpaquePassManager], :void
|
7868
7418
|
|
7869
|
-
#
|
7419
|
+
# (Not documented)
|
7870
7420
|
#
|
7871
7421
|
# @method add_ind_var_simplify_pass(pm)
|
7872
7422
|
# @param [OpaquePassManager] pm
|
@@ -7874,7 +7424,7 @@ module RCGTK::Bindings
|
|
7874
7424
|
# @scope class
|
7875
7425
|
attach_function :add_ind_var_simplify_pass, :LLVMAddIndVarSimplifyPass, [OpaquePassManager], :void
|
7876
7426
|
|
7877
|
-
#
|
7427
|
+
# (Not documented)
|
7878
7428
|
#
|
7879
7429
|
# @method add_instruction_combining_pass(pm)
|
7880
7430
|
# @param [OpaquePassManager] pm
|
@@ -7882,7 +7432,7 @@ module RCGTK::Bindings
|
|
7882
7432
|
# @scope class
|
7883
7433
|
attach_function :add_instruction_combining_pass, :LLVMAddInstructionCombiningPass, [OpaquePassManager], :void
|
7884
7434
|
|
7885
|
-
#
|
7435
|
+
# (Not documented)
|
7886
7436
|
#
|
7887
7437
|
# @method add_jump_threading_pass(pm)
|
7888
7438
|
# @param [OpaquePassManager] pm
|
@@ -7890,7 +7440,7 @@ module RCGTK::Bindings
|
|
7890
7440
|
# @scope class
|
7891
7441
|
attach_function :add_jump_threading_pass, :LLVMAddJumpThreadingPass, [OpaquePassManager], :void
|
7892
7442
|
|
7893
|
-
#
|
7443
|
+
# (Not documented)
|
7894
7444
|
#
|
7895
7445
|
# @method add_licm_pass(pm)
|
7896
7446
|
# @param [OpaquePassManager] pm
|
@@ -7898,7 +7448,7 @@ module RCGTK::Bindings
|
|
7898
7448
|
# @scope class
|
7899
7449
|
attach_function :add_licm_pass, :LLVMAddLICMPass, [OpaquePassManager], :void
|
7900
7450
|
|
7901
|
-
#
|
7451
|
+
# (Not documented)
|
7902
7452
|
#
|
7903
7453
|
# @method add_loop_deletion_pass(pm)
|
7904
7454
|
# @param [OpaquePassManager] pm
|
@@ -7906,7 +7456,7 @@ module RCGTK::Bindings
|
|
7906
7456
|
# @scope class
|
7907
7457
|
attach_function :add_loop_deletion_pass, :LLVMAddLoopDeletionPass, [OpaquePassManager], :void
|
7908
7458
|
|
7909
|
-
#
|
7459
|
+
# (Not documented)
|
7910
7460
|
#
|
7911
7461
|
# @method add_loop_idiom_pass(pm)
|
7912
7462
|
# @param [OpaquePassManager] pm
|
@@ -7914,7 +7464,7 @@ module RCGTK::Bindings
|
|
7914
7464
|
# @scope class
|
7915
7465
|
attach_function :add_loop_idiom_pass, :LLVMAddLoopIdiomPass, [OpaquePassManager], :void
|
7916
7466
|
|
7917
|
-
#
|
7467
|
+
# (Not documented)
|
7918
7468
|
#
|
7919
7469
|
# @method add_loop_rotate_pass(pm)
|
7920
7470
|
# @param [OpaquePassManager] pm
|
@@ -7922,7 +7472,7 @@ module RCGTK::Bindings
|
|
7922
7472
|
# @scope class
|
7923
7473
|
attach_function :add_loop_rotate_pass, :LLVMAddLoopRotatePass, [OpaquePassManager], :void
|
7924
7474
|
|
7925
|
-
#
|
7475
|
+
# (Not documented)
|
7926
7476
|
#
|
7927
7477
|
# @method add_loop_reroll_pass(pm)
|
7928
7478
|
# @param [OpaquePassManager] pm
|
@@ -7930,7 +7480,7 @@ module RCGTK::Bindings
|
|
7930
7480
|
# @scope class
|
7931
7481
|
attach_function :add_loop_reroll_pass, :LLVMAddLoopRerollPass, [OpaquePassManager], :void
|
7932
7482
|
|
7933
|
-
#
|
7483
|
+
# (Not documented)
|
7934
7484
|
#
|
7935
7485
|
# @method add_loop_unroll_pass(pm)
|
7936
7486
|
# @param [OpaquePassManager] pm
|
@@ -7938,7 +7488,7 @@ module RCGTK::Bindings
|
|
7938
7488
|
# @scope class
|
7939
7489
|
attach_function :add_loop_unroll_pass, :LLVMAddLoopUnrollPass, [OpaquePassManager], :void
|
7940
7490
|
|
7941
|
-
#
|
7491
|
+
# (Not documented)
|
7942
7492
|
#
|
7943
7493
|
# @method add_loop_unswitch_pass(pm)
|
7944
7494
|
# @param [OpaquePassManager] pm
|
@@ -7946,7 +7496,7 @@ module RCGTK::Bindings
|
|
7946
7496
|
# @scope class
|
7947
7497
|
attach_function :add_loop_unswitch_pass, :LLVMAddLoopUnswitchPass, [OpaquePassManager], :void
|
7948
7498
|
|
7949
|
-
#
|
7499
|
+
# (Not documented)
|
7950
7500
|
#
|
7951
7501
|
# @method add_mem_cpy_opt_pass(pm)
|
7952
7502
|
# @param [OpaquePassManager] pm
|
@@ -7954,7 +7504,7 @@ module RCGTK::Bindings
|
|
7954
7504
|
# @scope class
|
7955
7505
|
attach_function :add_mem_cpy_opt_pass, :LLVMAddMemCpyOptPass, [OpaquePassManager], :void
|
7956
7506
|
|
7957
|
-
#
|
7507
|
+
# (Not documented)
|
7958
7508
|
#
|
7959
7509
|
# @method add_partially_inline_lib_calls_pass(pm)
|
7960
7510
|
# @param [OpaquePassManager] pm
|
@@ -7962,7 +7512,7 @@ module RCGTK::Bindings
|
|
7962
7512
|
# @scope class
|
7963
7513
|
attach_function :add_partially_inline_lib_calls_pass, :LLVMAddPartiallyInlineLibCallsPass, [OpaquePassManager], :void
|
7964
7514
|
|
7965
|
-
#
|
7515
|
+
# (Not documented)
|
7966
7516
|
#
|
7967
7517
|
# @method add_promote_memory_to_register_pass(pm)
|
7968
7518
|
# @param [OpaquePassManager] pm
|
@@ -7970,7 +7520,7 @@ module RCGTK::Bindings
|
|
7970
7520
|
# @scope class
|
7971
7521
|
attach_function :add_promote_memory_to_register_pass, :LLVMAddPromoteMemoryToRegisterPass, [OpaquePassManager], :void
|
7972
7522
|
|
7973
|
-
#
|
7523
|
+
# (Not documented)
|
7974
7524
|
#
|
7975
7525
|
# @method add_reassociate_pass(pm)
|
7976
7526
|
# @param [OpaquePassManager] pm
|
@@ -7978,7 +7528,7 @@ module RCGTK::Bindings
|
|
7978
7528
|
# @scope class
|
7979
7529
|
attach_function :add_reassociate_pass, :LLVMAddReassociatePass, [OpaquePassManager], :void
|
7980
7530
|
|
7981
|
-
#
|
7531
|
+
# (Not documented)
|
7982
7532
|
#
|
7983
7533
|
# @method add_sccp_pass(pm)
|
7984
7534
|
# @param [OpaquePassManager] pm
|
@@ -7986,7 +7536,7 @@ module RCGTK::Bindings
|
|
7986
7536
|
# @scope class
|
7987
7537
|
attach_function :add_sccp_pass, :LLVMAddSCCPPass, [OpaquePassManager], :void
|
7988
7538
|
|
7989
|
-
#
|
7539
|
+
# (Not documented)
|
7990
7540
|
#
|
7991
7541
|
# @method add_scalar_repl_aggregates_pass(pm)
|
7992
7542
|
# @param [OpaquePassManager] pm
|
@@ -7994,7 +7544,7 @@ module RCGTK::Bindings
|
|
7994
7544
|
# @scope class
|
7995
7545
|
attach_function :add_scalar_repl_aggregates_pass, :LLVMAddScalarReplAggregatesPass, [OpaquePassManager], :void
|
7996
7546
|
|
7997
|
-
#
|
7547
|
+
# (Not documented)
|
7998
7548
|
#
|
7999
7549
|
# @method add_scalar_repl_aggregates_pass_ssa(pm)
|
8000
7550
|
# @param [OpaquePassManager] pm
|
@@ -8002,7 +7552,7 @@ module RCGTK::Bindings
|
|
8002
7552
|
# @scope class
|
8003
7553
|
attach_function :add_scalar_repl_aggregates_pass_ssa, :LLVMAddScalarReplAggregatesPassSSA, [OpaquePassManager], :void
|
8004
7554
|
|
8005
|
-
#
|
7555
|
+
# (Not documented)
|
8006
7556
|
#
|
8007
7557
|
# @method add_scalar_repl_aggregates_pass_with_threshold(pm, threshold)
|
8008
7558
|
# @param [OpaquePassManager] pm
|
@@ -8011,7 +7561,7 @@ module RCGTK::Bindings
|
|
8011
7561
|
# @scope class
|
8012
7562
|
attach_function :add_scalar_repl_aggregates_pass_with_threshold, :LLVMAddScalarReplAggregatesPassWithThreshold, [OpaquePassManager, :int], :void
|
8013
7563
|
|
8014
|
-
#
|
7564
|
+
# (Not documented)
|
8015
7565
|
#
|
8016
7566
|
# @method add_simplify_lib_calls_pass(pm)
|
8017
7567
|
# @param [OpaquePassManager] pm
|
@@ -8019,7 +7569,7 @@ module RCGTK::Bindings
|
|
8019
7569
|
# @scope class
|
8020
7570
|
attach_function :add_simplify_lib_calls_pass, :LLVMAddSimplifyLibCallsPass, [OpaquePassManager], :void
|
8021
7571
|
|
8022
|
-
#
|
7572
|
+
# (Not documented)
|
8023
7573
|
#
|
8024
7574
|
# @method add_tail_call_elimination_pass(pm)
|
8025
7575
|
# @param [OpaquePassManager] pm
|
@@ -8027,7 +7577,7 @@ module RCGTK::Bindings
|
|
8027
7577
|
# @scope class
|
8028
7578
|
attach_function :add_tail_call_elimination_pass, :LLVMAddTailCallEliminationPass, [OpaquePassManager], :void
|
8029
7579
|
|
8030
|
-
#
|
7580
|
+
# (Not documented)
|
8031
7581
|
#
|
8032
7582
|
# @method add_constant_propagation_pass(pm)
|
8033
7583
|
# @param [OpaquePassManager] pm
|
@@ -8035,7 +7585,7 @@ module RCGTK::Bindings
|
|
8035
7585
|
# @scope class
|
8036
7586
|
attach_function :add_constant_propagation_pass, :LLVMAddConstantPropagationPass, [OpaquePassManager], :void
|
8037
7587
|
|
8038
|
-
#
|
7588
|
+
# (Not documented)
|
8039
7589
|
#
|
8040
7590
|
# @method add_demote_memory_to_register_pass(pm)
|
8041
7591
|
# @param [OpaquePassManager] pm
|
@@ -8043,7 +7593,7 @@ module RCGTK::Bindings
|
|
8043
7593
|
# @scope class
|
8044
7594
|
attach_function :add_demote_memory_to_register_pass, :LLVMAddDemoteMemoryToRegisterPass, [OpaquePassManager], :void
|
8045
7595
|
|
8046
|
-
#
|
7596
|
+
# (Not documented)
|
8047
7597
|
#
|
8048
7598
|
# @method add_verifier_pass(pm)
|
8049
7599
|
# @param [OpaquePassManager] pm
|
@@ -8051,7 +7601,7 @@ module RCGTK::Bindings
|
|
8051
7601
|
# @scope class
|
8052
7602
|
attach_function :add_verifier_pass, :LLVMAddVerifierPass, [OpaquePassManager], :void
|
8053
7603
|
|
8054
|
-
#
|
7604
|
+
# (Not documented)
|
8055
7605
|
#
|
8056
7606
|
# @method add_correlated_value_propagation_pass(pm)
|
8057
7607
|
# @param [OpaquePassManager] pm
|
@@ -8059,7 +7609,7 @@ module RCGTK::Bindings
|
|
8059
7609
|
# @scope class
|
8060
7610
|
attach_function :add_correlated_value_propagation_pass, :LLVMAddCorrelatedValuePropagationPass, [OpaquePassManager], :void
|
8061
7611
|
|
8062
|
-
#
|
7612
|
+
# (Not documented)
|
8063
7613
|
#
|
8064
7614
|
# @method add_early_cse_pass(pm)
|
8065
7615
|
# @param [OpaquePassManager] pm
|
@@ -8067,7 +7617,7 @@ module RCGTK::Bindings
|
|
8067
7617
|
# @scope class
|
8068
7618
|
attach_function :add_early_cse_pass, :LLVMAddEarlyCSEPass, [OpaquePassManager], :void
|
8069
7619
|
|
8070
|
-
#
|
7620
|
+
# (Not documented)
|
8071
7621
|
#
|
8072
7622
|
# @method add_lower_expect_intrinsic_pass(pm)
|
8073
7623
|
# @param [OpaquePassManager] pm
|
@@ -8075,7 +7625,7 @@ module RCGTK::Bindings
|
|
8075
7625
|
# @scope class
|
8076
7626
|
attach_function :add_lower_expect_intrinsic_pass, :LLVMAddLowerExpectIntrinsicPass, [OpaquePassManager], :void
|
8077
7627
|
|
8078
|
-
#
|
7628
|
+
# (Not documented)
|
8079
7629
|
#
|
8080
7630
|
# @method add_type_based_alias_analysis_pass(pm)
|
8081
7631
|
# @param [OpaquePassManager] pm
|
@@ -8083,7 +7633,7 @@ module RCGTK::Bindings
|
|
8083
7633
|
# @scope class
|
8084
7634
|
attach_function :add_type_based_alias_analysis_pass, :LLVMAddTypeBasedAliasAnalysisPass, [OpaquePassManager], :void
|
8085
7635
|
|
8086
|
-
#
|
7636
|
+
# (Not documented)
|
8087
7637
|
#
|
8088
7638
|
# @method add_basic_alias_analysis_pass(pm)
|
8089
7639
|
# @param [OpaquePassManager] pm
|