Lines Matching refs:module
36 // reduce the startup time. On success, return the LLVM module object created
42 llvm::Module *module = llvm::getLazyBitcodeModule(pInput, pContext, &error);
44 if (module == NULL) {
49 return module;
74 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext,
76 if (module == NULL) {
81 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false);
83 delete module;
100 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext,
102 if (module == NULL) {
107 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false);
109 delete module;
160 // Create an empty module
161 llvm::Module *module =
164 if (module == NULL) {
165 ALOGE("Out of memory when creating empty LLVM module `%s'!", pName.c_str());
169 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false);
171 delete module;