LLVM Ada language bindings. Credit to Rod Kay and the AuroraUX team.
[oota-llvm.git] / bindings / ada / transforms / llvm_transforms_wrap.cxx
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 1.3.36
4  * 
5  * This file is not intended to be easily readable and contains a number of 
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG 
8  * interface file instead. 
9  * ----------------------------------------------------------------------------- */
10
11
12 #ifdef __cplusplus
13 template<typename T> class SwigValueWrapper {
14     T *tt;
15 public:
16     SwigValueWrapper() : tt(0) { }
17     SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
18     SwigValueWrapper(const T& t) : tt(new T(t)) { }
19     ~SwigValueWrapper() { delete tt; } 
20     SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
21     operator T&() const { return *tt; }
22     T *operator&() { return tt; }
23 private:
24     SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
25 };
26
27 template <typename T> T SwigValueInit() {
28   return T();
29 }
30 #endif
31
32 /* -----------------------------------------------------------------------------
33  *  This section contains generic SWIG labels for method/variable
34  *  declarations/attributes, and other compiler dependent labels.
35  * ----------------------------------------------------------------------------- */
36
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 #  define SWIGTEMPLATEDISAMBIGUATOR template
41 # elif defined(__HP_aCC)
42 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
43 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
44 #  define SWIGTEMPLATEDISAMBIGUATOR template
45 # else
46 #  define SWIGTEMPLATEDISAMBIGUATOR
47 # endif
48 #endif
49
50 /* inline attribute */
51 #ifndef SWIGINLINE
52 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
53 #   define SWIGINLINE inline
54 # else
55 #   define SWIGINLINE
56 # endif
57 #endif
58
59 /* attribute recognised by some compilers to avoid 'unused' warnings */
60 #ifndef SWIGUNUSED
61 # if defined(__GNUC__)
62 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
63 #     define SWIGUNUSED __attribute__ ((__unused__)) 
64 #   else
65 #     define SWIGUNUSED
66 #   endif
67 # elif defined(__ICC)
68 #   define SWIGUNUSED __attribute__ ((__unused__)) 
69 # else
70 #   define SWIGUNUSED 
71 # endif
72 #endif
73
74 #ifndef SWIGUNUSEDPARM
75 # ifdef __cplusplus
76 #   define SWIGUNUSEDPARM(p)
77 # else
78 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED 
79 # endif
80 #endif
81
82 /* internal SWIG method */
83 #ifndef SWIGINTERN
84 # define SWIGINTERN static SWIGUNUSED
85 #endif
86
87 /* internal inline SWIG method */
88 #ifndef SWIGINTERNINLINE
89 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 #endif
91
92 /* exporting methods */
93 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
94 #  ifndef GCC_HASCLASSVISIBILITY
95 #    define GCC_HASCLASSVISIBILITY
96 #  endif
97 #endif
98
99 #ifndef SWIGEXPORT
100 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
101 #   if defined(STATIC_LINKED)
102 #     define SWIGEXPORT
103 #   else
104 #     define SWIGEXPORT __declspec(dllexport)
105 #   endif
106 # else
107 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
108 #     define SWIGEXPORT __attribute__ ((visibility("default")))
109 #   else
110 #     define SWIGEXPORT
111 #   endif
112 # endif
113 #endif
114
115 /* calling conventions for Windows */
116 #ifndef SWIGSTDCALL
117 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
118 #   define SWIGSTDCALL __stdcall
119 # else
120 #   define SWIGSTDCALL
121 # endif 
122 #endif
123
124 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
125 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
126 # define _CRT_SECURE_NO_DEPRECATE
127 #endif
128
129 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
130 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
131 # define _SCL_SECURE_NO_DEPRECATE
132 #endif
133
134
135
136 #include <stdlib.h>
137 #include <string.h>
138 #include <stdio.h>
139 #if defined(_WIN32) || defined(__CYGWIN32__)
140 #  define DllExport   __declspec( dllexport )
141 #  define SWIGSTDCALL __stdcall
142 #else
143 #  define DllExport  
144 #  define SWIGSTDCALL
145 #endif 
146
147
148 #ifdef __cplusplus
149 #  include <new>
150 #endif
151
152
153
154
155 /* Support for throwing Ada exceptions from C/C++ */
156
157 typedef enum 
158 {
159   SWIG_AdaException,
160   SWIG_AdaOutOfMemoryException,
161   SWIG_AdaIndexOutOfRangeException,
162   SWIG_AdaDivideByZeroException,
163   SWIG_AdaArgumentOutOfRangeException,
164   SWIG_AdaNullReferenceException
165 } SWIG_AdaExceptionCodes;
166
167
168 typedef void (SWIGSTDCALL* SWIG_AdaExceptionCallback_t)(const char *);
169
170
171 typedef struct 
172 {
173   SWIG_AdaExceptionCodes code;
174   SWIG_AdaExceptionCallback_t callback;
175
176   SWIG_AdaExceptions_t;
177
178
179 static 
180 SWIG_AdaExceptions_t 
181 SWIG_ada_exceptions[] = 
182 {
183   { SWIG_AdaException, NULL },
184   { SWIG_AdaOutOfMemoryException, NULL },
185   { SWIG_AdaIndexOutOfRangeException, NULL },
186   { SWIG_AdaDivideByZeroException, NULL },
187   { SWIG_AdaArgumentOutOfRangeException, NULL },
188   { SWIG_AdaNullReferenceException, NULL } 
189 };
190
191
192 static 
193 void 
194 SWIG_AdaThrowException (SWIG_AdaExceptionCodes code, const char *msg) 
195 {
196   SWIG_AdaExceptionCallback_t callback = SWIG_ada_exceptions[SWIG_AdaException].callback;
197   if (code >=0 && (size_t)code < sizeof(SWIG_ada_exceptions)/sizeof(SWIG_AdaExceptions_t)) {
198     callback = SWIG_ada_exceptions[code].callback;
199   }
200   callback(msg);
201 }
202
203
204
205 #ifdef __cplusplus
206 extern "C" 
207 #endif
208
209 DllExport void SWIGSTDCALL SWIGRegisterExceptionCallbacks_LLVM_Transforms (SWIG_AdaExceptionCallback_t systemException,
210                                                                    SWIG_AdaExceptionCallback_t outOfMemory, 
211                                                                    SWIG_AdaExceptionCallback_t indexOutOfRange, 
212                                                                    SWIG_AdaExceptionCallback_t divideByZero, 
213                                                                    SWIG_AdaExceptionCallback_t argumentOutOfRange,
214                                                                    SWIG_AdaExceptionCallback_t nullReference) 
215 {
216   SWIG_ada_exceptions [SWIG_AdaException].callback                   = systemException;
217   SWIG_ada_exceptions [SWIG_AdaOutOfMemoryException].callback        = outOfMemory;
218   SWIG_ada_exceptions [SWIG_AdaIndexOutOfRangeException].callback    = indexOutOfRange;
219   SWIG_ada_exceptions [SWIG_AdaDivideByZeroException].callback       = divideByZero;
220   SWIG_ada_exceptions [SWIG_AdaArgumentOutOfRangeException].callback = argumentOutOfRange;
221   SWIG_ada_exceptions [SWIG_AdaNullReferenceException].callback      = nullReference;
222 }
223
224
225 /* Callback for returning strings to Ada without leaking memory */
226
227 typedef char * (SWIGSTDCALL* SWIG_AdaStringHelperCallback)(const char *);
228 static SWIG_AdaStringHelperCallback SWIG_ada_string_callback = NULL;
229
230
231
232 /* probably obsolete ...
233 #ifdef __cplusplus
234 extern "C" 
235 #endif
236 DllExport void SWIGSTDCALL SWIGRegisterStringCallback_LLVM_Transforms(SWIG_AdaStringHelperCallback callback) {
237   SWIG_ada_string_callback = callback;
238 }
239 */
240
241
242
243 /* Contract support */
244
245 #define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_AdaThrowException(SWIG_AdaArgumentOutOfRangeException, msg); return nullreturn; } else
246
247
248 #define protected public
249 #define private   public
250
251 #include "llvm-c/Transforms/IPO.h"
252 #include "llvm-c/Transforms/Scalar.h"
253
254
255
256 //  struct LLVMCtxt;
257
258
259 #undef protected
260 #undef private
261 #ifdef __cplusplus 
262 extern "C" {
263 #endif
264 DllExport void SWIGSTDCALL Ada_LLVMAddArgumentPromotionPass (
265   void * jarg1
266   )
267 {
268   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
269   
270   arg1 = (LLVMPassManagerRef)jarg1; 
271   
272   LLVMAddArgumentPromotionPass(arg1);
273   
274   
275 }
276
277
278
279 DllExport void SWIGSTDCALL Ada_LLVMAddConstantMergePass (
280   void * jarg1
281   )
282 {
283   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
284   
285   arg1 = (LLVMPassManagerRef)jarg1; 
286   
287   LLVMAddConstantMergePass(arg1);
288   
289   
290 }
291
292
293
294 DllExport void SWIGSTDCALL Ada_LLVMAddDeadArgEliminationPass (
295   void * jarg1
296   )
297 {
298   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
299   
300   arg1 = (LLVMPassManagerRef)jarg1; 
301   
302   LLVMAddDeadArgEliminationPass(arg1);
303   
304   
305 }
306
307
308
309 DllExport void SWIGSTDCALL Ada_LLVMAddDeadTypeEliminationPass (
310   void * jarg1
311   )
312 {
313   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
314   
315   arg1 = (LLVMPassManagerRef)jarg1; 
316   
317   LLVMAddDeadTypeEliminationPass(arg1);
318   
319   
320 }
321
322
323
324 DllExport void SWIGSTDCALL Ada_LLVMAddFunctionAttrsPass (
325   void * jarg1
326   )
327 {
328   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
329   
330   arg1 = (LLVMPassManagerRef)jarg1; 
331   
332   LLVMAddFunctionAttrsPass(arg1);
333   
334   
335 }
336
337
338
339 DllExport void SWIGSTDCALL Ada_LLVMAddFunctionInliningPass (
340   void * jarg1
341   )
342 {
343   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
344   
345   arg1 = (LLVMPassManagerRef)jarg1; 
346   
347   LLVMAddFunctionInliningPass(arg1);
348   
349   
350 }
351
352
353
354 DllExport void SWIGSTDCALL Ada_LLVMAddGlobalDCEPass (
355   void * jarg1
356   )
357 {
358   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
359   
360   arg1 = (LLVMPassManagerRef)jarg1; 
361   
362   LLVMAddGlobalDCEPass(arg1);
363   
364   
365 }
366
367
368
369 DllExport void SWIGSTDCALL Ada_LLVMAddGlobalOptimizerPass (
370   void * jarg1
371   )
372 {
373   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
374   
375   arg1 = (LLVMPassManagerRef)jarg1; 
376   
377   LLVMAddGlobalOptimizerPass(arg1);
378   
379   
380 }
381
382
383
384 DllExport void SWIGSTDCALL Ada_LLVMAddIPConstantPropagationPass (
385   void * jarg1
386   )
387 {
388   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
389   
390   arg1 = (LLVMPassManagerRef)jarg1; 
391   
392   LLVMAddIPConstantPropagationPass(arg1);
393   
394   
395 }
396
397
398
399 DllExport void SWIGSTDCALL Ada_LLVMAddLowerSetJmpPass (
400   void * jarg1
401   )
402 {
403   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
404   
405   arg1 = (LLVMPassManagerRef)jarg1; 
406   
407   LLVMAddLowerSetJmpPass(arg1);
408   
409   
410 }
411
412
413
414 DllExport void SWIGSTDCALL Ada_LLVMAddPruneEHPass (
415   void * jarg1
416   )
417 {
418   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
419   
420   arg1 = (LLVMPassManagerRef)jarg1; 
421   
422   LLVMAddPruneEHPass(arg1);
423   
424   
425 }
426
427
428
429 DllExport void SWIGSTDCALL Ada_LLVMAddRaiseAllocationsPass (
430   void * jarg1
431   )
432 {
433   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
434   
435   arg1 = (LLVMPassManagerRef)jarg1; 
436   
437   LLVMAddRaiseAllocationsPass(arg1);
438   
439   
440 }
441
442
443
444 DllExport void SWIGSTDCALL Ada_LLVMAddStripDeadPrototypesPass (
445   void * jarg1
446   )
447 {
448   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
449   
450   arg1 = (LLVMPassManagerRef)jarg1; 
451   
452   LLVMAddStripDeadPrototypesPass(arg1);
453   
454   
455 }
456
457
458
459 DllExport void SWIGSTDCALL Ada_LLVMAddStripSymbolsPass (
460   void * jarg1
461   )
462 {
463   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
464   
465   arg1 = (LLVMPassManagerRef)jarg1; 
466   
467   LLVMAddStripSymbolsPass(arg1);
468   
469   
470 }
471
472
473
474 DllExport void SWIGSTDCALL Ada_LLVMAddAggressiveDCEPass (
475   void * jarg1
476   )
477 {
478   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
479   
480   arg1 = (LLVMPassManagerRef)jarg1; 
481   
482   LLVMAddAggressiveDCEPass(arg1);
483   
484   
485 }
486
487
488
489 DllExport void SWIGSTDCALL Ada_LLVMAddCFGSimplificationPass (
490   void * jarg1
491   )
492 {
493   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
494   
495   arg1 = (LLVMPassManagerRef)jarg1; 
496   
497   LLVMAddCFGSimplificationPass(arg1);
498   
499   
500 }
501
502
503
504 DllExport void SWIGSTDCALL Ada_LLVMAddCondPropagationPass (
505   void * jarg1
506   )
507 {
508   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
509   
510   arg1 = (LLVMPassManagerRef)jarg1; 
511   
512   LLVMAddCondPropagationPass(arg1);
513   
514   
515 }
516
517
518
519 DllExport void SWIGSTDCALL Ada_LLVMAddDeadStoreEliminationPass (
520   void * jarg1
521   )
522 {
523   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
524   
525   arg1 = (LLVMPassManagerRef)jarg1; 
526   
527   LLVMAddDeadStoreEliminationPass(arg1);
528   
529   
530 }
531
532
533
534 DllExport void SWIGSTDCALL Ada_LLVMAddGVNPass (
535   void * jarg1
536   )
537 {
538   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
539   
540   arg1 = (LLVMPassManagerRef)jarg1; 
541   
542   LLVMAddGVNPass(arg1);
543   
544   
545 }
546
547
548
549 DllExport void SWIGSTDCALL Ada_LLVMAddIndVarSimplifyPass (
550   void * jarg1
551   )
552 {
553   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
554   
555   arg1 = (LLVMPassManagerRef)jarg1; 
556   
557   LLVMAddIndVarSimplifyPass(arg1);
558   
559   
560 }
561
562
563
564 DllExport void SWIGSTDCALL Ada_LLVMAddInstructionCombiningPass (
565   void * jarg1
566   )
567 {
568   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
569   
570   arg1 = (LLVMPassManagerRef)jarg1; 
571   
572   LLVMAddInstructionCombiningPass(arg1);
573   
574   
575 }
576
577
578
579 DllExport void SWIGSTDCALL Ada_LLVMAddJumpThreadingPass (
580   void * jarg1
581   )
582 {
583   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
584   
585   arg1 = (LLVMPassManagerRef)jarg1; 
586   
587   LLVMAddJumpThreadingPass(arg1);
588   
589   
590 }
591
592
593
594 DllExport void SWIGSTDCALL Ada_LLVMAddLICMPass (
595   void * jarg1
596   )
597 {
598   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
599   
600   arg1 = (LLVMPassManagerRef)jarg1; 
601   
602   LLVMAddLICMPass(arg1);
603   
604   
605 }
606
607
608
609 DllExport void SWIGSTDCALL Ada_LLVMAddLoopDeletionPass (
610   void * jarg1
611   )
612 {
613   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
614   
615   arg1 = (LLVMPassManagerRef)jarg1; 
616   
617   LLVMAddLoopDeletionPass(arg1);
618   
619   
620 }
621
622
623
624 DllExport void SWIGSTDCALL Ada_LLVMAddLoopIndexSplitPass (
625   void * jarg1
626   )
627 {
628   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
629   
630   arg1 = (LLVMPassManagerRef)jarg1; 
631   
632   LLVMAddLoopIndexSplitPass(arg1);
633   
634   
635 }
636
637
638
639 DllExport void SWIGSTDCALL Ada_LLVMAddLoopRotatePass (
640   void * jarg1
641   )
642 {
643   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
644   
645   arg1 = (LLVMPassManagerRef)jarg1; 
646   
647   LLVMAddLoopRotatePass(arg1);
648   
649   
650 }
651
652
653
654 DllExport void SWIGSTDCALL Ada_LLVMAddLoopUnrollPass (
655   void * jarg1
656   )
657 {
658   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
659   
660   arg1 = (LLVMPassManagerRef)jarg1; 
661   
662   LLVMAddLoopUnrollPass(arg1);
663   
664   
665 }
666
667
668
669 DllExport void SWIGSTDCALL Ada_LLVMAddLoopUnswitchPass (
670   void * jarg1
671   )
672 {
673   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
674   
675   arg1 = (LLVMPassManagerRef)jarg1; 
676   
677   LLVMAddLoopUnswitchPass(arg1);
678   
679   
680 }
681
682
683
684 DllExport void SWIGSTDCALL Ada_LLVMAddMemCpyOptPass (
685   void * jarg1
686   )
687 {
688   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
689   
690   arg1 = (LLVMPassManagerRef)jarg1; 
691   
692   LLVMAddMemCpyOptPass(arg1);
693   
694   
695 }
696
697
698
699 DllExport void SWIGSTDCALL Ada_LLVMAddPromoteMemoryToRegisterPass (
700   void * jarg1
701   )
702 {
703   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
704   
705   arg1 = (LLVMPassManagerRef)jarg1; 
706   
707   LLVMAddPromoteMemoryToRegisterPass(arg1);
708   
709   
710 }
711
712
713
714 DllExport void SWIGSTDCALL Ada_LLVMAddReassociatePass (
715   void * jarg1
716   )
717 {
718   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
719   
720   arg1 = (LLVMPassManagerRef)jarg1; 
721   
722   LLVMAddReassociatePass(arg1);
723   
724   
725 }
726
727
728
729 DllExport void SWIGSTDCALL Ada_LLVMAddSCCPPass (
730   void * jarg1
731   )
732 {
733   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
734   
735   arg1 = (LLVMPassManagerRef)jarg1; 
736   
737   LLVMAddSCCPPass(arg1);
738   
739   
740 }
741
742
743
744 DllExport void SWIGSTDCALL Ada_LLVMAddScalarReplAggregatesPass (
745   void * jarg1
746   )
747 {
748   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
749   
750   arg1 = (LLVMPassManagerRef)jarg1; 
751   
752   LLVMAddScalarReplAggregatesPass(arg1);
753   
754   
755 }
756
757
758
759 DllExport void SWIGSTDCALL Ada_LLVMAddSimplifyLibCallsPass (
760   void * jarg1
761   )
762 {
763   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
764   
765   arg1 = (LLVMPassManagerRef)jarg1; 
766   
767   LLVMAddSimplifyLibCallsPass(arg1);
768   
769   
770 }
771
772
773
774 DllExport void SWIGSTDCALL Ada_LLVMAddTailCallEliminationPass (
775   void * jarg1
776   )
777 {
778   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
779   
780   arg1 = (LLVMPassManagerRef)jarg1; 
781   
782   LLVMAddTailCallEliminationPass(arg1);
783   
784   
785 }
786
787
788
789 DllExport void SWIGSTDCALL Ada_LLVMAddConstantPropagationPass (
790   void * jarg1
791   )
792 {
793   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
794   
795   arg1 = (LLVMPassManagerRef)jarg1; 
796   
797   LLVMAddConstantPropagationPass(arg1);
798   
799   
800 }
801
802
803
804 DllExport void SWIGSTDCALL Ada_LLVMAddDemoteMemoryToRegisterPass (
805   void * jarg1
806   )
807 {
808   LLVMPassManagerRef arg1 = (LLVMPassManagerRef) 0 ;
809   
810   arg1 = (LLVMPassManagerRef)jarg1; 
811   
812   LLVMAddDemoteMemoryToRegisterPass(arg1);
813   
814   
815 }
816
817
818
819 #ifdef __cplusplus
820 }
821 #endif
822 #ifdef __cplusplus
823 extern "C" {
824 #endif
825 #ifdef __cplusplus
826 }
827 #endif
828