Lines Matching refs:module
66 static void helper_set_module_metadata_from_bitcode_wrapper(llvm::Module &module, in helper_set_module_metadata_from_bitcode_wrapper() argument
69 llvm::LLVMContext &llvmContext = module.getContext(); in helper_set_module_metadata_from_bitcode_wrapper()
72 module.getOrInsertNamedMetadata(bcinfo::MetadataExtractor::kWrapperMetadataName); in helper_set_module_metadata_from_bitcode_wrapper()
121 llvm::Module *module = managedModule.release(); in CreateFromBuffer() local
122 if (module == nullptr) { in CreateFromBuffer()
129 Source *result = CreateFromModule(pContext, pName, *module, in CreateFromBuffer()
133 delete module; in CreateFromBuffer()
161 llvm::Module *module = managedModule.release(); in CreateFromFile() local
162 if (module == nullptr) { in CreateFromFile()
166 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, in CreateFromFile()
170 delete module; in CreateFromFile()