/freebsd/contrib/llvm-project/clang/lib/FrontendTool/ |
H A D | ExecuteCompilerInvocation.cpp | 45 switch (CI.getFrontendOpts().ProgramAction) { in CreateFrontendBaseAction() 86 if (Plugin.getName() == CI.getFrontendOpts().ActionName) { in CreateFrontendBaseAction() 92 CI.getFrontendOpts().PluginArgs[std::string(Plugin.getName())])) in CreateFrontendBaseAction() 99 << CI.getFrontendOpts().ActionName; in CreateFrontendBaseAction() 150 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in CreateFrontendAction() 157 if (CI.getFrontendOpts().ProgramAction != frontend::MigrateSource && in CreateFrontendAction() 158 CI.getFrontendOpts().ProgramAction != frontend::GeneratePCH) { in CreateFrontendAction() 191 CI.getFrontendOpts().SymbolGraphOutputDir = "."; in CreateFrontendAction() 208 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation() 220 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | ExtractAPIConsumer.cpp | 380 auto OutputDirectory = CI.getFrontendOpts().SymbolGraphOutputDir; in createAdditionalSymbolGraphFile() 394 SerializationOptions.Compact = !CI.getFrontendOpts().EmitPrettySymbolGraphs; in ImplEndSourceFileAction() 396 CI.getFrontendOpts().EmitSymbolGraphSymbolLabelsForTesting; in ImplEndSourceFileAction() 398 if (CI.getFrontendOpts().EmitExtensionSymbolGraphs) { in ImplEndSourceFileAction() 416 auto ProductName = CI.getFrontendOpts().ProductName; in CreateASTConsumer() 418 if (CI.getFrontendOpts().SymbolGraphOutputDir.empty()) in CreateASTConsumer() 433 CI.getFrontendOpts().Inputs.back().getKind().getLanguage(), ProductName); in CreateASTConsumer() 445 if (!CI.getFrontendOpts().ExtractAPIIgnoresFileList.empty()) { in CreateASTConsumer() 447 APIIgnoresList::create(CI.getFrontendOpts().ExtractAPIIgnoresFileList, in CreateASTConsumer() 462 auto &Inputs = CI.getFrontendOpts().Inputs; in PrepareToExecuteAction() [all …]
|
/freebsd/contrib/llvm-project/clang/tools/driver/ |
H A D | cc1_main.cpp | 242 if (!Clang->getFrontendOpts().TimeTracePath.empty()) { in cc1_main() 244 Clang->getFrontendOpts().TimeTraceGranularity, Argv0, in cc1_main() 245 Clang->getFrontendOpts().TimeTraceVerbose); in cc1_main() 248 if (Clang->getFrontendOpts().PrintSupportedCPUs) in cc1_main() 252 if (Clang->getFrontendOpts().PrintSupportedExtensions) in cc1_main() 256 if (Clang->getFrontendOpts().PrintEnabledExtensions) in cc1_main() 306 Clang->getFrontendOpts().TimeTracePath, /*Binary=*/false, in cc1_main() 322 if (Clang->getFrontendOpts().DisableFree) { in cc1_main()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 49 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in EnsureSemaIsCreated() 99 return CreateASTPrinter(std::move(OS), CI.getFrontendOpts().ASTDumpFilter); in CreateASTConsumer() 105 const FrontendOptions &Opts = CI.getFrontendOpts(); in CreateASTConsumer() 134 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer() 137 const auto &FrontendOpts = CI.getFrontendOpts(); in CreateASTConsumer() 155 if (CI.getFrontendOpts().RelocatablePCH && Sysroot.empty()) { in ComputeASTConsumerArguments() 172 OutputFile = CI.getFrontendOpts().OutputFile; in CreateOutputFile() 194 std::string OutputFile = CI.getFrontendOpts().OutputFile; in CreateMultiplexConsumer() 202 CI.getFrontendOpts().ModuleFileExtensions, in CreateMultiplexConsumer() 204 +CI.getFrontendOpts().AllowPCMWithCompilerErrors, in CreateMultiplexConsumer() [all …]
|
H A D | CompilerInstance.cpp | 86 getFrontendOpts().GenerateGlobalModuleIndex)) && in shouldBuildGlobalModuleIndex() 119 !getFrontendOpts().AuxTriple.empty()) { in createTarget() 121 TO->Triple = llvm::Triple::normalize(getFrontendOpts().AuxTriple); in createTarget() 122 if (getFrontendOpts().AuxTargetCPU) in createTarget() 123 TO->CPU = *getFrontendOpts().AuxTargetCPU; in createTarget() 124 if (getFrontendOpts().AuxTargetFeatures) in createTarget() 125 TO->FeaturesAsWritten = *getFrontendOpts().AuxTargetFeatures; in createTarget() 472 getFrontendOpts(), getCodeGenOpts()); in createPreprocessor() 619 getFrontendOpts().ModuleFileExtensions, DependencyCollectors, in createPCHExternalASTSource() 621 getFrontendOpts().UseGlobalModuleIndex); in createPCHExternalASTSource() [all …]
|
H A D | FrontendAction.cpp | 172 for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) { in CreateWrappedASTConsumer() 207 if (llvm::is_contained(CI.getFrontendOpts().AddPluginActions, in CreateWrappedASTConsumer() 219 CI.getFrontendOpts().PluginArgs[std::string(Plugin.getName())])) { in CreateWrappedASTConsumer() 525 StringRef OriginalModuleMapName = CI.getFrontendOpts().OriginalModuleMap; in prepareToBuildModule() 655 CI.getFrontendOpts().ModuleFiles.push_back(MF.FileName); in BeginSourceFile() 658 CI.getFrontendOpts().ModuleMapFiles.push_back( in BeginSourceFile() 749 for (const auto &F : CI.getFrontendOpts().ModulesEmbedFiles) { in BeginSourceFile() 755 if (CI.getFrontendOpts().ModulesEmbedAllFiles) in BeginSourceFile() 926 for (const auto &Filename : CI.getFrontendOpts().ModuleMapFiles) { in BeginSourceFile() 1034 for (const auto &ModuleFile : CI.getFrontendOpts().ModuleFiles) { in BeginSourceFile() [all …]
|
H A D | ASTUnit.cpp | 1192 std::string(Clang->getFrontendOpts().Inputs[0].getFile()); in Parse() 1202 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in Parse() 1204 assert(Clang->getFrontendOpts().Inputs[0].getKind().getFormat() == in Parse() 1207 assert(Clang->getFrontendOpts().Inputs[0].getKind().getLanguage() != in Parse() 1248 if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0])) in Parse() 1345 PreambleInvocationIn.getFrontendOpts().Inputs[0].getFile(); in getMainBufferWithPrecompiledPreamble() 1410 PreambleInvocationIn.getFrontendOpts().SkipFunctionBodies; in getMainBufferWithPrecompiledPreamble() 1412 PreambleInvocationIn.getFrontendOpts().SkipFunctionBodies = true; in getMainBufferWithPrecompiledPreamble() 1419 PreambleInvocationIn.getFrontendOpts().SkipFunctionBodies = in getMainBufferWithPrecompiledPreamble() 1503 if (Invocation && !Invocation->getFrontendOpts().Inputs.empty()) { in getMainFileName() [all …]
|
H A D | ChainedIncludesSource.cpp | 97 InputKind IK = CI.getFrontendOpts().Inputs[0].getKind(); in createChainedIncludesSource() 115 CInvok->getFrontendOpts().Inputs.clear(); in createChainedIncludesSource() 117 CInvok->getFrontendOpts().Inputs.push_back(InputFile); in createChainedIncludesSource()
|
H A D | PrecompiledPreamble.cpp | 337 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer() 423 FrontendOptions &FrontendOpts = PreambleInvocation->getFrontendOpts(); in Build() 472 if (Clang->getFrontendOpts().Inputs.size() != 1 || in Build() 473 Clang->getFrontendOpts().Inputs[0].getKind().getFormat() != in Build() 475 Clang->getFrontendOpts().Inputs[0].getKind().getLanguage() == in Build() 517 if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0])) in Build() 772 auto MainFilePath = CI.getFrontendOpts().Inputs[0].getFile(); in configurePreamble()
|
H A D | CompilerInvocation.cpp | 167 FrontendOpts = make_shared_copy(X.getFrontendOpts()); in deep_copy_assign() 577 FrontendOptions &FrontendOpts = Invocation.getFrontendOpts(); in FixupInvocation() 4807 ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags, LangOpts.IsHeaderFile); in CreateFromArgsImpl() 4809 InputKind DashX = Res.getFrontendOpts().DashX; in CreateFromArgsImpl() 4820 if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC) in CreateFromArgsImpl() 4834 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl() 4839 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl() 4842 Res.getFrontendOpts().OutputFile, LangOpts); in CreateFromArgsImpl() 4854 Res.getFrontendOpts().ProgramAction, in CreateFromArgsImpl() 4855 Res.getFrontendOpts()); in CreateFromArgsImpl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.cpp | 151 quoteMakeTarget(CI.getFrontendOpts().OutputFile, Target); in addOutputPaths() 190 CI.getFrontendOpts().Inputs.clear(); in makeCommonInvocationForModuleBuild() 191 CI.getFrontendOpts().OutputFile.clear(); in makeCommonInvocationForModuleBuild() 193 CI.getFrontendOpts().LLVMArgs.clear(); in makeCommonInvocationForModuleBuild() 206 CI.getFrontendOpts().ProgramAction = frontend::GenerateModule; in makeCommonInvocationForModuleBuild() 207 CI.getFrontendOpts().ARCMTAction = FrontendOptions::ARCMT_None; in makeCommonInvocationForModuleBuild() 208 CI.getFrontendOpts().ObjCMTAction = FrontendOptions::ObjCMT_None; in makeCommonInvocationForModuleBuild() 209 CI.getFrontendOpts().MTMigrateDir.clear(); in makeCommonInvocationForModuleBuild() 238 InputKind ModuleMapInputKind(CI.getFrontendOpts().DashX.getLanguage(), in getInvocationAdjustedForModuleBuildWithoutOutputs() 317 CI.getFrontendOpts().ModuleMapFiles.push_back(MD->ClangModuleMapFile); in addModuleMapFiles() [all …]
|
H A D | DependencyScanningWorker.cpp | 303 OriginalInvocation.getFrontendOpts().DisableFree = DisableFree; in runInvocation() 336 ScanInstance.getFrontendOpts().GenerateGlobalModuleIndex = false; in runInvocation() 337 ScanInstance.getFrontendOpts().UseGlobalModuleIndex = false; in runInvocation() 338 ScanInstance.getFrontendOpts().ModulesShareFileManager = false; in runInvocation() 389 deduceDepTarget(ScanInstance.getFrontendOpts().OutputFile, in runInvocation() 390 ScanInstance.getFrontendOpts().Inputs)}; in runInvocation()
|
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 141 const FrontendOptions &getFrontendOpts() const { return *FrontendOpts; } in getFrontendOpts() function 242 using CompilerInvocationBase::getFrontendOpts; 259 FrontendOptions &getFrontendOpts() { return *FrontendOpts; } in getFrontendOpts() function
|
H A D | CompilerInstance.h | 311 FrontendOptions &getFrontendOpts() { in getFrontendOpts() function 312 return Invocation->getFrontendOpts(); in getFrontendOpts() 314 const FrontendOptions &getFrontendOpts() const { in getFrontendOpts() function 315 return Invocation->getFrontendOpts(); in getFrontendOpts()
|
/freebsd/contrib/llvm-project/clang/lib/Testing/ |
H A D | TestAST.cpp | 106 assert(!Clang->getInvocation().getFrontendOpts().DisableFree); in TestAST() 125 const FrontendInputFile &Main = Clang->getFrontendOpts().Inputs.front(); in TestAST()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 254 CInvok->getFrontendOpts().Inputs.clear(); in checkForManualIssues() 255 CInvok->getFrontendOpts().Inputs.push_back(Input); in checkForManualIssues() 354 CInvok.getFrontendOpts().Inputs.clear(); in applyTransforms() 355 CInvok.getFrontendOpts().Inputs.push_back(Input); in applyTransforms()
|
H A D | ObjCMT.cpp | 2007 unsigned ObjCMTAction = CI.getFrontendOpts().ObjCMTAction; in CreateASTConsumer() 2020 getAllowListFilenames(CI.getFrontendOpts().ObjCMTAllowListPath); in CreateASTConsumer() 2022 CI.getFrontendOpts().OutputFile, ObjCMTAction, Remapper, in CreateASTConsumer()
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | IncrementalParser.cpp | 126 switch (CI.getFrontendOpts().ProgramAction) { in IncrementalAction() 132 CI.getFrontendOpts().ProgramAction); in IncrementalAction()
|
H A D | CodeCompletion.cpp | 369 InterpCI->getFrontendOpts().Inputs[0] = FrontendInputFile( in codeComplete()
|
H A D | Interpreter.cpp | 133 Clang->getFrontendOpts().DisableFree = false; in CreateCI()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 973 if (CI.getFrontendOpts().GenReducedBMI) in BeginSourceFileAction() 1035 if (CI.getFrontendOpts().GenReducedBMI && in CreateASTConsumer() 1036 !CI.getFrontendOpts().ModuleOutputPath.empty()) { in CreateASTConsumer() 1040 CI.getFrontendOpts().ModuleOutputPath); in CreateASTConsumer()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 766 CI, CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer() 767 CI.getFrontendOpts().Plugins, in CreateAnalysisConsumer()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/ |
H A D | Tooling.cpp | 178 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangModulesDeclVendor.cpp | 754 instance->getFrontendOpts().Inputs[0])) in Create()
|