Lines Matching refs:Module
33 #include "llvm/IR/Module.h"
55 static const Module *getModuleFromVal(const Value *V) {
164 void TypePrinting::incorporateTypes(const Module &M) {
305 /// TheModule - The module for which we are holding slot numbers.
306 const Module* TheModule;
312 /// mMap - The slot map for the module level data.
328 /// Construct from a module
329 explicit SlotTracker(const Module *M);
340 /// If you'd like to deal with a function instead of just a module, use
349 /// will reset the state of the machine back to just the module contents.
383 /// Add all of the module level global variables (and their initializers)
394 SlotTracker *createSlotTracker(const Module *M) {
434 // Module level constructor. Causes the contents of the Module (sans functions)
436 SlotTracker::SlotTracker(const Module *M)
441 // Function level constructor. Causes the contents of the Module and the one
464 for (Module::const_global_iterator I = TheModule->global_begin(),
471 for (Module::const_named_metadata_iterator
479 for (Module::const_iterator I = TheModule->begin(), E = TheModule->end();
571 // Find the value in the module map
581 // Find the MDNode in the module map
602 // Find the AttributeSet in the module map.
676 const Module *Context);
767 const Module *Context) {
1047 const Module *Context) {
1074 const Module *Context) {
1178 bool PrintType, const Module *Context) {
1209 const Module *M,
1215 AssemblyWriter::AssemblyWriter(formatted_raw_ostream &o, const Module *M,
1274 void AssemblyWriter::printModule(const Module *M) {
1297 Out << "module asm \"";
1306 Out << "module asm \"";
1316 for (Module::const_global_iterator I = M->global_begin(), E = M->global_end();
1323 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end();
1328 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I)
1340 for (Module::const_named_metadata_iterator I = M->named_metadata_begin(),
2129 void Module::print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW) const {
2214 // Module::dump() - Allow printing of Modules from the debugger.
2215 void Module::dump() const { print(dbgs(), 0); }