/external/llvm-project/llvm/unittests/Support/ |
D | ReplaceFileTest.cpp | 77 SmallString<128> SourceFileName(TestDirectory); in TEST() local 78 path::append(SourceFileName, "source"); in TEST() 83 ASSERT_NO_ERROR(CreateFileWithContent(SourceFileName, "!!source!!")); in TEST() 93 EXPECT_TRUE(!fs::rename(SourceFileName, TargetFileName)); in TEST() 100 EXPECT_FALSE(fs::exists(SourceFileName)); in TEST() 109 EXPECT_TRUE(!fs::rename(TargetFileName, SourceFileName)); in TEST() 111 ASSERT_TRUE(fs::exists(SourceFileName)); in TEST() 114 ASSERT_NO_ERROR(fs::remove(SourceFileName)); in TEST() 125 SmallString<128> SourceFileName(TestDirectory); in TEST() local 126 path::append(SourceFileName, "source"); in TEST() [all …]
|
/external/llvm/unittests/Support/ |
D | ReplaceFileTest.cpp | 62 SmallString<128> SourceFileName(TestDirectory); in TEST() local 63 path::append(SourceFileName, "source"); in TEST() 68 ASSERT_NO_ERROR(CreateFileWithContent(SourceFileName, "!!source!!")); in TEST() 78 EXPECT_TRUE(!fs::rename(SourceFileName, TargetFileName)); in TEST() 87 EXPECT_FALSE(fs::exists(SourceFileName)); in TEST() 104 EXPECT_TRUE(!fs::rename(TargetFileName, SourceFileName)); in TEST() 106 ASSERT_TRUE(fs::exists(SourceFileName)); in TEST() 109 ASSERT_NO_ERROR(fs::remove(SourceFileName)); in TEST()
|
/external/llvm-project/clang/unittests/CrossTU/ |
D | CrossTranslationUnitTest.cpp | 71 llvm::SmallString<256> SourceFileName; in HandleTranslationUnit() local 73 SourceFileName)); in HandleTranslationUnit() 74 llvm::ToolOutputFile SourceFile(SourceFileName, SourceFD); in HandleTranslationUnit() 77 EXPECT_TRUE(llvm::sys::fs::exists(SourceFileName)); in HandleTranslationUnit() 80 tooling::buildASTFromCode(SourceText, SourceFileName); in HandleTranslationUnit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | BitstreamRemarkParser.cpp | 552 Expected<StringRef> SourceFileName = (*StrTab)[*Helper.SourceFileNameIdx]; in processRemark() local 553 if (!SourceFileName) in processRemark() 554 return SourceFileName.takeError(); in processRemark() 556 R.Loc->SourceFilePath = *SourceFileName; in processRemark() 592 if (Expected<StringRef> SourceFileName = in processRemark() local 595 R.Args.back().Loc->SourceFilePath = *SourceFileName; in processRemark() 599 return SourceFileName.takeError(); in processRemark()
|
/external/llvm-project/llvm/lib/Remarks/ |
D | BitstreamRemarkParser.cpp | 551 Expected<StringRef> SourceFileName = (*StrTab)[*Helper.SourceFileNameIdx]; in processRemark() local 552 if (!SourceFileName) in processRemark() 553 return SourceFileName.takeError(); in processRemark() 555 R.Loc->SourceFilePath = *SourceFileName; in processRemark() 591 if (Expected<StringRef> SourceFileName = in processRemark() local 594 R.Args.back().Loc->SourceFilePath = *SourceFileName; in processRemark() 598 return SourceFileName.takeError(); in processRemark()
|
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
D | IntelJITEventListener.cpp | 114 std::string SourceFileName; in NotifyObjectEmitted() local 172 SourceFileName = Lines.front().second.FileName; in NotifyObjectEmitted() 174 const_cast<char *>(SourceFileName.c_str()); in NotifyObjectEmitted()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/ |
D | IntelJITEventListener.cpp | 116 std::string SourceFileName; in notifyObjectLoaded() local 186 SourceFileName = Lines.front().second.FileName; in notifyObjectLoaded() 188 const_cast<char *>(SourceFileName.c_str()); in notifyObjectLoaded()
|
/external/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ |
D | IntelJITEventListener.cpp | 245 std::string SourceFileName; in notifyObjectLoaded() local 315 SourceFileName = Lines.front().second.FileName; in notifyObjectLoaded() 317 const_cast<char *>(SourceFileName.c_str()); in notifyObjectLoaded()
|
/external/clang/lib/Lex/ |
D | Pragma.cpp | 642 StringRef SourceFileName; in HandlePragmaIncludeAlias() local 646 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias() 653 SourceFileName = FileNameBuffer; in HandlePragmaIncludeAlias() 699 StringRef OriginalSource = SourceFileName; in HandlePragmaIncludeAlias() 703 SourceFileName); in HandlePragmaIncludeAlias() 707 if (!SourceFileName.empty() && !ReplaceFileName.empty() && in HandlePragmaIncludeAlias() 716 << SourceFileName in HandlePragmaIncludeAlias()
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | IRSymtab.h | 148 Str TargetTriple, SourceFileName; member 280 StringRef getSourceFileName() const { return str(header().SourceFileName); } in getSourceFileName()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | IRSymtab.h | 147 Str TargetTriple, SourceFileName; member 279 StringRef getSourceFileName() const { return str(header().SourceFileName); } in getSourceFileName()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/ |
D | LTO.h | 120 StringRef TargetTriple, SourceFileName, COFFLinkerOpts; variable 172 StringRef getSourceFileName() const { return SourceFileName; } in getSourceFileName()
|
/external/llvm-project/llvm/include/llvm/LTO/ |
D | LTO.h | 120 StringRef TargetTriple, SourceFileName, COFFLinkerOpts; variable 172 StringRef getSourceFileName() const { return SourceFileName; } in getSourceFileName()
|
/external/llvm/include/llvm/IR/ |
D | Module.h | 183 std::string SourceFileName; ///< Original source file name for module, 214 const std::string &getSourceFileName() const { return SourceFileName; } 262 void setSourceFileName(StringRef Name) { SourceFileName = Name; }
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Module.h | 186 std::string SourceFileName; ///< Original source file name for module, variable 222 const std::string &getSourceFileName() const { return SourceFileName; } in getSourceFileName() 277 void setSourceFileName(StringRef Name) { SourceFileName = Name; } in setSourceFileName()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Module.h | 194 std::string SourceFileName; ///< Original source file name for module, variable 230 const std::string &getSourceFileName() const { return SourceFileName; } in getSourceFileName() 285 void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } in setSourceFileName()
|
/external/llvm-project/clang/lib/Lex/ |
D | Pragma.cpp | 683 StringRef SourceFileName; in HandlePragmaIncludeAlias() local 686 SourceFileName = getSpelling(SourceFilenameTok, FileNameBuffer); in HandlePragmaIncludeAlias() 721 StringRef OriginalSource = SourceFileName; in HandlePragmaIncludeAlias() 725 SourceFileName); in HandlePragmaIncludeAlias() 729 if (!SourceFileName.empty() && !ReplaceFileName.empty() && in HandlePragmaIncludeAlias() 738 << SourceFileName in HandlePragmaIncludeAlias()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1616 Optional<StringRef> SourceFileName; in translateFile() local 1634 SourceFileName = llvm::sys::path::filename(SourceFile->getName()); in translateFile() 1635 if (*SourceFileName == llvm::sys::path::filename(MainFile->getName())) { in translateFile() 1685 (SourceFileName || in translateFile() 1686 (SourceFileName = llvm::sys::path::filename(SourceFile->getName()))) && in translateFile() 1702 *SourceFileName == llvm::sys::path::filename(Entry->getName())) { in translateFile()
|
/external/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/ |
D | PerfJITEventListener.cpp | 246 std::string SourceFileName; in notifyObjectLoaded() local
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/PerfJITEvents/ |
D | PerfJITEventListener.cpp | 246 std::string SourceFileName; in notifyObjectLoaded() local
|
/external/llvm/lib/IR/ |
D | Module.cpp | 52 : Context(C), Materializer(), ModuleID(MID), SourceFileName(MID), DL("") { in Module()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | IRSymtab.cpp | 314 setStr(Hdr.SourceFileName, IRMods[0]->getSourceFileName()); in build()
|
/external/llvm-project/llvm/lib/Object/ |
D | IRSymtab.cpp | 318 setStr(Hdr.SourceFileName, IRMods[0]->getSourceFileName()); in build()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 800 std::string SourceFileName; member in __anon9c8db84c0411::ModuleSummaryIndexBitcodeReader 820 StringRef SourceFileName); 5387 StringRef SourceFileName) { in setValueGUID() argument 5389 GlobalValue::getGlobalIdentifier(ValueName, Linkage, SourceFileName); in setValueGUID() 5464 assert(!SourceFileName.empty()); in parseValueSymbolTable() 5469 setValueGUID(ValueID, ValueName, Linkage, SourceFileName); in parseValueSymbolTable() 5478 assert(!SourceFileName.empty()); in parseValueSymbolTable() 5483 setValueGUID(ValueID, ValueName, Linkage, SourceFileName); in parseValueSymbolTable() 5548 if (!SourceFileName.empty()) in parseModule() 5590 SourceFileName = ValueName.c_str(); in parseModule() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Module.cpp | 74 : Context(C), Materializer(), ModuleID(MID), SourceFileName(MID), DL("") { in Module()
|