Project Alice
Loading...
Searching...
No Matches
Types.h
Go to the documentation of this file.
1/*===-- llvm-c/Support.h - C Interface Types declarations ---------*- C -*-===*\
2|* *|
3|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
4|* Exceptions. *|
5|* See https://llvm.org/LICENSE.txt for license information. *|
6|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
7|* *|
8|*===----------------------------------------------------------------------===*|
9|* *|
10|* This file defines types used by the C interface to LLVM. *|
11|* *|
12\*===----------------------------------------------------------------------===*/
13
14#ifndef LLVM_C_TYPES_H
15#define LLVM_C_TYPES_H
16
17#include "llvm-c/DataTypes.h"
18#include "llvm-c/ExternC.h"
19
21
28typedef int LLVMBool;
29
30/* Opaque types. */
31
48typedef struct LLVMOpaqueMemoryBuffer *LLVMMemoryBufferRef;
49
53typedef struct LLVMOpaqueContext *LLVMContextRef;
54
61typedef struct LLVMOpaqueModule *LLVMModuleRef;
62
68typedef struct LLVMOpaqueType *LLVMTypeRef;
69
75typedef struct LLVMOpaqueValue *LLVMValueRef;
76
82typedef struct LLVMOpaqueBasicBlock *LLVMBasicBlockRef;
83
89typedef struct LLVMOpaqueMetadata *LLVMMetadataRef;
90
96typedef struct LLVMOpaqueNamedMDNode *LLVMNamedMDNodeRef;
97
103typedef struct LLVMOpaqueValueMetadataEntry LLVMValueMetadataEntry;
104
110typedef struct LLVMOpaqueBuilder *LLVMBuilderRef;
111
117typedef struct LLVMOpaqueDIBuilder *LLVMDIBuilderRef;
118
124typedef struct LLVMOpaqueModuleProvider *LLVMModuleProviderRef;
125
127typedef struct LLVMOpaquePassManager *LLVMPassManagerRef;
128
133typedef struct LLVMOpaqueUse *LLVMUseRef;
134
138typedef struct LLVMOpaqueOperandBundle *LLVMOperandBundleRef;
139
145typedef struct LLVMOpaqueAttributeRef *LLVMAttributeRef;
146
150typedef struct LLVMOpaqueDiagnosticInfo *LLVMDiagnosticInfoRef;
151
155typedef struct LLVMComdat *LLVMComdatRef;
156
160typedef struct LLVMOpaqueModuleFlagEntry LLVMModuleFlagEntry;
161
165typedef struct LLVMOpaqueJITEventListener *LLVMJITEventListenerRef;
166
170typedef struct LLVMOpaqueBinary *LLVMBinaryRef;
171
177
178#endif
#define LLVM_C_EXTERN_C_BEGIN
Definition: ExternC.h:35
#define LLVM_C_EXTERN_C_END
Definition: ExternC.h:36
struct LLVMOpaqueValue * LLVMValueRef
Definition: Types.h:75
struct LLVMOpaqueAttributeRef * LLVMAttributeRef
Definition: Types.h:145
int LLVMBool
Definition: Types.h:28
struct LLVMOpaqueModuleFlagEntry LLVMModuleFlagEntry
Definition: Types.h:160
struct LLVMOpaqueNamedMDNode * LLVMNamedMDNodeRef
Definition: Types.h:96
struct LLVMOpaquePassManager * LLVMPassManagerRef
Definition: Types.h:127
struct LLVMOpaqueBinary * LLVMBinaryRef
Definition: Types.h:170
struct LLVMOpaqueDiagnosticInfo * LLVMDiagnosticInfoRef
Definition: Types.h:150
struct LLVMOpaqueValueMetadataEntry LLVMValueMetadataEntry
Definition: Types.h:103
struct LLVMOpaqueMemoryBuffer * LLVMMemoryBufferRef
Definition: Types.h:48
struct LLVMOpaqueContext * LLVMContextRef
Definition: Types.h:53
struct LLVMComdat * LLVMComdatRef
Definition: Types.h:155
struct LLVMOpaqueBuilder * LLVMBuilderRef
Definition: Types.h:110
struct LLVMOpaqueUse * LLVMUseRef
Definition: Types.h:133
struct LLVMOpaqueBasicBlock * LLVMBasicBlockRef
Definition: Types.h:82
struct LLVMOpaqueType * LLVMTypeRef
Definition: Types.h:68
struct LLVMOpaqueMetadata * LLVMMetadataRef
Definition: Types.h:89
struct LLVMOpaqueModule * LLVMModuleRef
Definition: Types.h:61
struct LLVMOpaqueJITEventListener * LLVMJITEventListenerRef
Definition: Types.h:165
struct LLVMOpaqueModuleProvider * LLVMModuleProviderRef
Definition: Types.h:124
struct LLVMOpaqueDIBuilder * LLVMDIBuilderRef
Definition: Types.h:117
struct LLVMOpaqueOperandBundle * LLVMOperandBundleRef
Definition: Types.h:138