blob: 9ef0867653d8c020425f2e915b1a743a025cfbee [file] [log] [blame]
Logan Chiene75a8cc2012-02-24 12:26:43 +08001// Generated with ../tools/gen_art_module_cc.sh
2
3
4#pragma GCC diagnostic ignored "-Wframe-larger-than="
5// TODO: Remove this pragma after llc can generate makeLLVMModuleContents()
6// with smaller frame size.
7
8#include <llvm/DerivedTypes.h>
9#include <llvm/Function.h>
10#include <llvm/Module.h>
11#include <llvm/Type.h>
12
13#include <vector>
14
15using namespace llvm;
16
17namespace art {
18namespace compiler_llvm {
19
Logan Chien42e0e152012-01-13 15:42:36 +080020
21// Generated by llvm2cpp - DO NOT MODIFY!
22
23
24Module* makeLLVMModuleContents(Module *mod) {
25
26mod->setModuleIdentifier("art_module.ll");
27
28// Type Definitions
29std::vector<Type*>FuncTy_0_args;
30StructType *StructTy_JavaObject = mod->getTypeByName("JavaObject");
31if (!StructTy_JavaObject) {
32StructTy_JavaObject = StructType::create(mod->getContext(), "JavaObject");
33}
34std::vector<Type*>StructTy_JavaObject_fields;
35if (StructTy_JavaObject->isOpaque()) {
36StructTy_JavaObject->setBody(StructTy_JavaObject_fields, /*isPacked=*/false);
37}
38
39PointerType* PointerTy_1 = PointerType::get(StructTy_JavaObject, 0);
40
41FuncTy_0_args.push_back(PointerTy_1);
Logan Chien3f71e702012-02-17 18:45:27 +080042StructType *StructTy_ArtFrame = mod->getTypeByName("ArtFrame");
43if (!StructTy_ArtFrame) {
44StructTy_ArtFrame = StructType::create(mod->getContext(), "ArtFrame");
45}
46std::vector<Type*>StructTy_ArtFrame_fields;
47PointerType* PointerTy_2 = PointerType::get(StructTy_ArtFrame, 0);
48
49StructTy_ArtFrame_fields.push_back(PointerTy_2);
50StructTy_ArtFrame_fields.push_back(PointerTy_1);
51StructTy_ArtFrame_fields.push_back(IntegerType::get(mod->getContext(), 32));
52StructTy_ArtFrame_fields.push_back(IntegerType::get(mod->getContext(), 32));
53if (StructTy_ArtFrame->isOpaque()) {
54StructTy_ArtFrame->setBody(StructTy_ArtFrame_fields, /*isPacked=*/false);
55}
56
57
58FuncTy_0_args.push_back(PointerTy_2);
Logan Chien42e0e152012-01-13 15:42:36 +080059FunctionType* FuncTy_0 = FunctionType::get(
60 /*Result=*/Type::getVoidTy(mod->getContext()),
61 /*Params=*/FuncTy_0_args,
62 /*isVarArg=*/false);
63
Logan Chien42e0e152012-01-13 15:42:36 +080064std::vector<Type*>FuncTy_3_args;
65FunctionType* FuncTy_3 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +080066 /*Result=*/PointerTy_1,
Logan Chien42e0e152012-01-13 15:42:36 +080067 /*Params=*/FuncTy_3_args,
68 /*isVarArg=*/false);
69
70std::vector<Type*>FuncTy_4_args;
Logan Chien3f71e702012-02-17 18:45:27 +080071FuncTy_4_args.push_back(PointerTy_1);
Logan Chien42e0e152012-01-13 15:42:36 +080072FunctionType* FuncTy_4 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +080073 /*Result=*/Type::getVoidTy(mod->getContext()),
Logan Chien42e0e152012-01-13 15:42:36 +080074 /*Params=*/FuncTy_4_args,
75 /*isVarArg=*/false);
76
77std::vector<Type*>FuncTy_5_args;
Logan Chien42e0e152012-01-13 15:42:36 +080078FunctionType* FuncTy_5 = FunctionType::get(
79 /*Result=*/Type::getVoidTy(mod->getContext()),
80 /*Params=*/FuncTy_5_args,
81 /*isVarArg=*/false);
82
83std::vector<Type*>FuncTy_6_args;
Logan Chien3f71e702012-02-17 18:45:27 +080084FuncTy_6_args.push_back(PointerTy_2);
Logan Chien42e0e152012-01-13 15:42:36 +080085FunctionType* FuncTy_6 = FunctionType::get(
86 /*Result=*/Type::getVoidTy(mod->getContext()),
87 /*Params=*/FuncTy_6_args,
88 /*isVarArg=*/false);
89
90std::vector<Type*>FuncTy_7_args;
Logan Chien42e0e152012-01-13 15:42:36 +080091FunctionType* FuncTy_7 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +080092 /*Result=*/IntegerType::get(mod->getContext(), 1),
Logan Chien42e0e152012-01-13 15:42:36 +080093 /*Params=*/FuncTy_7_args,
94 /*isVarArg=*/false);
95
96std::vector<Type*>FuncTy_8_args;
97FuncTy_8_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien3f71e702012-02-17 18:45:27 +080098FuncTy_8_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +080099FunctionType* FuncTy_8 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +0800100 /*Result=*/Type::getVoidTy(mod->getContext()),
Logan Chien42e0e152012-01-13 15:42:36 +0800101 /*Params=*/FuncTy_8_args,
102 /*isVarArg=*/false);
103
104std::vector<Type*>FuncTy_9_args;
105FuncTy_9_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +0800106FunctionType* FuncTy_9 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +0800107 /*Result=*/Type::getVoidTy(mod->getContext()),
Logan Chien42e0e152012-01-13 15:42:36 +0800108 /*Params=*/FuncTy_9_args,
109 /*isVarArg=*/false);
110
111std::vector<Type*>FuncTy_10_args;
Logan Chien42e0e152012-01-13 15:42:36 +0800112FuncTy_10_args.push_back(PointerTy_1);
Logan Chien3f71e702012-02-17 18:45:27 +0800113FuncTy_10_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +0800114FunctionType* FuncTy_10 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +0800115 /*Result=*/IntegerType::get(mod->getContext(), 32),
Logan Chien42e0e152012-01-13 15:42:36 +0800116 /*Params=*/FuncTy_10_args,
117 /*isVarArg=*/false);
118
119std::vector<Type*>FuncTy_11_args;
Logan Chien42e0e152012-01-13 15:42:36 +0800120FuncTy_11_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien3f71e702012-02-17 18:45:27 +0800121FuncTy_11_args.push_back(PointerTy_1);
Logan Chien42e0e152012-01-13 15:42:36 +0800122FunctionType* FuncTy_11 = FunctionType::get(
123 /*Result=*/PointerTy_1,
124 /*Params=*/FuncTy_11_args,
125 /*isVarArg=*/false);
126
127std::vector<Type*>FuncTy_12_args;
Logan Chien3f71e702012-02-17 18:45:27 +0800128FuncTy_12_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +0800129FuncTy_12_args.push_back(PointerTy_1);
130FuncTy_12_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +0800131FunctionType* FuncTy_12 = FunctionType::get(
132 /*Result=*/PointerTy_1,
133 /*Params=*/FuncTy_12_args,
134 /*isVarArg=*/false);
135
136std::vector<Type*>FuncTy_13_args;
137FuncTy_13_args.push_back(IntegerType::get(mod->getContext(), 32));
138FuncTy_13_args.push_back(PointerTy_1);
Logan Chien42e0e152012-01-13 15:42:36 +0800139FunctionType* FuncTy_13 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +0800140 /*Result=*/Type::getVoidTy(mod->getContext()),
Logan Chien42e0e152012-01-13 15:42:36 +0800141 /*Params=*/FuncTy_13_args,
142 /*isVarArg=*/false);
143
144std::vector<Type*>FuncTy_14_args;
Logan Chien42e0e152012-01-13 15:42:36 +0800145FuncTy_14_args.push_back(PointerTy_1);
Logan Chien3f71e702012-02-17 18:45:27 +0800146FuncTy_14_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +0800147FunctionType* FuncTy_14 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +0800148 /*Result=*/PointerTy_1,
Logan Chien42e0e152012-01-13 15:42:36 +0800149 /*Params=*/FuncTy_14_args,
150 /*isVarArg=*/false);
151
152std::vector<Type*>FuncTy_15_args;
Logan Chien3f71e702012-02-17 18:45:27 +0800153FuncTy_15_args.push_back(PointerTy_1);
Logan Chien42e0e152012-01-13 15:42:36 +0800154FuncTy_15_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien3f71e702012-02-17 18:45:27 +0800155FuncTy_15_args.push_back(IntegerType::get(mod->getContext(), 1));
Logan Chien42e0e152012-01-13 15:42:36 +0800156FunctionType* FuncTy_15 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +0800157 /*Result=*/PointerTy_1,
Logan Chien42e0e152012-01-13 15:42:36 +0800158 /*Params=*/FuncTy_15_args,
159 /*isVarArg=*/false);
160
161std::vector<Type*>FuncTy_16_args;
162FuncTy_16_args.push_back(IntegerType::get(mod->getContext(), 32));
163FuncTy_16_args.push_back(PointerTy_1);
Logan Chien3f71e702012-02-17 18:45:27 +0800164FuncTy_16_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +0800165FunctionType* FuncTy_16 = FunctionType::get(
166 /*Result=*/IntegerType::get(mod->getContext(), 32),
167 /*Params=*/FuncTy_16_args,
168 /*isVarArg=*/false);
169
170std::vector<Type*>FuncTy_17_args;
171FuncTy_17_args.push_back(IntegerType::get(mod->getContext(), 32));
172FuncTy_17_args.push_back(PointerTy_1);
Logan Chien3f71e702012-02-17 18:45:27 +0800173FuncTy_17_args.push_back(IntegerType::get(mod->getContext(), 64));
Logan Chien42e0e152012-01-13 15:42:36 +0800174FunctionType* FuncTy_17 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +0800175 /*Result=*/IntegerType::get(mod->getContext(), 32),
Logan Chien42e0e152012-01-13 15:42:36 +0800176 /*Params=*/FuncTy_17_args,
177 /*isVarArg=*/false);
178
179std::vector<Type*>FuncTy_18_args;
Logan Chien3f71e702012-02-17 18:45:27 +0800180FuncTy_18_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +0800181FuncTy_18_args.push_back(PointerTy_1);
182FuncTy_18_args.push_back(PointerTy_1);
183FunctionType* FuncTy_18 = FunctionType::get(
184 /*Result=*/IntegerType::get(mod->getContext(), 32),
185 /*Params=*/FuncTy_18_args,
186 /*isVarArg=*/false);
187
188std::vector<Type*>FuncTy_19_args;
Logan Chien3f71e702012-02-17 18:45:27 +0800189FuncTy_19_args.push_back(IntegerType::get(mod->getContext(), 32));
Logan Chien42e0e152012-01-13 15:42:36 +0800190FuncTy_19_args.push_back(PointerTy_1);
191FunctionType* FuncTy_19 = FunctionType::get(
Logan Chien3f71e702012-02-17 18:45:27 +0800192 /*Result=*/IntegerType::get(mod->getContext(), 32),
Logan Chien42e0e152012-01-13 15:42:36 +0800193 /*Params=*/FuncTy_19_args,
194 /*isVarArg=*/false);
195
Logan Chien3f71e702012-02-17 18:45:27 +0800196std::vector<Type*>FuncTy_20_args;
197FuncTy_20_args.push_back(IntegerType::get(mod->getContext(), 32));
198FuncTy_20_args.push_back(PointerTy_1);
199FunctionType* FuncTy_20 = FunctionType::get(
200 /*Result=*/IntegerType::get(mod->getContext(), 64),
201 /*Params=*/FuncTy_20_args,
202 /*isVarArg=*/false);
203
204std::vector<Type*>FuncTy_21_args;
205FuncTy_21_args.push_back(PointerTy_1);
206FuncTy_21_args.push_back(PointerTy_1);
207FunctionType* FuncTy_21 = FunctionType::get(
208 /*Result=*/IntegerType::get(mod->getContext(), 32),
209 /*Params=*/FuncTy_21_args,
210 /*isVarArg=*/false);
211
212std::vector<Type*>FuncTy_22_args;
213FuncTy_22_args.push_back(PointerTy_1);
214FuncTy_22_args.push_back(PointerTy_1);
215FunctionType* FuncTy_22 = FunctionType::get(
216 /*Result=*/Type::getVoidTy(mod->getContext()),
217 /*Params=*/FuncTy_22_args,
218 /*isVarArg=*/false);
219
Logan Chien42e0e152012-01-13 15:42:36 +0800220
221// Function Declarations
222
223Function* func___art_type_list = mod->getFunction("__art_type_list");
224if (!func___art_type_list) {
225func___art_type_list = Function::Create(
226 /*Type=*/FuncTy_0,
227 /*Linkage=*/GlobalValue::ExternalLinkage,
228 /*Name=*/"__art_type_list", mod); // (external, no body)
229func___art_type_list->setCallingConv(CallingConv::C);
230}
231AttrListPtr func___art_type_list_PAL;
232func___art_type_list->setAttributes(func___art_type_list_PAL);
233
234Function* func_art_get_current_thread_from_code = mod->getFunction("art_get_current_thread_from_code");
235if (!func_art_get_current_thread_from_code) {
236func_art_get_current_thread_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800237 /*Type=*/FuncTy_3,
Logan Chien42e0e152012-01-13 15:42:36 +0800238 /*Linkage=*/GlobalValue::ExternalLinkage,
239 /*Name=*/"art_get_current_thread_from_code", mod); // (external, no body)
240func_art_get_current_thread_from_code->setCallingConv(CallingConv::C);
241}
242AttrListPtr func_art_get_current_thread_from_code_PAL;
243func_art_get_current_thread_from_code->setAttributes(func_art_get_current_thread_from_code_PAL);
244
245Function* func_art_set_current_thread_from_code = mod->getFunction("art_set_current_thread_from_code");
246if (!func_art_set_current_thread_from_code) {
247func_art_set_current_thread_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800248 /*Type=*/FuncTy_4,
Logan Chien42e0e152012-01-13 15:42:36 +0800249 /*Linkage=*/GlobalValue::ExternalLinkage,
250 /*Name=*/"art_set_current_thread_from_code", mod); // (external, no body)
251func_art_set_current_thread_from_code->setCallingConv(CallingConv::C);
252}
253AttrListPtr func_art_set_current_thread_from_code_PAL;
254func_art_set_current_thread_from_code->setAttributes(func_art_set_current_thread_from_code_PAL);
255
256Function* func_art_lock_object_from_code = mod->getFunction("art_lock_object_from_code");
257if (!func_art_lock_object_from_code) {
258func_art_lock_object_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800259 /*Type=*/FuncTy_4,
Logan Chien42e0e152012-01-13 15:42:36 +0800260 /*Linkage=*/GlobalValue::ExternalLinkage,
261 /*Name=*/"art_lock_object_from_code", mod); // (external, no body)
262func_art_lock_object_from_code->setCallingConv(CallingConv::C);
263}
264AttrListPtr func_art_lock_object_from_code_PAL;
265func_art_lock_object_from_code->setAttributes(func_art_lock_object_from_code_PAL);
266
267Function* func_art_unlock_object_from_code = mod->getFunction("art_unlock_object_from_code");
268if (!func_art_unlock_object_from_code) {
269func_art_unlock_object_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800270 /*Type=*/FuncTy_4,
Logan Chien42e0e152012-01-13 15:42:36 +0800271 /*Linkage=*/GlobalValue::ExternalLinkage,
272 /*Name=*/"art_unlock_object_from_code", mod); // (external, no body)
273func_art_unlock_object_from_code->setCallingConv(CallingConv::C);
274}
275AttrListPtr func_art_unlock_object_from_code_PAL;
276func_art_unlock_object_from_code->setAttributes(func_art_unlock_object_from_code_PAL);
277
278Function* func_art_test_suspend_from_code = mod->getFunction("art_test_suspend_from_code");
279if (!func_art_test_suspend_from_code) {
280func_art_test_suspend_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800281 /*Type=*/FuncTy_5,
Logan Chien42e0e152012-01-13 15:42:36 +0800282 /*Linkage=*/GlobalValue::ExternalLinkage,
283 /*Name=*/"art_test_suspend_from_code", mod); // (external, no body)
284func_art_test_suspend_from_code->setCallingConv(CallingConv::C);
285}
286AttrListPtr func_art_test_suspend_from_code_PAL;
287func_art_test_suspend_from_code->setAttributes(func_art_test_suspend_from_code_PAL);
288
Logan Chien3f71e702012-02-17 18:45:27 +0800289Function* func_art_push_shadow_frame_from_code = mod->getFunction("art_push_shadow_frame_from_code");
290if (!func_art_push_shadow_frame_from_code) {
291func_art_push_shadow_frame_from_code = Function::Create(
292 /*Type=*/FuncTy_6,
293 /*Linkage=*/GlobalValue::ExternalLinkage,
294 /*Name=*/"art_push_shadow_frame_from_code", mod); // (external, no body)
295func_art_push_shadow_frame_from_code->setCallingConv(CallingConv::C);
296}
297AttrListPtr func_art_push_shadow_frame_from_code_PAL;
298func_art_push_shadow_frame_from_code->setAttributes(func_art_push_shadow_frame_from_code_PAL);
299
300Function* func_art_pop_shadow_frame_from_code = mod->getFunction("art_pop_shadow_frame_from_code");
301if (!func_art_pop_shadow_frame_from_code) {
302func_art_pop_shadow_frame_from_code = Function::Create(
303 /*Type=*/FuncTy_5,
304 /*Linkage=*/GlobalValue::ExternalLinkage,
305 /*Name=*/"art_pop_shadow_frame_from_code", mod); // (external, no body)
306func_art_pop_shadow_frame_from_code->setCallingConv(CallingConv::C);
307}
308AttrListPtr func_art_pop_shadow_frame_from_code_PAL;
309func_art_pop_shadow_frame_from_code->setAttributes(func_art_pop_shadow_frame_from_code_PAL);
310
Logan Chien42e0e152012-01-13 15:42:36 +0800311Function* func_art_is_exception_pending_from_code = mod->getFunction("art_is_exception_pending_from_code");
312if (!func_art_is_exception_pending_from_code) {
313func_art_is_exception_pending_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800314 /*Type=*/FuncTy_7,
Logan Chien42e0e152012-01-13 15:42:36 +0800315 /*Linkage=*/GlobalValue::ExternalLinkage,
316 /*Name=*/"art_is_exception_pending_from_code", mod); // (external, no body)
317func_art_is_exception_pending_from_code->setCallingConv(CallingConv::C);
318}
319AttrListPtr func_art_is_exception_pending_from_code_PAL;
320func_art_is_exception_pending_from_code->setAttributes(func_art_is_exception_pending_from_code_PAL);
321
322Function* func_art_throw_div_zero_from_code = mod->getFunction("art_throw_div_zero_from_code");
323if (!func_art_throw_div_zero_from_code) {
324func_art_throw_div_zero_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800325 /*Type=*/FuncTy_5,
Logan Chien42e0e152012-01-13 15:42:36 +0800326 /*Linkage=*/GlobalValue::ExternalLinkage,
327 /*Name=*/"art_throw_div_zero_from_code", mod); // (external, no body)
328func_art_throw_div_zero_from_code->setCallingConv(CallingConv::C);
329}
330AttrListPtr func_art_throw_div_zero_from_code_PAL;
331func_art_throw_div_zero_from_code->setAttributes(func_art_throw_div_zero_from_code_PAL);
332
333Function* func_art_throw_array_bounds_from_code = mod->getFunction("art_throw_array_bounds_from_code");
334if (!func_art_throw_array_bounds_from_code) {
335func_art_throw_array_bounds_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800336 /*Type=*/FuncTy_8,
Logan Chien42e0e152012-01-13 15:42:36 +0800337 /*Linkage=*/GlobalValue::ExternalLinkage,
338 /*Name=*/"art_throw_array_bounds_from_code", mod); // (external, no body)
339func_art_throw_array_bounds_from_code->setCallingConv(CallingConv::C);
340}
341AttrListPtr func_art_throw_array_bounds_from_code_PAL;
342func_art_throw_array_bounds_from_code->setAttributes(func_art_throw_array_bounds_from_code_PAL);
343
344Function* func_art_throw_no_such_method_from_code = mod->getFunction("art_throw_no_such_method_from_code");
345if (!func_art_throw_no_such_method_from_code) {
346func_art_throw_no_such_method_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800347 /*Type=*/FuncTy_9,
Logan Chien42e0e152012-01-13 15:42:36 +0800348 /*Linkage=*/GlobalValue::ExternalLinkage,
349 /*Name=*/"art_throw_no_such_method_from_code", mod); // (external, no body)
350func_art_throw_no_such_method_from_code->setCallingConv(CallingConv::C);
351}
352AttrListPtr func_art_throw_no_such_method_from_code_PAL;
353func_art_throw_no_such_method_from_code->setAttributes(func_art_throw_no_such_method_from_code_PAL);
354
355Function* func_art_throw_null_pointer_exception_from_code = mod->getFunction("art_throw_null_pointer_exception_from_code");
356if (!func_art_throw_null_pointer_exception_from_code) {
357func_art_throw_null_pointer_exception_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800358 /*Type=*/FuncTy_5,
Logan Chien42e0e152012-01-13 15:42:36 +0800359 /*Linkage=*/GlobalValue::ExternalLinkage,
360 /*Name=*/"art_throw_null_pointer_exception_from_code", mod); // (external, no body)
361func_art_throw_null_pointer_exception_from_code->setCallingConv(CallingConv::C);
362}
363AttrListPtr func_art_throw_null_pointer_exception_from_code_PAL;
364func_art_throw_null_pointer_exception_from_code->setAttributes(func_art_throw_null_pointer_exception_from_code_PAL);
365
366Function* func_art_throw_stack_overflow_from_code = mod->getFunction("art_throw_stack_overflow_from_code");
367if (!func_art_throw_stack_overflow_from_code) {
368func_art_throw_stack_overflow_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800369 /*Type=*/FuncTy_4,
Logan Chien42e0e152012-01-13 15:42:36 +0800370 /*Linkage=*/GlobalValue::ExternalLinkage,
371 /*Name=*/"art_throw_stack_overflow_from_code", mod); // (external, no body)
372func_art_throw_stack_overflow_from_code->setCallingConv(CallingConv::C);
373}
374AttrListPtr func_art_throw_stack_overflow_from_code_PAL;
375func_art_throw_stack_overflow_from_code->setAttributes(func_art_throw_stack_overflow_from_code_PAL);
376
377Function* func_art_throw_exception_from_code = mod->getFunction("art_throw_exception_from_code");
378if (!func_art_throw_exception_from_code) {
379func_art_throw_exception_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800380 /*Type=*/FuncTy_4,
Logan Chien42e0e152012-01-13 15:42:36 +0800381 /*Linkage=*/GlobalValue::ExternalLinkage,
382 /*Name=*/"art_throw_exception_from_code", mod); // (external, no body)
383func_art_throw_exception_from_code->setCallingConv(CallingConv::C);
384}
385AttrListPtr func_art_throw_exception_from_code_PAL;
386func_art_throw_exception_from_code->setAttributes(func_art_throw_exception_from_code_PAL);
387
388Function* func_art_find_catch_block_from_code = mod->getFunction("art_find_catch_block_from_code");
389if (!func_art_find_catch_block_from_code) {
390func_art_find_catch_block_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800391 /*Type=*/FuncTy_10,
Logan Chien42e0e152012-01-13 15:42:36 +0800392 /*Linkage=*/GlobalValue::ExternalLinkage,
393 /*Name=*/"art_find_catch_block_from_code", mod); // (external, no body)
394func_art_find_catch_block_from_code->setCallingConv(CallingConv::C);
395}
396AttrListPtr func_art_find_catch_block_from_code_PAL;
397func_art_find_catch_block_from_code->setAttributes(func_art_find_catch_block_from_code_PAL);
398
399Function* func_art_alloc_object_from_code = mod->getFunction("art_alloc_object_from_code");
400if (!func_art_alloc_object_from_code) {
401func_art_alloc_object_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800402 /*Type=*/FuncTy_11,
Logan Chien42e0e152012-01-13 15:42:36 +0800403 /*Linkage=*/GlobalValue::ExternalLinkage,
404 /*Name=*/"art_alloc_object_from_code", mod); // (external, no body)
405func_art_alloc_object_from_code->setCallingConv(CallingConv::C);
406}
407AttrListPtr func_art_alloc_object_from_code_PAL;
408func_art_alloc_object_from_code->setAttributes(func_art_alloc_object_from_code_PAL);
409
410Function* func_art_alloc_object_from_code_with_access_check = mod->getFunction("art_alloc_object_from_code_with_access_check");
411if (!func_art_alloc_object_from_code_with_access_check) {
412func_art_alloc_object_from_code_with_access_check = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800413 /*Type=*/FuncTy_11,
Logan Chien42e0e152012-01-13 15:42:36 +0800414 /*Linkage=*/GlobalValue::ExternalLinkage,
415 /*Name=*/"art_alloc_object_from_code_with_access_check", mod); // (external, no body)
416func_art_alloc_object_from_code_with_access_check->setCallingConv(CallingConv::C);
417}
418AttrListPtr func_art_alloc_object_from_code_with_access_check_PAL;
419func_art_alloc_object_from_code_with_access_check->setAttributes(func_art_alloc_object_from_code_with_access_check_PAL);
420
421Function* func_art_alloc_array_from_code = mod->getFunction("art_alloc_array_from_code");
422if (!func_art_alloc_array_from_code) {
423func_art_alloc_array_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800424 /*Type=*/FuncTy_12,
Logan Chien42e0e152012-01-13 15:42:36 +0800425 /*Linkage=*/GlobalValue::ExternalLinkage,
426 /*Name=*/"art_alloc_array_from_code", mod); // (external, no body)
427func_art_alloc_array_from_code->setCallingConv(CallingConv::C);
428}
429AttrListPtr func_art_alloc_array_from_code_PAL;
430func_art_alloc_array_from_code->setAttributes(func_art_alloc_array_from_code_PAL);
431
432Function* func_art_alloc_array_from_code_with_access_check = mod->getFunction("art_alloc_array_from_code_with_access_check");
433if (!func_art_alloc_array_from_code_with_access_check) {
434func_art_alloc_array_from_code_with_access_check = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800435 /*Type=*/FuncTy_12,
Logan Chien42e0e152012-01-13 15:42:36 +0800436 /*Linkage=*/GlobalValue::ExternalLinkage,
437 /*Name=*/"art_alloc_array_from_code_with_access_check", mod); // (external, no body)
438func_art_alloc_array_from_code_with_access_check->setCallingConv(CallingConv::C);
439}
440AttrListPtr func_art_alloc_array_from_code_with_access_check_PAL;
441func_art_alloc_array_from_code_with_access_check->setAttributes(func_art_alloc_array_from_code_with_access_check_PAL);
442
443Function* func_art_check_and_alloc_array_from_code = mod->getFunction("art_check_and_alloc_array_from_code");
444if (!func_art_check_and_alloc_array_from_code) {
445func_art_check_and_alloc_array_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800446 /*Type=*/FuncTy_12,
Logan Chien42e0e152012-01-13 15:42:36 +0800447 /*Linkage=*/GlobalValue::ExternalLinkage,
448 /*Name=*/"art_check_and_alloc_array_from_code", mod); // (external, no body)
449func_art_check_and_alloc_array_from_code->setCallingConv(CallingConv::C);
450}
451AttrListPtr func_art_check_and_alloc_array_from_code_PAL;
452func_art_check_and_alloc_array_from_code->setAttributes(func_art_check_and_alloc_array_from_code_PAL);
453
454Function* func_art_check_and_alloc_array_from_code_with_access_check = mod->getFunction("art_check_and_alloc_array_from_code_with_access_check");
455if (!func_art_check_and_alloc_array_from_code_with_access_check) {
456func_art_check_and_alloc_array_from_code_with_access_check = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800457 /*Type=*/FuncTy_12,
Logan Chien42e0e152012-01-13 15:42:36 +0800458 /*Linkage=*/GlobalValue::ExternalLinkage,
459 /*Name=*/"art_check_and_alloc_array_from_code_with_access_check", mod); // (external, no body)
460func_art_check_and_alloc_array_from_code_with_access_check->setCallingConv(CallingConv::C);
461}
462AttrListPtr func_art_check_and_alloc_array_from_code_with_access_check_PAL;
463func_art_check_and_alloc_array_from_code_with_access_check->setAttributes(func_art_check_and_alloc_array_from_code_with_access_check_PAL);
464
465Function* func_art_object_init_from_code = mod->getFunction("art_object_init_from_code");
466if (!func_art_object_init_from_code) {
467func_art_object_init_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800468 /*Type=*/FuncTy_4,
Logan Chien42e0e152012-01-13 15:42:36 +0800469 /*Linkage=*/GlobalValue::ExternalLinkage,
470 /*Name=*/"art_object_init_from_code", mod); // (external, no body)
471func_art_object_init_from_code->setCallingConv(CallingConv::C);
472}
473AttrListPtr func_art_object_init_from_code_PAL;
474func_art_object_init_from_code->setAttributes(func_art_object_init_from_code_PAL);
475
476Function* func_art_find_instance_field_from_code = mod->getFunction("art_find_instance_field_from_code");
477if (!func_art_find_instance_field_from_code) {
478func_art_find_instance_field_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800479 /*Type=*/FuncTy_13,
Logan Chien42e0e152012-01-13 15:42:36 +0800480 /*Linkage=*/GlobalValue::ExternalLinkage,
481 /*Name=*/"art_find_instance_field_from_code", mod); // (external, no body)
482func_art_find_instance_field_from_code->setCallingConv(CallingConv::C);
483}
484AttrListPtr func_art_find_instance_field_from_code_PAL;
485func_art_find_instance_field_from_code->setAttributes(func_art_find_instance_field_from_code_PAL);
486
487Function* func_art_find_static_field_from_code = mod->getFunction("art_find_static_field_from_code");
488if (!func_art_find_static_field_from_code) {
489func_art_find_static_field_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800490 /*Type=*/FuncTy_13,
Logan Chien42e0e152012-01-13 15:42:36 +0800491 /*Linkage=*/GlobalValue::ExternalLinkage,
492 /*Name=*/"art_find_static_field_from_code", mod); // (external, no body)
493func_art_find_static_field_from_code->setCallingConv(CallingConv::C);
494}
495AttrListPtr func_art_find_static_field_from_code_PAL;
496func_art_find_static_field_from_code->setAttributes(func_art_find_static_field_from_code_PAL);
497
498Function* func_art_find_interface_method_from_code = mod->getFunction("art_find_interface_method_from_code");
499if (!func_art_find_interface_method_from_code) {
500func_art_find_interface_method_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800501 /*Type=*/FuncTy_11,
Logan Chien42e0e152012-01-13 15:42:36 +0800502 /*Linkage=*/GlobalValue::ExternalLinkage,
503 /*Name=*/"art_find_interface_method_from_code", mod); // (external, no body)
504func_art_find_interface_method_from_code->setCallingConv(CallingConv::C);
505}
506AttrListPtr func_art_find_interface_method_from_code_PAL;
507func_art_find_interface_method_from_code->setAttributes(func_art_find_interface_method_from_code_PAL);
508
509Function* func_art_initialize_static_storage_from_code = mod->getFunction("art_initialize_static_storage_from_code");
510if (!func_art_initialize_static_storage_from_code) {
511func_art_initialize_static_storage_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800512 /*Type=*/FuncTy_11,
Logan Chien42e0e152012-01-13 15:42:36 +0800513 /*Linkage=*/GlobalValue::ExternalLinkage,
514 /*Name=*/"art_initialize_static_storage_from_code", mod); // (external, no body)
515func_art_initialize_static_storage_from_code->setCallingConv(CallingConv::C);
516}
517AttrListPtr func_art_initialize_static_storage_from_code_PAL;
518func_art_initialize_static_storage_from_code->setAttributes(func_art_initialize_static_storage_from_code_PAL);
519
520Function* func_art_initialize_type_from_code = mod->getFunction("art_initialize_type_from_code");
521if (!func_art_initialize_type_from_code) {
522func_art_initialize_type_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800523 /*Type=*/FuncTy_11,
Logan Chien42e0e152012-01-13 15:42:36 +0800524 /*Linkage=*/GlobalValue::ExternalLinkage,
525 /*Name=*/"art_initialize_type_from_code", mod); // (external, no body)
526func_art_initialize_type_from_code->setCallingConv(CallingConv::C);
527}
528AttrListPtr func_art_initialize_type_from_code_PAL;
529func_art_initialize_type_from_code->setAttributes(func_art_initialize_type_from_code_PAL);
530
531Function* func_art_initialize_type_and_verify_access_from_code = mod->getFunction("art_initialize_type_and_verify_access_from_code");
532if (!func_art_initialize_type_and_verify_access_from_code) {
533func_art_initialize_type_and_verify_access_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800534 /*Type=*/FuncTy_11,
Logan Chien42e0e152012-01-13 15:42:36 +0800535 /*Linkage=*/GlobalValue::ExternalLinkage,
536 /*Name=*/"art_initialize_type_and_verify_access_from_code", mod); // (external, no body)
537func_art_initialize_type_and_verify_access_from_code->setCallingConv(CallingConv::C);
538}
539AttrListPtr func_art_initialize_type_and_verify_access_from_code_PAL;
540func_art_initialize_type_and_verify_access_from_code->setAttributes(func_art_initialize_type_and_verify_access_from_code_PAL);
541
542Function* func_art_resolve_string_from_code = mod->getFunction("art_resolve_string_from_code");
543if (!func_art_resolve_string_from_code) {
544func_art_resolve_string_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800545 /*Type=*/FuncTy_14,
Logan Chien42e0e152012-01-13 15:42:36 +0800546 /*Linkage=*/GlobalValue::ExternalLinkage,
547 /*Name=*/"art_resolve_string_from_code", mod); // (external, no body)
548func_art_resolve_string_from_code->setCallingConv(CallingConv::C);
549}
550AttrListPtr func_art_resolve_string_from_code_PAL;
551func_art_resolve_string_from_code->setAttributes(func_art_resolve_string_from_code_PAL);
552
553Function* func_art_resolve_method_from_code = mod->getFunction("art_resolve_method_from_code");
554if (!func_art_resolve_method_from_code) {
555func_art_resolve_method_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800556 /*Type=*/FuncTy_15,
Logan Chien42e0e152012-01-13 15:42:36 +0800557 /*Linkage=*/GlobalValue::ExternalLinkage,
558 /*Name=*/"art_resolve_method_from_code", mod); // (external, no body)
559func_art_resolve_method_from_code->setCallingConv(CallingConv::C);
560}
561AttrListPtr func_art_resolve_method_from_code_PAL;
562func_art_resolve_method_from_code->setAttributes(func_art_resolve_method_from_code_PAL);
563
564Function* func_art_set32_static_from_code = mod->getFunction("art_set32_static_from_code");
565if (!func_art_set32_static_from_code) {
566func_art_set32_static_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800567 /*Type=*/FuncTy_16,
Logan Chien42e0e152012-01-13 15:42:36 +0800568 /*Linkage=*/GlobalValue::ExternalLinkage,
569 /*Name=*/"art_set32_static_from_code", mod); // (external, no body)
570func_art_set32_static_from_code->setCallingConv(CallingConv::C);
571}
572AttrListPtr func_art_set32_static_from_code_PAL;
573func_art_set32_static_from_code->setAttributes(func_art_set32_static_from_code_PAL);
574
575Function* func_art_set64_static_from_code = mod->getFunction("art_set64_static_from_code");
576if (!func_art_set64_static_from_code) {
577func_art_set64_static_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800578 /*Type=*/FuncTy_17,
Logan Chien42e0e152012-01-13 15:42:36 +0800579 /*Linkage=*/GlobalValue::ExternalLinkage,
580 /*Name=*/"art_set64_static_from_code", mod); // (external, no body)
581func_art_set64_static_from_code->setCallingConv(CallingConv::C);
582}
583AttrListPtr func_art_set64_static_from_code_PAL;
584func_art_set64_static_from_code->setAttributes(func_art_set64_static_from_code_PAL);
585
586Function* func_art_set_obj_static_from_code = mod->getFunction("art_set_obj_static_from_code");
587if (!func_art_set_obj_static_from_code) {
588func_art_set_obj_static_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800589 /*Type=*/FuncTy_18,
Logan Chien42e0e152012-01-13 15:42:36 +0800590 /*Linkage=*/GlobalValue::ExternalLinkage,
591 /*Name=*/"art_set_obj_static_from_code", mod); // (external, no body)
592func_art_set_obj_static_from_code->setCallingConv(CallingConv::C);
593}
594AttrListPtr func_art_set_obj_static_from_code_PAL;
595func_art_set_obj_static_from_code->setAttributes(func_art_set_obj_static_from_code_PAL);
596
597Function* func_art_get32_static_from_code = mod->getFunction("art_get32_static_from_code");
598if (!func_art_get32_static_from_code) {
599func_art_get32_static_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800600 /*Type=*/FuncTy_19,
Logan Chien42e0e152012-01-13 15:42:36 +0800601 /*Linkage=*/GlobalValue::ExternalLinkage,
602 /*Name=*/"art_get32_static_from_code", mod); // (external, no body)
603func_art_get32_static_from_code->setCallingConv(CallingConv::C);
604}
605AttrListPtr func_art_get32_static_from_code_PAL;
606func_art_get32_static_from_code->setAttributes(func_art_get32_static_from_code_PAL);
607
608Function* func_art_get64_static_from_code = mod->getFunction("art_get64_static_from_code");
609if (!func_art_get64_static_from_code) {
610func_art_get64_static_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800611 /*Type=*/FuncTy_20,
Logan Chien42e0e152012-01-13 15:42:36 +0800612 /*Linkage=*/GlobalValue::ExternalLinkage,
613 /*Name=*/"art_get64_static_from_code", mod); // (external, no body)
614func_art_get64_static_from_code->setCallingConv(CallingConv::C);
615}
616AttrListPtr func_art_get64_static_from_code_PAL;
617func_art_get64_static_from_code->setAttributes(func_art_get64_static_from_code_PAL);
618
619Function* func_art_get_obj_static_from_code = mod->getFunction("art_get_obj_static_from_code");
620if (!func_art_get_obj_static_from_code) {
621func_art_get_obj_static_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800622 /*Type=*/FuncTy_11,
Logan Chien42e0e152012-01-13 15:42:36 +0800623 /*Linkage=*/GlobalValue::ExternalLinkage,
624 /*Name=*/"art_get_obj_static_from_code", mod); // (external, no body)
625func_art_get_obj_static_from_code->setCallingConv(CallingConv::C);
626}
627AttrListPtr func_art_get_obj_static_from_code_PAL;
628func_art_get_obj_static_from_code->setAttributes(func_art_get_obj_static_from_code_PAL);
629
630Function* func_art_set32_instance_from_code = mod->getFunction("art_set32_instance_from_code");
631if (!func_art_set32_instance_from_code) {
632func_art_set32_instance_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800633 /*Type=*/FuncTy_16,
Logan Chien42e0e152012-01-13 15:42:36 +0800634 /*Linkage=*/GlobalValue::ExternalLinkage,
635 /*Name=*/"art_set32_instance_from_code", mod); // (external, no body)
636func_art_set32_instance_from_code->setCallingConv(CallingConv::C);
637}
638AttrListPtr func_art_set32_instance_from_code_PAL;
639func_art_set32_instance_from_code->setAttributes(func_art_set32_instance_from_code_PAL);
640
641Function* func_art_set64_instance_from_code = mod->getFunction("art_set64_instance_from_code");
642if (!func_art_set64_instance_from_code) {
643func_art_set64_instance_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800644 /*Type=*/FuncTy_17,
Logan Chien42e0e152012-01-13 15:42:36 +0800645 /*Linkage=*/GlobalValue::ExternalLinkage,
646 /*Name=*/"art_set64_instance_from_code", mod); // (external, no body)
647func_art_set64_instance_from_code->setCallingConv(CallingConv::C);
648}
649AttrListPtr func_art_set64_instance_from_code_PAL;
650func_art_set64_instance_from_code->setAttributes(func_art_set64_instance_from_code_PAL);
651
652Function* func_art_set_obj_instance_from_code = mod->getFunction("art_set_obj_instance_from_code");
653if (!func_art_set_obj_instance_from_code) {
654func_art_set_obj_instance_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800655 /*Type=*/FuncTy_18,
Logan Chien42e0e152012-01-13 15:42:36 +0800656 /*Linkage=*/GlobalValue::ExternalLinkage,
657 /*Name=*/"art_set_obj_instance_from_code", mod); // (external, no body)
658func_art_set_obj_instance_from_code->setCallingConv(CallingConv::C);
659}
660AttrListPtr func_art_set_obj_instance_from_code_PAL;
661func_art_set_obj_instance_from_code->setAttributes(func_art_set_obj_instance_from_code_PAL);
662
663Function* func_art_get32_instance_from_code = mod->getFunction("art_get32_instance_from_code");
664if (!func_art_get32_instance_from_code) {
665func_art_get32_instance_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800666 /*Type=*/FuncTy_19,
Logan Chien42e0e152012-01-13 15:42:36 +0800667 /*Linkage=*/GlobalValue::ExternalLinkage,
668 /*Name=*/"art_get32_instance_from_code", mod); // (external, no body)
669func_art_get32_instance_from_code->setCallingConv(CallingConv::C);
670}
671AttrListPtr func_art_get32_instance_from_code_PAL;
672func_art_get32_instance_from_code->setAttributes(func_art_get32_instance_from_code_PAL);
673
674Function* func_art_get64_instance_from_code = mod->getFunction("art_get64_instance_from_code");
675if (!func_art_get64_instance_from_code) {
676func_art_get64_instance_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800677 /*Type=*/FuncTy_20,
Logan Chien42e0e152012-01-13 15:42:36 +0800678 /*Linkage=*/GlobalValue::ExternalLinkage,
679 /*Name=*/"art_get64_instance_from_code", mod); // (external, no body)
680func_art_get64_instance_from_code->setCallingConv(CallingConv::C);
681}
682AttrListPtr func_art_get64_instance_from_code_PAL;
683func_art_get64_instance_from_code->setAttributes(func_art_get64_instance_from_code_PAL);
684
685Function* func_art_get_obj_instance_from_code = mod->getFunction("art_get_obj_instance_from_code");
686if (!func_art_get_obj_instance_from_code) {
687func_art_get_obj_instance_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800688 /*Type=*/FuncTy_11,
Logan Chien42e0e152012-01-13 15:42:36 +0800689 /*Linkage=*/GlobalValue::ExternalLinkage,
690 /*Name=*/"art_get_obj_instance_from_code", mod); // (external, no body)
691func_art_get_obj_instance_from_code->setCallingConv(CallingConv::C);
692}
693AttrListPtr func_art_get_obj_instance_from_code_PAL;
694func_art_get_obj_instance_from_code->setAttributes(func_art_get_obj_instance_from_code_PAL);
695
696Function* func_art_is_assignable_from_code = mod->getFunction("art_is_assignable_from_code");
697if (!func_art_is_assignable_from_code) {
698func_art_is_assignable_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800699 /*Type=*/FuncTy_21,
Logan Chien42e0e152012-01-13 15:42:36 +0800700 /*Linkage=*/GlobalValue::ExternalLinkage,
701 /*Name=*/"art_is_assignable_from_code", mod); // (external, no body)
702func_art_is_assignable_from_code->setCallingConv(CallingConv::C);
703}
704AttrListPtr func_art_is_assignable_from_code_PAL;
705func_art_is_assignable_from_code->setAttributes(func_art_is_assignable_from_code_PAL);
706
707Function* func_art_check_cast_from_code = mod->getFunction("art_check_cast_from_code");
708if (!func_art_check_cast_from_code) {
709func_art_check_cast_from_code = Function::Create(
Logan Chien3f71e702012-02-17 18:45:27 +0800710 /*Type=*/FuncTy_22,
Logan Chien42e0e152012-01-13 15:42:36 +0800711 /*Linkage=*/GlobalValue::ExternalLinkage,
712 /*Name=*/"art_check_cast_from_code", mod); // (external, no body)
713func_art_check_cast_from_code->setCallingConv(CallingConv::C);
714}
715AttrListPtr func_art_check_cast_from_code_PAL;
716func_art_check_cast_from_code->setAttributes(func_art_check_cast_from_code_PAL);
717
718// Global Variable Declarations
719
720
721// Constant Definitions
722
723// Global Variable Definitions
724
725// Function Definitions
726
727return mod;
728
729}
Logan Chiene75a8cc2012-02-24 12:26:43 +0800730
731} // namespace compiler_llvm
732} // namespace art