Home
last modified time | relevance | path

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

12

/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.cpp423 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()
/llvm-project/lldb/unittests/Host/common/
H A DZipFileResolverTest.cpp32 ZipFileResolver::FileKind file_kind; in TEST_F()
39 EXPECT_EQ(file_kind, ZipFileResolver::FileKind::eFileKindNormal); in TEST_F()
49 ZipFileResolver::FileKind file_kind; in TEST_F()
61 ZipFileResolver::FileKind file_kind; in TEST_F()
68 EXPECT_EQ(file_kind, ZipFileResolver::FileKind::eFileKindZip); in TEST_F()
/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);
/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
119 if (FileKind == DEBUG_INFO) { in get()
137 return get(std::move(*BufferOrErr), FileKind); in get()
139 if (FileKind == BINARY) { in get()
144 return get(std::move(*BufferOrErr), FileKind); in get()
154 ProfCorrelatorKind FileKind) { in getDataSize()
160 auto CtxOrErr = Context::get(std::move(Buffer), *Obj, FileKind);
166 FileKind); in InstrProfCorrelatorImpl()
130 get(std::unique_ptr<MemoryBuffer> Buffer,ProfCorrelatorKind FileKind) get() argument
187 get(std::unique_ptr<InstrProfCorrelator::Context> Ctx,const object::ObjectFile & Obj,ProfCorrelatorKind FileKind) get() argument
[all...]
/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()
/llvm-project/lldb/include/lldb/Host/common/
H A DZipFileResolver.h25 enum FileKind { enum
32 FileKind &file_kind,
/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h41 get(StringRef Filename, ProfCorrelatorKind FileKind,
80 ProfCorrelatorKind FileKind);
86 /// FileKind is Binary.
122 get(std::unique_ptr<MemoryBuffer> Buffer, ProfCorrelatorKind FileKind);
146 const object::ObjectFile &Obj, ProfCorrelatorKind FileKind);
/llvm-project/clang-tools-extra/clangd/
H A DHeaders.cpp46 SrcMgr::CharacteristicKind FileKind) override { in InclusionDirective() argument
65 Inc.FileKind = FileKind; in InclusionDirective()
356 return std::tie(LHS.Directive, LHS.FileKind, LHS.HashOffset, LHS.HashLine,
358 std::tie(RHS.Directive, RHS.FileKind, RHS.HashOffset, RHS.HashLine,
H A DHeaders.h76 SrcMgr::CharacteristicKind FileKind = SrcMgr::C_User;
74 SrcMgr::CharacteristicKind FileKind = SrcMgr::C_User; global() member
H A DParsedAST.cpp247 /*SuggestedModule=*/nullptr, /*ModuleImported=*/false, Inc.FileKind); in replay()
249 Delegate->FileSkipped(*File, SynthesizedFilenameTok, Inc.FileKind); in replay()
/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
/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};
H A DTextAPIWriter.h34 const FileType FileKind = FileType::Invalid,
/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),
562 static bool DumpFile(Stream &s, const FileSpec &file, FileKind file_kind) { in DumpFile()
564 case FileKind::FileError: in DumpFile()
567 case FileKind::Basename: in DumpFile()
574 case FileKind::Dirname: in DumpFile()
581 case FileKind in DumpFile()
[all...]
/llvm-project/llvm/lib/Object/
H A DTapiFile.cpp52 FileKind(Interface.getFileType()) { in TapiFile()
/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp1562 SrcMgr::CharacteristicKind FileKind = in ReadLineMarkerFlags()
1566 false, FileKind); in ReadLineMarkerFlags()
1570 PPCallbacks::RenameFile, FileKind); in ReadLineMarkerFlags()
1576 SrcMgr::CharacteristicKind &FileKind, in ReadLineMarkerFlags()
1627 FileKind = SrcMgr::C_System;
1641 FileKind = SrcMgr::C_ExternCSystem; in HandleDigitDirective()
1672 SrcMgr::CharacteristicKind FileKind = SrcMgr::C_User; in HandleDigitDirective()
1679 FileKind = SourceMgr.getFileCharacteristic(DigitTok.getLocation()); in HandleDigitDirective()
1703 if (ReadLineMarkerFlags(IsFileEntry, IsFileExit, FileKind, *this)) in HandleDigitDirective()
1717 IsFileExit, FileKind); in HandleUserDiagnosticDirective()
1538 SrcMgr::CharacteristicKind FileKind = HandleLineDirective() local
1552 ReadLineMarkerFlags(bool & IsFileEntry,bool & IsFileExit,SrcMgr::CharacteristicKind & FileKind,Preprocessor & PP) ReadLineMarkerFlags() argument
1648 SrcMgr::CharacteristicKind FileKind = SrcMgr::C_User; HandleDigitDirective() local
[all...]
/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()
/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp198 /// it is 2 then this is a file exit. FileKind specifies whether this is a in getLineTableFilenameID()
202 SrcMgr::CharacteristicKind FileKind) { in getLineTableFilenameID()
231 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
272 SrcMgr::CharacteristicKind FileKind) {
294 EntryExit, FileKind); in AddLineNote()
1463 return Entry->FileKind;
213 AddLineNote(FileID FID,unsigned Offset,unsigned LineNo,int FilenameID,unsigned EntryExit,SrcMgr::CharacteristicKind FileKind) AddLineNote() argument
283 AddLineNote(SourceLocation Loc,unsigned LineNo,int FilenameID,bool IsFileEntry,bool IsFileExit,SrcMgr::CharacteristicKind FileKind) AddLineNote() argument
/llvm-project/clang-tools-extra/include-cleaner/lib/
H A DRecord.cpp223 SrcMgr::CharacteristicKind FileKind) override { in InclusionDirective() argument
/llvm-project/clang-tools-extra/clangd/unittests/
H A DPreambleTests.cpp217 Field(&Inclusion::FileKind, SrcMgr::CharacteristicKind::C_User)))); in TEST()

12