Home
last modified time | relevance | path

Searched refs:getFile (Results 1 – 25 of 170) sorted by relevance

1234567

/freebsd/contrib/llvm-project/lld/MachO/
H A DSymbols.h96 InputFile *getFile() const { return file; } in getFile() function
272 (file && getFile()->umbrella->forceWeakImport); in isWeakRef()
279 DylibFile *getFile() const { in getFile() function
291 getFile()->numReferencedSymbols++; in reference()
298 assert(getFile()->numReferencedSymbols > 0); in unreference()
299 getFile()->numReferencedSymbols--; in unreference()
315 ArchiveFile *getFile() const { return cast<ArchiveFile>(file); } in getFile() function
H A DSymbolTable.cpp142 std::string srcFile1 = toString(defined->getFile()); in addDefined()
170 ") in the bitcode file(" + toString(undef->getFile()) + in addDefined()
184 toString(undef->getFile()) + in addDefined()
192 file = undef->getFile(); in addDefined()
233 extract(*s->getFile(), s->getName()); in addUndefined()
334 assert(!isec || !isec->getFile()); // See makeSyntheticInputSection(). in addSynthetic()
501 if (sym.getFile() && sym.getFile()->kind() == InputFile::ObjKind) { in getAlternativeSpelling()
503 for (const Symbol *s : sym.getFile()->symbols) in getAlternativeSpelling()
649 if (corrected->getFile()) in reportUndefinedSymbol()
650 message += "\n>>> defined in: " + toString(corrected->getFile()); in reportUndefinedSymbol()
H A DMapFile.cpp80 if (d->isec() && d->getFile() == file && in gatherMapInfo()
142 readerToFileOrdinal.lookup(sym->getFile()), in printStubsEntries()
213 readerToFileOrdinal[sym->getFile()], in writeMapFile()
266 readerToFileOrdinal[sym->getFile()], in writeMapFile()
H A DSymbols.cpp109 return originalIsec ? dyn_cast_or_null<ObjFile>(originalIsec->getFile()) in getObjectFile()
133 void LazyArchive::fetchArchiveMember() { getFile()->fetch(sym); } in fetchArchiveMember()
H A DInputSection.cpp118 return (toString(getFile()) + ":(symbol " + toString(*sym) + "+0x" + in getLocation()
130 return (toString(getFile()) + ":(" + getName() + "+0x" + in getLocation()
136 auto *obj = dyn_cast_or_null<ObjFile>(getFile()); in getSourceLocation()
411 return (toString(isec->getFile()) + ":(" + isec->getName() + ")").str(); in toString()
H A DMarkLive.cpp88 std::string out = toString(*s) + " from " + toString(s->getFile()); in printWhyLive()
97 " from " + toString(symbols.front()->getFile()); in printWhyLive()
H A DLTO.cpp131 r.Prevailing = !objSym.isUndefined() && sym->getFile() == &f; in add()
149 replaceSymbol<Undefined>(sym, sym->getName(), sym->getFile(), in add()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/FileSystem/
H A DUniqueID.h48 uint64_t getFile() const { return File; } in getFile() function
68 return hash_value(std::make_pair(Tag.getDevice(), Tag.getFile()));
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemoryBuffer.h98 getFile(const Twine &Filename, bool IsText = false,
203 getFile(const Twine &Filename, bool IsVolatile = false,
267 getFile(const Twine &Filename, int64_t FileSize = -1);
/freebsd/contrib/llvm-project/lld/COFF/
H A DMinGW.cpp159 if (!sym->getFile()) in shouldExport()
162 StringRef libName = sys::path::filename(sym->getFile()->parentName); in shouldExport()
169 StringRef fileName = sys::path::filename(sym->getFile()->getName()); in shouldExport()
H A DSymbolTable.cpp308 l->getFile()->getName() + " for stdcall fixup"); in loadMinGWSymbols()
332 log("Loading lazy " + l->getName() + " from " + l->getFile()->getName() + in loadMinGWSymbols()
413 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
438 " (defined in " + toString(imp->getFile()) + ") [LNK4217]"); in reportProblemSymbols()
694 if (d && isa<ObjFile>(d->getFile())) { in reportDuplicate()
695 os << getSourceLocation(d->getFile(), d->getChunk(), d->getValue(), in reportDuplicate()
698 os << getSourceLocation(existing->getFile(), nullptr, 0, ""); in reportDuplicate()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp291 SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote()
747 if (Entry->getFile().getContentCache().OrigEntry) in getNonBuiltinFilenameForID()
748 return Entry->getFile().getName(); in getNonBuiltinFilenameForID()
762 return Entry->getFile().getContentCache().getBufferDataIfLoaded(); in getBufferDataIfLoaded()
768 if (auto B = Entry->getFile().getContentCache().getBufferOrNone( in getBufferDataOrNone()
1125 Entry.getFile().getContentCache().getBufferOrNone(Diag, getFileManager(), in getCharacterData()
1320 Content = &Entry.getFile().getContentCache(); in getLineNumber()
1432 const SrcMgr::FileInfo &FI = SEntry->getFile(); in getFileCharacteristic()
1483 const SrcMgr::FileInfo &FI = Entry.getFile(); in getPresumedLoc()
1557 const SrcMgr::FileInfo &FI = Entry->getFile(); in isInMainFile()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h527 DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); } in getFile() function
686 if (auto *F = getFile()) in getFilename()
692 if (auto *F = getFile()) in getDirectory()
698 if (auto *F = getFile()) in getSource()
1048 return getTemporary(getContext(), getTag(), getName(), getFile(), getLine(), in cloneImpl()
1206 getContext(), getTag(), getName(), getFile(), getLine(), getScope(), in cloneImpl()
1510 getContext(), getSourceLanguage(), getFile(), getProducer(), in cloneImpl()
1752 getFile(), getLine(), getType(), getScopeLine(), in cloneImpl()
2025 DIFile *getFile() const { return getScope()->getFile(); } in getFile() function
2275 return getTemporary(getContext(), getScope(), getFile(), getLine(), in cloneImpl()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h499 const FileInfo &getFile() const { in getFile() function
500 return const_cast<SLocEntry *>(this)->getFile(); in getFile()
503 FileInfo &getFile() { in getFile() function
1053 return Entry->getFile().getContentCache().getBufferOrNone(
1079 return Entry->getFile().getContentCache().OrigEntry; in getFileEntryRefForID()
1092 if (auto FE = SLocEntry.getFile().getContentCache().OrigEntry) in getFileEntryForSLocEntry()
1120 return Entry->getFile().NumCreatedFIDs; in getNumCreatedFIDsForFileID()
1131 assert((Force || Entry->getFile().NumCreatedFIDs == 0) && "Already set!");
1132 Entry->getFile().NumCreatedFIDs = NumFIDs;
1173 return Entry->getFile().getIncludeLoc(); in getIncludeLoc()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendAction.h141 return CurrentInput.getFile(); in getCurrentFile()
147 ? CurrentInput.getFile() in getCurrentFileOrBufferName()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp172 return getFile(Filename, IsText, RequiresNullTerminator, in getFileOrSTDIN()
261 MemoryBuffer::getFile(const Twine &Filename, bool IsText, in getFile() function in MemoryBuffer
292 WritableMemoryBuffer::getFile(const Twine &Filename, bool IsVolatile, in getFile() function in WritableMemoryBuffer
455 WriteThroughMemoryBuffer::getFile(const Twine &Filename, int64_t FileSize) { in getFile() function in WriteThroughMemoryBuffer
H A DFileUtilities.cpp184 ErrorOr<std::unique_ptr<MemoryBuffer>> F1OrErr = MemoryBuffer::getFile(NameA); in DiffFilesWithTolerance()
192 ErrorOr<std::unique_ptr<MemoryBuffer>> F2OrErr = MemoryBuffer::getFile(NameB); in DiffFilesWithTolerance()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DInputFile.h112 const InputFile &getFile() const { return *File; } in getFile() function
113 InputFile &getFile() { return *File; } in getFile() function
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DScratchBuffer.cpp41 .getFile() in getToken()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymReader.cpp387 dump(OS, getFile(I)); in dump()
414 dump(OS, getFile(LE.File));
426 if (auto File = getFile(II.CallFile)) {
/freebsd/contrib/llvm-project/llvm/lib/Testing/Support/
H A DSupportHelpers.cpp43 auto File = MemoryBuffer::getFile(InputFilePath, /*IsText=*/true); in getInputFileDirectory()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp364 MemoryBuffer::getFile(Path); in getLocalLTOModule()
550 auto InputOrErr = MemoryBuffer::getFile(Filename); in loadAllFilesForIndex()
656 auto InputOrErr = MemoryBuffer::getFile(Filename); in thinLink()
870 auto InputOrErr = MemoryBuffer::getFile(Filename); in codegen()
909 auto InputOrErr = MemoryBuffer::getFile(Filename); in runAll()
996 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(Filename))); in main()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DArchiveWriter.h37 static Expected<NewArchiveMember> getFile(StringRef FileName,
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp99 MemoryBuffer::getFile(Path, /*IsText=*/true); in openFile()
133 ErrorOr<std::unique_ptr<MemoryBuffer>> MaybeBuf = MemoryBuffer::getFile( in doList()
474 ErrorOr<std::unique_ptr<MemoryBuffer>> MOrErr = MemoryBuffer::getFile( in libDriverMain()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp302 return SplitLineTable->getFile( in getOrCreateSourceID()
421 addSourceLine(Die, V->getLine(), V->getFile()); in addSourceLine()
427 addSourceLine(Die, G->getLine(), G->getFile()); in addSourceLine()
433 addSourceLine(Die, SP->getLine(), SP->getFile()); in addSourceLine()
439 addSourceLine(Die, L->getLine(), L->getFile()); in addSourceLine()
445 addSourceLine(Die, Ty->getLine(), Ty->getFile()); in addSourceLine()
451 addSourceLine(Die, Ty->getLine(), Ty->getFile()); in addSourceLine()
1176 if (M->getFile()) in getOrCreateModule()
1178 getOrCreateSourceID(M->getFile())); in getOrCreateModule()
1240 unsigned DeclID = getOrCreateSourceID(SPDecl->getFile()); in applySubprogramDefinitionAttributes()
[all …]

1234567