Lines Matching refs:imp

346   Defined *imp = impSymbol(name);  in handleMinGWAutomaticImport()  local
347 if (!imp) in handleMinGWAutomaticImport()
357 if (isa<DefinedImportData>(imp)) { in handleMinGWAutomaticImport()
359 cast<DefinedImportData>(imp)->getDLLName()); in handleMinGWAutomaticImport()
361 } else if (isa<DefinedRegular>(imp)) { in handleMinGWAutomaticImport()
363 toString(cast<DefinedRegular>(imp)->file)); in handleMinGWAutomaticImport()
366 warn("unable to automatically import " + name + " from " + imp->getName() + in handleMinGWAutomaticImport()
367 " from " + toString(cast<DefinedRegular>(imp)->file) + in handleMinGWAutomaticImport()
371 sym->replaceKeepingName(imp, impSize); in handleMinGWAutomaticImport()
384 log("Replacing .refptr." + name + " with " + imp->getName()); in handleMinGWAutomaticImport()
386 refptr->replaceKeepingName(imp, impSize); in handleMinGWAutomaticImport()
411 if (Symbol *imp = localImports->lookup(b)) in reportProblemSymbols() local
412 warn("<root>: locally defined symbol imported: " + toString(ctx, *imp) + in reportProblemSymbols()
413 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
435 if (Symbol *imp = localImports->lookup(sym)) in reportProblemSymbols() local
437 ": locally defined symbol imported: " + toString(ctx, *imp) + in reportProblemSymbols()
438 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
464 Symbol *imp = find(name.substr(strlen("__imp_"))); in reportUnresolvable() local
465 if (Defined *def = dyn_cast_or_null<Defined>(imp)) { in reportUnresolvable()
515 Symbol *imp = find(name.substr(strlen("__imp_"))); in resolveRemainingUndefines() local
516 if (imp && isa<Defined>(imp)) { in resolveRemainingUndefines()
517 auto *d = cast<Defined>(imp); in resolveRemainingUndefines()