Lines Matching defs:IF
140 std::unique_ptr<InterfaceFile> IF;
145 IF = ExitOnErr(DylibReader::get(Buffer->getMemBufferRef()));
148 IF = ExitOnErr(TextAPIReader::get(Buffer->getMemBufferRef()));
156 return IF;
171 auto removeArchFromIF = [](auto &IF, const ArchitectureSet &ArchSet,
177 auto OutIF = IF->remove(ArchToRemove);
180 IF = std::move(*OutIF);
214 auto IF = getInterfaceFile(FileName);
217 Out = std::move(IF);
220 Out = ExitOnErr(Out->merge(IF.get()));
225 static void stubifyImpl(std::unique_ptr<InterfaceFile> IF, Context &Ctx) {
229 assert(!IF->getPath().empty() && "Unknown output location");
230 SmallString<PATH_MAX> OutputLoc = IF->getPath();
237 handleWriteAction(Ctx, std::move(IF));
353 auto IF = getInterfaceFile(Path);
361 if ((IF->getFileType() == FileType::MachO_DynamicLibrary) ||
362 (IF->getFileType() == FileType::MachO_DynamicLibrary_Stub)) {
363 OriginalNames[NormalizedPath.c_str()] = IF->getPath();
371 Dylibs[NormalizedPath.c_str()] = std::move(IF);
474 auto IF = getInterfaceFile(Ctx.Inputs.front(), /*ResetBanner=*/false);
475 auto OutIF = act(*IF, Ctx.Arch);