1 -- This file is generated by SWIG. Do *not* modify by hand.
5 with Interfaces
.C
.Strings
;
8 package LLVM_Target
.Binding
is
10 LLVMBigEndian
: constant := 0;
11 LLVMLittleEndian
: constant := 1;
13 procedure LLVMInitializeAllTargets
;
15 function LLVMInitializeNativeTarget
return Interfaces
.C
.int
;
17 function LLVMCreateTargetData
18 (StringRep
: in Interfaces
.C
.Strings
.chars_ptr
)
19 return LLVM_Target
.LLVMTargetDataRef
;
21 procedure LLVMAddTargetData
22 (arg_2_1
: in LLVM_Target
.LLVMTargetDataRef
;
23 arg_2_2
: in llvm
.LLVMPassManagerRef
);
25 function LLVMCopyStringRepOfTargetData
26 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
)
27 return Interfaces
.C
.Strings
.chars_ptr
;
29 function LLVMByteOrder
30 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
)
31 return LLVM_Target
.LLVMByteOrdering
;
33 function LLVMPointerSize
34 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
)
35 return Interfaces
.C
.unsigned
;
37 function LLVMIntPtrType
38 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
)
39 return llvm
.LLVMTypeRef
;
41 function LLVMSizeOfTypeInBits
42 (arg_2_1
: in LLVM_Target
.LLVMTargetDataRef
;
43 arg_2_2
: in llvm
.LLVMTypeRef
)
44 return Interfaces
.C
.Extensions
.unsigned_long_long
;
46 function LLVMStoreSizeOfType
47 (arg_2_1
: in LLVM_Target
.LLVMTargetDataRef
;
48 arg_2_2
: in llvm
.LLVMTypeRef
)
49 return Interfaces
.C
.Extensions
.unsigned_long_long
;
51 function LLVMABISizeOfType
52 (arg_2_1
: in LLVM_Target
.LLVMTargetDataRef
;
53 arg_2_2
: in llvm
.LLVMTypeRef
)
54 return Interfaces
.C
.Extensions
.unsigned_long_long
;
56 function LLVMABIAlignmentOfType
57 (arg_2_1
: in LLVM_Target
.LLVMTargetDataRef
;
58 arg_2_2
: in llvm
.LLVMTypeRef
)
59 return Interfaces
.C
.unsigned
;
61 function LLVMCallFrameAlignmentOfType
62 (arg_2_1
: in LLVM_Target
.LLVMTargetDataRef
;
63 arg_2_2
: in llvm
.LLVMTypeRef
)
64 return Interfaces
.C
.unsigned
;
66 function LLVMPreferredAlignmentOfType
67 (arg_2_1
: in LLVM_Target
.LLVMTargetDataRef
;
68 arg_2_2
: in llvm
.LLVMTypeRef
)
69 return Interfaces
.C
.unsigned
;
71 function LLVMPreferredAlignmentOfGlobal
72 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
;
73 GlobalVar
: in llvm
.LLVMValueRef
)
74 return Interfaces
.C
.unsigned
;
76 function LLVMElementAtOffset
77 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
;
78 StructTy
: in llvm
.LLVMTypeRef
;
79 Offset
: in Interfaces
.C
.Extensions
.unsigned_long_long
)
80 return Interfaces
.C
.unsigned
;
82 function LLVMOffsetOfElement
83 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
;
84 StructTy
: in llvm
.LLVMTypeRef
;
85 Element
: in Interfaces
.C
.unsigned
)
86 return Interfaces
.C
.Extensions
.unsigned_long_long
;
88 procedure LLVMInvalidateStructLayout
89 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
;
90 StructTy
: in llvm
.LLVMTypeRef
);
92 procedure LLVMDisposeTargetData
93 (arg_1
: in LLVM_Target
.LLVMTargetDataRef
);
99 LLVMInitializeAllTargets
,
100 "Ada_LLVMInitializeAllTargets");
103 LLVMInitializeNativeTarget
,
104 "Ada_LLVMInitializeNativeTarget");
105 pragma Import
(C
, LLVMCreateTargetData
, "Ada_LLVMCreateTargetData");
106 pragma Import
(C
, LLVMAddTargetData
, "Ada_LLVMAddTargetData");
109 LLVMCopyStringRepOfTargetData
,
110 "Ada_LLVMCopyStringRepOfTargetData");
111 pragma Import
(C
, LLVMByteOrder
, "Ada_LLVMByteOrder");
112 pragma Import
(C
, LLVMPointerSize
, "Ada_LLVMPointerSize");
113 pragma Import
(C
, LLVMIntPtrType
, "Ada_LLVMIntPtrType");
114 pragma Import
(C
, LLVMSizeOfTypeInBits
, "Ada_LLVMSizeOfTypeInBits");
115 pragma Import
(C
, LLVMStoreSizeOfType
, "Ada_LLVMStoreSizeOfType");
116 pragma Import
(C
, LLVMABISizeOfType
, "Ada_LLVMABISizeOfType");
117 pragma Import
(C
, LLVMABIAlignmentOfType
, "Ada_LLVMABIAlignmentOfType");
120 LLVMCallFrameAlignmentOfType
,
121 "Ada_LLVMCallFrameAlignmentOfType");
124 LLVMPreferredAlignmentOfType
,
125 "Ada_LLVMPreferredAlignmentOfType");
128 LLVMPreferredAlignmentOfGlobal
,
129 "Ada_LLVMPreferredAlignmentOfGlobal");
130 pragma Import
(C
, LLVMElementAtOffset
, "Ada_LLVMElementAtOffset");
131 pragma Import
(C
, LLVMOffsetOfElement
, "Ada_LLVMOffsetOfElement");
134 LLVMInvalidateStructLayout
,
135 "Ada_LLVMInvalidateStructLayout");
136 pragma Import
(C
, LLVMDisposeTargetData
, "Ada_LLVMDisposeTargetData");
138 end LLVM_Target
.Binding
;