Home
last modified time | relevance | path

Searched refs:FileKind (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp279 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in mapping()
283 if (Ctx->FileKind == FileType::TBD_V1) in mapping()
290 if (Ctx->FileKind == FileType::TBD_V3) in mapping()
301 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in mapping()
307 if (Ctx->FileKind == FileType::TBD_V3) in mapping()
579 File->setFileType(Ctx->FileKind); in denormalize()
589 if (Ctx->FileKind == FileType::TBD_V1) { in denormalize()
616 if (Ctx->FileKind != FileType::TBD_V3 && in denormalize()
625 if (Ctx->FileKind != FileType::TBD_V3) in denormalize()
634 if (Ctx->FileKind != FileType::TBD_V3) in denormalize()
[all …]
H A DTextStubCommon.cpp49 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in output()
52 if (Ctx && Ctx->FileKind == TBD_V3 && Values.count(PLATFORM_MACOS) && in output()
96 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in input()
100 if (Ctx && Ctx->FileKind == FileType::TBD_V3) { in input()
120 if (Ctx && Ctx->FileKind != FileType::TBD_V3) in input()
192 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in input()
195 if (Ctx->FileKind == FileType::TBD_V4) { in input()
H A DTextAPIContext.h25 FileType FileKind; member
H A DTextStubCommon.h53 const FileType FileKind, bool Compact); in LLVM_YAML_STRONG_TYPEDEF()
H A DInterfaceFile.cpp415 if (!(isYAMLTextStub(FileKind)) && !(isYAMLTextStub(O.FileKind))) { in operator ==()
H A DTextStubV5.cpp996 Expected<Object> getJSON(const InterfaceFile *File, const FileType FileKind) { in getJSON() argument
997 assert(FileKind == FileType::TBD_V5 && "unexpected json file format version"); in getJSON()
1021 const FileType FileKind, in serializeInterfaceFileToJSON() argument
1023 auto TextFile = getJSON(&File, FileKind); in serializeInterfaceFileToJSON()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManagerInternals.h44 SrcMgr::CharacteristicKind FileKind; member
53 SrcMgr::CharacteristicKind FileKind, in get()
59 E.FileKind = FileKind; in get()
112 unsigned EntryExit, SrcMgr::CharacteristicKind FileKind);
H A DSourceManager.h1593 SrcMgr::CharacteristicKind FileKind);
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp58 ProfCorrelatorKind FileKind) { in get() argument
63 if (FileKind == InstrProfCorrelator::BINARY) { in get()
94 InstrProfCorrelator::get(StringRef Filename, ProfCorrelatorKind FileKind) { in get() argument
95 if (FileKind == DEBUG_INFO) { in get()
113 return get(std::move(*BufferOrErr), FileKind); in get()
115 if (FileKind == BINARY) { in get()
120 return get(std::move(*BufferOrErr), FileKind); in get()
130 ProfCorrelatorKind FileKind) { in get() argument
136 auto CtxOrErr = Context::get(std::move(Buffer), *Obj, FileKind); in get()
142 FileKind); in get()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DZipFileResolver.cpp19 FileKind &file_kind, in ResolveSharedLibraryPath()
41 file_kind = FileKind::eFileKindNormal; in ResolveSharedLibraryPath()
66 file_kind = FileKind::eFileKindZip; in ResolveSharedLibraryPath()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DZipFileResolver.h25 enum FileKind { enum
32 FileKind &file_kind,
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DInterfaceFile.h127 void setFileType(FileType Kind) { FileKind = Kind; } in setFileType()
132 FileType getFileType() const { return FileKind; } in getFileType()
432 FileType FileKind{FileType::Invalid};
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DFormatEntity.cpp86 enum FileKind { FileError = 0, Basename, Dirname, Fullpath }; enum
96 Definition("basename", EntryType::ParentNumber, FileKind::Basename),
97 Definition("dirname", EntryType::ParentNumber, FileKind::Dirname),
98 Definition("fullpath", EntryType::ParentNumber, FileKind::Fullpath)};
141 Definition("name", EntryType::ProcessFile, FileKind::Basename),
559 static bool DumpFile(Stream &s, const FileSpec &file, FileKind file_kind) { in DumpFile()
561 case FileKind::FileError: in DumpFile()
564 case FileKind::Basename: in DumpFile()
571 case FileKind::Dirname: in DumpFile()
578 case FileKind::Fullpath: in DumpFile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DTapiFile.cpp53 FileKind(Interface.getFileType()) { in TapiFile()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp1540 SrcMgr::CharacteristicKind FileKind = in HandleLineDirective() local
1544 false, FileKind); in HandleLineDirective()
1548 PPCallbacks::RenameFile, FileKind); in HandleLineDirective()
1554 SrcMgr::CharacteristicKind &FileKind, in ReadLineMarkerFlags() argument
1605 FileKind = SrcMgr::C_System; in ReadLineMarkerFlags()
1619 FileKind = SrcMgr::C_ExternCSystem; in ReadLineMarkerFlags()
1650 SrcMgr::CharacteristicKind FileKind = SrcMgr::C_User; in HandleDigitDirective() local
1657 FileKind = SourceMgr.getFileCharacteristic(DigitTok.getLocation()); in HandleDigitDirective()
1681 if (ReadLineMarkerFlags(IsFileEntry, IsFileExit, FileKind, *this)) in HandleDigitDirective()
1695 IsFileExit, FileKind); in HandleDigitDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.cpp491 Expected<CC::FileType> FileKind = in ExecuteProgram() local
494 if (Error E = FileKind.takeError()) in ExecuteProgram()
501 return cc->ExecuteProgram(OutputAsmFile, Args, *FileKind, InputFile, in ExecuteProgram()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp213 SrcMgr::CharacteristicKind FileKind) { in AddLineNote() argument
242 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
283 SrcMgr::CharacteristicKind FileKind) { in AddLineNote() argument
305 EntryExit, FileKind); in AddLineNote()
1448 return Entry->FileKind; in getFileCharacteristic()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp1336 ZipFileResolver::FileKind file_kind = ZipFileResolver::eFileKindInvalid; in GetModuleInfo()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1432 SrcMgr::CharacteristicKind FileKind in ParseLineTable() local
1436 FileKind, IncludeOffset)); in ParseLineTable()
H A DASTWriter.cpp2447 Record.push_back((unsigned)LE.FileKind); in WriteSourceManagerBlock()