Lines Matching refs:Module
20 #include "llvm/IR/Module.h"
31 /// ValueEnumerator - Enumerate module-level information.
32 ValueEnumerator::ValueEnumerator(const Module *M) {
34 for (Module::const_global_iterator I = M->global_begin(),
39 for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I) {
45 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end();
53 for (Module::const_global_iterator I = M->global_begin(),
59 for (Module::const_alias_iterator I = M->alias_begin(), E = M->alias_end();
63 // Insert constants and metadata that are named at module level into the slot
64 // pool so that the module symbol table can refer to them...
71 for (Module::const_iterator F = M->begin(), E = M->end(); F != E; ++F) {
216 /// named metadata in the specified module.
217 void ValueEnumerator::EnumerateNamedMetadata(const Module *M) {
218 for (Module::const_named_metadata_iterator I = M->named_metadata_begin(),
250 // In the module-level pass, skip function-local nodes themselves, but