Home | History | Annotate | Download | only in Writer

Lines Matching refs:Module

23 #include "llvm/IR/Module.h"
315 /// WriteTypeTable - Write out the type table for a module.
518 // Emit top-level description of module, including target triple, inline asm,
520 static void WriteModuleInfo(const Module *M, const ValueEnumerator &VE,
522 // Emit various pieces of data attached to a module.
539 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end();
553 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) {
604 for (Module::const_global_iterator GV = M->global_begin(),E = M->global_end();
634 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) {
654 for (Module::const_alias_iterator AI = M->alias_begin(), E = M->alias_end();
716 static void WriteModuleMetadata(const Module *M,
756 for (Module::const_named_metadata_iterator I = M->named_metadata_begin(),
835 static void WriteModuleMetadataStore(const Module *M, BitstreamWriter &Stream) {
905 // If this is a constant pool for the module, emit module-specific abbrevs.
1615 /// WriteFunction - Emit a function body to the module stream.
1906 static void WriteModuleUseLists(const Module *M, ValueEnumerator &VE,
1910 // XXX: this modifies the module, but in a way that should never change the
1912 // contain entries in the use_list that do not exist in the Module and are
1914 for (Module::const_global_iterator I = M->global_begin(), E = M->global_end();
1919 for (Module::const_global_iterator GI = M->global_begin(),
1929 for (Module::const_iterator FI = M->begin(), FE = M->end(); FI != FE; ++FI) {
1936 for (Module::const_alias_iterator AI = M->alias_begin(), AE = M->alias_end();
1945 /// WriteModule - Emit the specified module to the bitstream.
1946 static void WriteModule(const Module *M, BitstreamWriter &Stream) {
1954 // Analyze the module, enumerating globals, functions, etc.
1966 // Emit information describing all of the types in the module.
1969 // Emit top-level description of module, including target triple, inline asm,
1990 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F)
2070 /// WriteBitcodeToFile - Write the specified module to the specified output
2072 void llvm::WriteBitcodeToFile(const Module *M, raw_ostream &Out) {
2082 // Emit the module into the buffer.
2094 // Emit the module.