reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
392 assert(From && "Expected valid value"); 394 assert(From != To && "Expected changed value"); 395 assert(From->getType() == To->getType() && "Unexpected type change"); 397 LLVMContext &Context = From->getType()->getContext(); 399 auto I = Store.find(From); 401 assert(!From->IsUsedByMD && "Expected From not to be used by metadata"); 406 assert(From->IsUsedByMD && "Expected From to be used by metadata"); 407 From->IsUsedByMD = false; 410 assert(MD->getValue() == From && "Expected valid mapping"); 420 if (getLocalFunctionMetadata(From) && getLocalFunctionMetadata(To) && 421 getLocalFunctionMetadata(From) != getLocalFunctionMetadata(To)) {