Home | History | Annotate | Download | only in Serialization

Lines Matching defs:MODULE

1 //===--- GlobalModuleIndex.cpp - Global Module Index ------------*- C++ -*-===//
52 /// Describes a module, including its file name and dependencies.
53 MODULE,
66 // Global module index reader.
134 report_fatal_error("Module index '" + Buffer->getBufferIdentifier() +
138 llvm::TimeTraceScope TimeScope("Module LoadIndex");
194 case MODULE: {
198 // Make room for this module's information.
204 // Size/modification time for this module file at the time the
223 assert(Idx == Record.size() && "More module info?");
225 // Record this module as an unresolved module.
226 // FIXME: this doesn't work correctly for module names containing path
296 // Look for information about this module file.
338 // Look for the module in the global module index based on the module name.
345 // Rectify this module with the global module index.
349 // module file.
359 // One way or another, we have resolved this module file.
365 std::fprintf(stderr, "*** Global Module Index Statistics:\n");
375 llvm::errs() << "*** Global Module Index Dump:\n";
376 llvm::errs() << "Module files:\n";
388 // Global module index writer.
392 /// Provides information about a specific module file.
394 /// The numberic ID for this module file.
397 /// The set of modules on which this module depends. Each entry is
398 /// a module ID.
411 /// Builder that generates the global module index file.
416 /// Mapping from files to module file information.
419 /// Information about each of the known module files.
422 /// Mapping from the imported module file to the imported
427 /// Information about each importing of a module file.
430 /// Mapping from identifiers to the list of module file IDs that
434 /// A mapping from all interesting identifiers to the set of module
438 /// Write the block-info block for the global module index file.
441 /// Retrieve the module file information for the given file.
459 /// Load the contents of the given module file into the builder.
502 RECORD(MODULE);
532 // Open the module file.
537 "failed getting buffer for module file");
551 // Record this module file and assign it a unique ID (if it doesn't have
627 // Handle module dependencies.
651 // Skip the module name (currently this is only used for prebuilt
661 // Find the imported module file.
773 llvm::TimeTraceScope TimeScope("Module WriteIndex");
792 // Write the set of known module files.
809 Stream.EmitRecord(MODULE, Record);
812 // Write the identifier -> module file mapping.
877 // The module index builder.
880 // Load each of the module files.
885 // If this isn't a module file, we don't care.
888 // in the process of rebuilding a module. They'll rebuild the index
897 // If we can't find the module file, skip it.
902 // Load this module file.