/external/llvm-project/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 44 const std::string MainFileName; member in __anon26f05d670111::PCHContainerGenerator 136 PCHContainerGenerator(CompilerInstance &CI, const std::string &MainFileName, in PCHContainerGenerator() argument 140 : Diags(CI.getDiagnostics()), MainFileName(MainFileName), in PCHContainerGenerator() 153 CodeGenOpts.MainFileName = in PCHContainerGenerator() 154 LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule; in PCHContainerGenerator() 168 M.reset(new llvm::Module(MainFileName, *VMContext)); in Initialize() 175 StringRef ModuleName = llvm::sys::path::filename(MainFileName); in Initialize() 320 CompilerInstance &CI, const std::string &MainFileName, in CreatePCHContainerGenerator() argument 325 CI, MainFileName, OutputFileName, std::move(OS), Buffer); in CreatePCHContainerGenerator()
|
D | ModuleBuilder.cpp | 70 if (ModuleName == "-" && !CGO.MainFileName.empty()) in ExpandModuleName() 71 return CGO.MainFileName; in ExpandModuleName()
|
D | CGDebugInfo.cpp | 535 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit() local 536 if (MainFileName.empty()) in CreateCompileUnit() 537 MainFileName = "<stdin>"; in CreateCompileUnit() 546 if (!llvm::sys::path::is_absolute(MainFileName)) { in CreateCompileUnit() 548 llvm::sys::path::append(MainFileDirSS, MainFileName); in CreateCompileUnit() 549 MainFileName = in CreateCompileUnit() 556 if (MainFile->getName() == MainFileName && in CreateCompileUnit() 560 MainFileName = CGM.getModule().getName().str(); in CreateCompileUnit() 622 remapDIPath(MainFileName), remapDIPath(getCurrentDirname()), CSInfo, in CreateCompileUnit()
|
/external/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 46 const std::string MainFileName; member in __anond268d5990111::PCHContainerGenerator 139 PCHContainerGenerator(CompilerInstance &CI, const std::string &MainFileName, in PCHContainerGenerator() argument 143 : Diags(CI.getDiagnostics()), MainFileName(MainFileName), in PCHContainerGenerator() 166 M.reset(new llvm::Module(MainFileName, *VMContext)); in Initialize() 173 StringRef ModuleName = llvm::sys::path::filename(MainFileName); in Initialize() 309 CompilerInstance &CI, const std::string &MainFileName, in CreatePCHContainerGenerator() argument 312 return llvm::make_unique<PCHContainerGenerator>(CI, MainFileName, in CreatePCHContainerGenerator()
|
D | CGDebugInfo.cpp | 398 std::string MainFileName = CGM.getCodeGenOpts().MainFileName; in CreateCompileUnit() local 399 if (MainFileName.empty()) in CreateCompileUnit() 400 MainFileName = "<stdin>"; in CreateCompileUnit() 411 llvm::sys::path::append(MainFileDirSS, MainFileName); in CreateCompileUnit() 412 MainFileName = MainFileDirSS.str(); in CreateCompileUnit() 458 LangTag, remapDIPath(MainFileName), remapDIPath(getCurrentDirname()), in CreateCompileUnit()
|
/external/clang/include/clang/Frontend/ |
D | PCHContainerOperations.h | 50 CompilerInstance &CI, const std::string &MainFileName, 77 CompilerInstance &CI, const std::string &MainFileName,
|
D | CodeGenOptions.h | 131 std::string MainFileName; variable
|
/external/llvm-project/clang/include/clang/Serialization/ |
D | PCHContainerOperations.h | 48 const std::string &MainFileName, 75 const std::string &MainFileName,
|
/external/clang/include/clang/CodeGen/ |
D | ObjectFilePCHContainerOperations.h | 26 CompilerInstance &CI, const std::string &MainFileName,
|
/external/llvm-project/clang/include/clang/CodeGen/ |
D | ObjectFilePCHContainerOperations.h | 26 const std::string &MainFileName,
|
/external/clang/tools/driver/ |
D | cc1as_main.cpp | 94 std::string MainFileName; member 207 Opts.MainFileName = Args.getLastArgValue(OPT_main_file_name); in CreateFromArgs() 353 if (!Opts.MainFileName.empty()) in ExecuteAssembler() 354 Ctx.setMainFileName(StringRef(Opts.MainFileName)); in ExecuteAssembler()
|
/external/llvm-project/clang/tools/driver/ |
D | cc1as_main.cpp | 101 std::string MainFileName; member 241 Opts.MainFileName = std::string(Args.getLastArgValue(OPT_main_file_name)); in CreateFromArgs() 418 if (!Opts.MainFileName.empty()) in ExecuteAssembler() 419 Ctx.setMainFileName(StringRef(Opts.MainFileName)); in ExecuteAssembler()
|
/external/llvm-project/clang/lib/Serialization/ |
D | PCHContainerOperations.cpp | 54 CompilerInstance &CI, const std::string &MainFileName, in CreatePCHContainerGenerator() argument
|
/external/clang/lib/Frontend/ |
D | PCHContainerOperations.cpp | 55 CompilerInstance &CI, const std::string &MainFileName, in CreatePCHContainerGenerator() argument
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | DefineOutline.cpp | 402 auto MainFileName = in apply() local 404 if (!MainFileName) in apply() 407 auto CCFile = getSourceFile(*MainFileName, Sel); in apply()
|
/external/llvm/include/llvm/MC/ |
D | MCContext.h | 132 std::string MainFileName; variable 439 const std::string &getMainFileName() const { return MainFileName; } in getMainFileName() 442 void setMainFileName(StringRef S) { MainFileName = S; } in setMainFileName()
|
/external/llvm-project/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 162 MainFileName("main-file-name", variable 436 if (!MainFileName.empty()) in main() 437 Ctx.setMainFileName(MainFileName); in main()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 167 MainFileName("main-file-name", variable 469 if (!MainFileName.empty()) in main() 470 Ctx.setMainFileName(MainFileName); in main()
|
/external/llvm-project/llvm/include/llvm/MC/ |
D | MCContext.h | 153 std::string MainFileName; variable 596 const std::string &getMainFileName() const { return MainFileName; } in getMainFileName() 599 void setMainFileName(StringRef S) { MainFileName = std::string(S); } in setMainFileName()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCContext.h | 150 std::string MainFileName; variable 541 const std::string &getMainFileName() const { return MainFileName; } in getMainFileName() 544 void setMainFileName(StringRef S) { MainFileName = S; } in setMainFileName()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | PreambleTests.cpp | 52 llvm::StringRef MainFileName = "main.cpp") { in collectPatchedIncludes() argument 55 TU.Filename = MainFileName.str(); in collectPatchedIncludes()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | CodeGenOptions.h | 202 std::string MainFileName; variable
|
/external/llvm/lib/MC/ |
D | MCContext.cpp | 58 MainFileName = in MCContext() 87 MainFileName.clear(); in reset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCContext.cpp | 71 MainFileName = in MCContext() 101 MainFileName.clear(); in reset()
|
/external/llvm-project/llvm/lib/MC/ |
D | MCContext.cpp | 71 MainFileName = std::string(SrcMgr->getMemoryBuffer(SrcMgr->getMainFileID()) in MCContext() 102 MainFileName.clear(); in reset()
|