Util/slottracker.cpp
/// getMetadataSlot - Get the slot number of a MDNode.
Get the slot number of a MDNode.
Get the slot number of a MDNode .
int SlotTracker::getMetadataSlot(const MDNode *N) {
    initializeModule();
    mdn_iterator MI = getMdnMap().find(N);
    return MI == getMdnMap().end() ? -1 : (int)MI->second;
}
int SlotTracker :: getMetadataSlot ( const MDNode * N ) { initializeModule ( ) ; mdn_iterator MI = getMdnMap ( ) . find ( N ) ; return MI == getMdnMap ( ) . end ( ) ? -1 : ( int ) MI -> second ; }
getMetadataSlot - Get the slot number of a MDNode.
getMetadataSlot - Get the slot number of a MDNode .
// Check for uninitialized state and do lazy initialization. // Find the MDNode in the module map