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