Home
last modified time | relevance | path

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

/freebsd-src/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 ! in denormalize()
1138 writeToStream(raw_ostream & OS,const InterfaceFile & File,const FileType FileKind,bool Compact) writeToStream() argument
[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;
26 FileType FileKind; global() 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))) {
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-src/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-src/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()
187 get(std::unique_ptr<InstrProfCorrelator::Context> Ctx,const object::ObjectFile & Obj,ProfCorrelatorKind FileKind) get() argument
[all...]
/freebsd-src/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-src/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DZipFileResolver.h25 enum FileKind { enum
32 FileKind &file_kind,
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h39 get(StringRef Filename, ProfCorrelatorKind FileKind);
76 ProfCorrelatorKind FileKind);
118 get(std::unique_ptr<MemoryBuffer> Buffer, ProfCorrelatorKind FileKind);
142 const object::ObjectFile &Obj, ProfCorrelatorKind FileKind);
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DTapiFile.h49 bool hasSegmentInfo() { return FileKind >= MachO::FileType::TBD_V5; } in hasSegmentInfo()
69 MachO::FileType FileKind; variable
/freebsd-src/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DInterfaceFile.h127 void setFileType(FileType Kind) { FileKind = Kind; }
132 FileType getFileType() const { return FileKind; }
412 /// compatibilities. Path, & FileKind are irrelevant since these by
432 FileType FileKind{FileType::Invalid};
H A DTextAPIWriter.h34 const FileType FileKind = FileType::Invalid,
/freebsd-src/contrib/llvm-project/lldb/source/Core/
H A DFormatEntity.cpp86 enum FileKind { FileError = 0, Basename, Dirname, Fullpath };
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 in DumpFile()
85 enum FileKind { FileError = 0, Basename, Dirname, Fullpath }; global() enum
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp1540 SrcMgr::CharacteristicKind FileKind = in ReadLineMarkerFlags()
1544 false, FileKind); in ReadLineMarkerFlags()
1548 PPCallbacks::RenameFile, FileKind); in ReadLineMarkerFlags()
1554 SrcMgr::CharacteristicKind &FileKind,
1605 FileKind = SrcMgr::C_System; in HandleDigitDirective()
1619 FileKind = SrcMgr::C_ExternCSystem; in HandleDigitDirective()
1650 SrcMgr::CharacteristicKind FileKind = SrcMgr::C_User; in HandleUserDiagnosticDirective()
1657 FileKind = SourceMgr.getFileCharacteristic(DigitTok.getLocation());
1681 if (ReadLineMarkerFlags(IsFileEntry, IsFileExit, FileKind, *this)) in HandleIdentSCCSDirective()
1695 IsFileExit, FileKind); in HandleMacroPublicDirective()
1463 SrcMgr::CharacteristicKind FileKind = HandleLineDirective() local
1477 ReadLineMarkerFlags(bool & IsFileEntry,bool & IsFileExit,SrcMgr::CharacteristicKind & FileKind,Preprocessor & PP) ReadLineMarkerFlags() argument
1573 SrcMgr::CharacteristicKind FileKind = SrcMgr::C_User; HandleDigitDirective() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DTapiFile.cpp53 FileKind(Interface.getFileType()) { in TapiFile()
/freebsd-src/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-src/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp209 /// it is 2 then this is a file exit. FileKind specifies whether this is a in AddLineNote()
213 SrcMgr::CharacteristicKind FileKind) { in AddLineNote()
242 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in FindNearestLineEntry()
283 SrcMgr::CharacteristicKind FileKind) { in AddLineNote()
305 EntryExit, FileKind);
1448 return Entry->FileKind;
205 AddLineNote(FileID FID,unsigned Offset,unsigned LineNo,int FilenameID,unsigned EntryExit,SrcMgr::CharacteristicKind FileKind) AddLineNote() argument
275 AddLineNote(SourceLocation Loc,unsigned LineNo,int FilenameID,bool IsFileEntry,bool IsFileExit,SrcMgr::CharacteristicKind FileKind) AddLineNote() argument
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp1336 ZipFileResolver::FileKind file_kind = ZipFileResolver::eFileKindInvalid; in GetModuleInfo()
/freebsd-src/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1432 SrcMgr::CharacteristicKind FileKind in ReadSourceManagerBlock()
1436 FileKind, IncludeOffset)); in ReadSourceManagerBlock()
1391 SrcMgr::CharacteristicKind FileKind ParseLineTable() local
H A DASTWriter.cpp2447 Record.push_back((unsigned)LE.FileKind); in WritePreprocessor()