Home
last modified time | relevance | path

Searched refs:DIFile (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h139 createCompileUnit(unsigned Lang, DIFile *File, StringRef Producer,
156 DIFile *
158 Optional<DIFile::ChecksumInfo<StringRef>> Checksum = None,
177 DIFile *File);
241 DIDerivedType *createTypedef(DIType *Ty, StringRef Name, DIFile *File,
271 DIFile *File, unsigned LineNo,
291 DIFile *File, unsigned LineNo,
309 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
324 DIFile *File, unsigned LineNo,
340 DIDerivedType *createObjCIVar(StringRef Name, DIFile *File, unsigned LineNo,
[all …]
DDebugInfoMetadata.h407 DIFile *getFile() const { return cast_or_null<DIFile>(getRawFile()); } in getFile()
423 return isa<DIFile>(this) ? const_cast<DIScope *>(this) in getRawFile()
452 class DIFile : public DIScope {
492 DIFile(LLVMContext &C, StorageType Storage, in DIFile() function
497 ~DIFile() = default;
499 static DIFile *getImpl(LLVMContext &Context, StringRef Filename,
512 static DIFile *getImpl(LLVMContext &Context, MDString *Filename,
524 DEFINE_MDNODE_GET(DIFile, (StringRef Filename, StringRef Directory,
528 DEFINE_MDNODE_GET(DIFile, (MDString * Filename, MDString *Directory,
774 getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, DIFile *File,
[all …]
DMetadata.def95 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile)
DDiagnosticInfo.h346 DIFile *File = nullptr;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp139 unsigned Lang, DIFile *File, StringRef Producer, bool isOptimized, in createCompileUnit()
165 Metadata *NS, DIFile *File, unsigned Line, StringRef Name, in createImportedModule()
180 DINamespace *NS, DIFile *File, in createImportedModule()
189 DIFile *File, unsigned Line) { in createImportedModule()
196 DIFile *File, unsigned Line) { in createImportedModule()
204 DIFile *File, in createImportedDeclaration()
214 DIFile *DIBuilder::createFile(StringRef Filename, StringRef Directory, in createFile()
215 Optional<DIFile::ChecksumInfo<StringRef>> CS, in createFile()
217 return DIFile::get(VMContext, Filename, Directory, CS, Source); in createFile()
233 unsigned LineNumber, DIFile *File) { in createTempMacroFile()
[all …]
DDebugInfo.cpp427 auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile())); in getReplacementSubprogram()
480 auto *File = cast_or_null<DIFile>(map(CU->getFile())); in getReplacementCU()
532 if (isa<DIFile>(N)) in remap()
761 auto File = unwrapDI<DIFile>(FileRef); in LLVMDIBuilderCreateCompileUnit()
809 unwrapDI<DIFile>(File), LineNo, unwrapDI<DISubroutineType>(Ty), ScopeLine, in LLVMDIBuilderCreateFunction()
820 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlock()
830 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateLexicalBlockFile()
842 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromNamespace()
855 unwrapDI<DIFile>(File), Line)); in LLVMDIBuilderCreateImportedModuleFromAlias()
866 unwrapDI<DIFile>(File), in LLVMDIBuilderCreateImportedModuleFromModule()
[all …]
DDebugInfoMetadata.cpp234 assert((isa<DIFile>(this) || isa<DICompileUnit>(this)) && in getScope()
250 assert((isa<DILexicalBlockBase>(this) || isa<DIFile>(this) || in getName()
481 static const char *ChecksumKindName[DIFile::CSK_Last] = {
486 StringRef DIFile::getChecksumKindAsString(ChecksumKind CSKind) { in getChecksumKindAsString()
487 assert(CSKind <= DIFile::CSK_Last && "Invalid checksum kind"); in getChecksumKindAsString()
494 Optional<DIFile::ChecksumKind> DIFile::getChecksumKind(StringRef CSKindStr) { in getChecksumKind()
495 return StringSwitch<Optional<DIFile::ChecksumKind>>(CSKindStr) in getChecksumKind()
496 .Case("CSK_MD5", DIFile::CSK_MD5) in getChecksumKind()
497 .Case("CSK_SHA1", DIFile::CSK_SHA1) in getChecksumKind()
501 DIFile *DIFile::getImpl(LLVMContext &Context, MDString *Filename, in getImpl()
[all …]
DLLVMContextImpl.h579 template <> struct MDNodeKeyImpl<DIFile> {
582 Optional<DIFile::ChecksumInfo<MDString *>> Checksum;
586 Optional<DIFile::ChecksumInfo<MDString *>> Checksum,
590 MDNodeKeyImpl(const DIFile *N)
594 bool isKeyOf(const DIFile *RHS) const {
DVerifier.cpp533 void verifySourceDebugInfo(const DICompileUnit &U, const DIFile &F);
889 AssertDI(isa<DIFile>(F), "invalid file", &N, F); in visitDIScope()
1026 void Verifier::visitDIFile(const DIFile &N) { in visitDIFile()
1028 Optional<DIFile::ChecksumInfo<StringRef>> Checksum = N.getChecksum(); in visitDIFile()
1030 AssertDI(Checksum->Kind <= DIFile::ChecksumKind::CSK_Last, in visitDIFile()
1034 case DIFile::CSK_MD5: in visitDIFile()
1037 case DIFile::CSK_SHA1: in visitDIFile()
1053 AssertDI(N.getRawFile() && isa<DIFile>(N.getRawFile()), "invalid file", &N, in visitDICompileUnit()
1107 AssertDI(isa<DIFile>(F), "invalid file", &N, F); in visitDISubprogram()
1204 AssertDI(isa<DIFile>(F), "invalid file", &N, F); in visitDIMacroFile()
[all …]
DAsmWriter.cpp1610 void printChecksum(const DIFile::ChecksumInfo<StringRef> &N);
1649 const DIFile::ChecksumInfo<StringRef> &Checksum) { in printChecksum()
1906 static void writeDIFile(raw_ostream &Out, const DIFile *N, TypePrinting *, in writeDIFile()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.hpp35 class DIFile;
150 llvm::DIFile *getOrCreateFile(const char *path);
166 std::unordered_map<std::string, llvm::DIFile *> diFiles;
DLLVMReactorDebugInfo.cpp472 llvm::DIFile *DebugInfo::getOrCreateFile(const char *path) in getOrCreateFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h190 void addSourceLine(DIE &Die, unsigned Line, const DIFile *File);
290 Optional<MD5::MD5Result> getMD5AsBytes(const DIFile *File) const;
303 virtual unsigned getOrCreateSourceID(const DIFile *File) = 0;
350 unsigned getOrCreateSourceID(const DIFile *File) override;
DCodeViewDebug.h274 using FileToFilepathMapTy = std::map<const DIFile *, std::string>;
277 StringRef getFullFilepath(const DIFile *File);
279 unsigned maybeRecordFile(const DIFile *F);
DDwarfUnit.cpp311 Optional<MD5::MD5Result> DwarfUnit::getMD5AsBytes(const DIFile *File) const { in getMD5AsBytes()
315 Optional<DIFile::ChecksumInfo<StringRef>> Checksum = File->getChecksum(); in getMD5AsBytes()
316 if (!Checksum || Checksum->Kind != DIFile::CSK_MD5) in getMD5AsBytes()
328 unsigned DwarfTypeUnit::getOrCreateSourceID(const DIFile *File) { in getOrCreateSourceID()
416 void DwarfUnit::addSourceLine(DIE &Die, unsigned Line, const DIFile *File) { in addSourceLine()
620 if (!Context || isa<DIFile>(Context)) in getOrCreateContextDIE()
719 if (!Context || isa<DICompileUnit>(Context) || isa<DIFile>(Context) || in updateAcceleratorTables()
1430 bool IndexEnumerators = !Context || isa<DICompileUnit>(Context) || isa<DIFile>(Context) || in constructEnumTypeDIE()
DDwarfCompileUnit.h165 unsigned getOrCreateSourceID(const DIFile *File) override;
DCodeViewDebug.cpp174 StringRef CodeViewDebug::getFullFilepath(const DIFile *File) { in getFullFilepath()
238 unsigned CodeViewDebug::maybeRecordFile(const DIFile *F) { in maybeRecordFile()
253 case DIFile::CSK_MD5: CSKind = FileChecksumKind::MD5; break; in maybeRecordFile()
254 case DIFile::CSK_SHA1: CSKind = FileChecksumKind::SHA1; break; in maybeRecordFile()
357 if (!Scope || isa<DIFile>(Scope)) in getScopeIndex()
829 const DIFile *MainSourceFile = CU->getFile(); in emitBuildInfo()
DDwarfCompileUnit.cpp108 unsigned DwarfCompileUnit::getOrCreateSourceID(const DIFile *File) { in getOrCreateSourceID()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.def96 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIFile)
/third_party/skia/third_party/externals/swiftshader/docs/
DReactorDebugInfo.md149 DIFile: "foo.cpp"
209 DIFile: "foo.cpp"
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp1440 Optional<DIFile::ChecksumInfo<MDString *>> Checksum; in parseOneMetadata()
1447 Checksum.emplace(static_cast<DIFile::ChecksumKind>(Record[3]), in parseOneMetadata()
1451 DIFile, in parseOneMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOutliner.cpp1165 DIFile *Unit = SP->getFile(); in createOutlinedFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp3904 struct ChecksumKindField : public MDFieldImpl<DIFile::ChecksumKind> {
3905 ChecksumKindField(DIFile::ChecksumKind CSKind) : ImplTy(CSKind) {} in ChecksumKindField()
4327 Optional<DIFile::ChecksumKind> CSKind = in ParseMDField()
4328 DIFile::getChecksumKind(Lex.getStrVal()); in ParseMDField()
4611 OPTIONAL(checksumkind, ChecksumKindField, (DIFile::CSK_MD5)); \ in ParseDIFile()
4617 Optional<DIFile::ChecksumInfo<MDString *>> OptChecksum; in ParseDIFile()
4626 Result = GET_OR_DISTINCT(DIFile, (Context, filename.Val, directory.Val, in ParseDIFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp311 void writeDIFile(const DIFile *N, SmallVectorImpl<uint64_t> &Record,
1618 void ModuleBitcodeWriter::writeDIFile(const DIFile *N, in writeDIFile()