Util/slottracker.cpp
/// getGlobalSlot - Get the slot number of a global value.
Get the slot number of a global value.
Get the slot number of a global value .
int SlotTracker::getGlobalSlot(const GlobalValue *V) {
    initializeModule();
    ValueMap::iterator MI = getMMap().find(V);
    return MI == getMMap().end() ? -1 : (int)MI->second;
}
int SlotTracker :: getGlobalSlot ( const GlobalValue * V ) { initializeModule ( ) ; ValueMap :: iterator MI = getMMap ( ) . find ( V ) ; return MI == getMMap ( ) . end ( ) ? -1 : ( int ) MI -> second ; }
getGlobalSlot - Get the slot number of a global value.
getGlobalSlot - Get the slot number of a global value .
// Check for uninitialized state and do lazy initialization. // Find the value in the module map