reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/DebugInfoMetadata.h
  561   if (auto *F = getFile())
  567   if (auto *F = getFile())
  573   if (auto *F = getFile())
  793     return getTemporary(getContext(), getTag(), getName(), getFile(), getLine(),
  939     return getTemporary(getContext(), getTag(), getName(), getFile(), getLine(),
 1198         getContext(), getSourceLanguage(), getFile(), getProducer(),
 1450   DIFile *getFile() const { return getScope()->getFile(); }
 1688                         getFile(), getLine(), getType(), getScopeLine(),
 1887     return getTemporary(getContext(), getScope(), getFile(), getLine(),
 1936     return getTemporary(getContext(), getScope(), getFile(),
lib/Bitcode/Writer/BitcodeWriter.cpp
 1556   Record.push_back(VE.getMetadataOrNullID(N->getFile()));
 1584   Record.push_back(VE.getMetadataOrNullID(N->getFile()));
 1645   Record.push_back(VE.getMetadataOrNullID(N->getFile()));
 1676   Record.push_back(VE.getMetadataOrNullID(N->getFile()));
 1700   Record.push_back(VE.getMetadataOrNullID(N->getFile()));
 1713   Record.push_back(VE.getMetadataOrNullID(N->getFile()));
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  829   const DIFile *MainSourceFile = CU->getFile();
  868     unsigned FileId = maybeRecordFile(SP->getFile());
  899   unsigned FileId = maybeRecordFile(Site.Inlinee->getFile());
 2042   if (const auto *File = Ty->getFile()) {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  870         NewCU.getMD5AsBytes(DIUnit->getFile()), DIUnit->getSource(),
 1753                  .getOrCreateSourceID(Scope->getFile());
 2861       CU.getMD5AsBytes(DIUnit->getFile()), DIUnit->getSource());
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  440   addSourceLine(Die, SP->getLine(), SP->getFile());
  452   addSourceLine(Die, Ty->getLine(), Ty->getFile());
 1167     unsigned DeclID = getOrCreateSourceID(SPDecl->getFile());
 1168     unsigned DefID = getOrCreateSourceID(SP->getFile());
lib/CodeGen/MachineOutliner.cpp
 1160     DIFile *Unit = SP->getFile();
lib/IR/DebugInfo.cpp
  427     auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile()));
  480     auto *File = cast_or_null<DIFile>(map(CU->getFile()));
  908   return wrap(unwrapDI<DIScope>(Scope)->getFile());
lib/IR/DiagnosticInfo.cpp
  123   File = SP->getFile();
lib/IR/Verifier.cpp
 1002     AssertDI(N.getFile() && !N.getFile()->getFilename().empty(),
 1002     AssertDI(N.getFile() && !N.getFile()->getFilename().empty(),
 1003              "class/union requires a filename", &N, N.getFile());
 1053   AssertDI(!N.getFile()->getFilename().empty(), "invalid filename", &N,
 1054            N.getFile());
 1056   verifySourceDebugInfo(N, *N.getFile());
 1135     if (N.getFile())
 1136       verifySourceDebugInfo(*N.getUnit(), *N.getFile());
lib/Target/BPF/BTFDebug.cpp
  663   auto File = SP->getFile();
lib/Transforms/Utils/CloneFunction.cpp
  136     MD[SP->getFile()].reset(SP->getFile());
  136     MD[SP->getFile()].reset(SP->getFile());
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  184   if (PCLoc.isInvalid() || Scope->getFile() == getOrCreateFile(CurLoc))
  223                              TheCU->getFile());
  409     return TheCU->getFile();
  417     return TheCU->getFile();
  649                                      "objc_class", TheCU, TheCU->getFile(), 0);
  663                                      "objc_class", TheCU, TheCU->getFile(), 0);
  669     ObjTy = DBuilder.createStructType(TheCU, "objc_object", TheCU->getFile(), 0,
  675                    ObjTy, "isa", TheCU->getFile(), 0, Size, 0, 0,
  683                                          TheCU->getFile(), 0);
 1027                                      TheCU, TheCU->getFile(), 0);
 4746   if (auto *DieTy = getOrCreateType(Ty, TheCU->getFile()))
unittests/IR/IRBuilderTest.cpp
  744   EXPECT_EQ(SP->getFile(), GSP->getFile());
  744   EXPECT_EQ(SP->getFile(), GSP->getFile());
unittests/IR/MetadataTest.cpp
 1304   EXPECT_EQ(File, N->getFile());
 1403   EXPECT_EQ(File, N->getFile());
 1652   EXPECT_EQ(nullptr, N->getFile());
 1691   EXPECT_EQ(N, N->getFile());
 1719   EXPECT_EQ(File, N->getFile());
 1736   EXPECT_EQ(File, Temp->getFile());
 1828   EXPECT_EQ(File, N->getFile());
 1957   EXPECT_EQ(File, N->getFile());
 2009   EXPECT_EQ(File, N->getFile());
unittests/Transforms/Utils/CloningTest.cpp
  799   EXPECT_EQ(SP->getFile()->getFilename(), "filename.c");