Searched refs:MainFile (Results 1 – 8 of 8) sorted by relevance
244 void GeneratePTH(StringRef MainFile);482 void PTHWriter::GeneratePTH(StringRef MainFile) { in GeneratePTH() argument493 if (!MainFile.empty()) { in GeneratePTH()494 EmitString(MainFile); in GeneratePTH()576 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens() local577 SmallString<128> MainFilePath(MainFile->getName()); in CacheTokens()
195 void addVisited(bool MainFile) { in addVisited() argument196 if (MainFile) in addVisited()201 void addMissing(bool MainFile) { in addMissing() argument202 if (MainFile) in addMissing()207 void addMismatched(bool MainFile) { ++Mismatched; } in addMismatched() argument211 void reportDiagnostics(DiagnosticsEngine &Diags, StringRef MainFile);
796 llvm::MemoryBuffer *MainFile = SM.getBuffer(FID, &Invalid); in ExecuteAction() local806 TheModule = parseIR(MainFile->getMemBufferRef(), Err, *VMContext); in ExecuteAction()838 MainFile->getMemBufferRef()); in ExecuteAction()
454 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in EmitCXXGlobalInitFunc() local458 FileName = llvm::sys::path::filename(MainFile->getName()); in EmitCXXGlobalInitFunc()
361 StringRef MainFile) { in reportDiagnostics() argument365 if (MainFile.empty()) in reportDiagnostics()366 MainFile = "<stdin>"; in reportDiagnostics()367 Diags.Report(diag::warn_profile_data_unprofiled) << MainFile; in reportDiagnostics()1401 if (const auto *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in isInSanitizerBlacklist() local1402 return SanitizerBL.isBlacklistedFile(MainFile->getName()); in isInSanitizerBlacklist()
407 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit() local408 MainFileDir = remapDIPath(MainFile->getDir()->getName()); in CreateCompileUnit()
1633 const FileEntry *MainFile = MainContentCache->OrigEntry; in translateFile() local1635 if (*SourceFileName == llvm::sys::path::filename(MainFile->getName())) { in translateFile()1639 getActualFileUID(MainFile)) { in translateFile()1642 SourceFile = MainFile; in translateFile()
1496 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteControlBlock() local1506 EmitRecordWithPath(FileAbbrevCode, Record, MainFile->getName()); in WriteControlBlock()