| /freebsd/contrib/llvm-project/clang/lib/FrontendTool/ |
| H A D | ExecuteCompilerInvocation.cpp | 52 unsigned UseCIR = CI.getFrontendOpts().UseClangIRPipeline; in CreateFrontendBaseAction() 53 frontend::ActionKind Act = CI.getFrontendOpts().ProgramAction; in CreateFrontendBaseAction() 59 switch (CI.getFrontendOpts().ProgramAction) { in CreateFrontendBaseAction() 125 if (Plugin.getName() == CI.getFrontendOpts().ActionName) { in CreateFrontendBaseAction() 131 CI.getFrontendOpts().PluginArgs[std::string(Plugin.getName())])) in CreateFrontendBaseAction() 138 << CI.getFrontendOpts().ActionName; in CreateFrontendBaseAction() 182 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in CreateFrontendAction() 194 CI.getFrontendOpts().SymbolGraphOutputDir = "."; in CreateFrontendAction() 211 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation() 223 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 360 auto OutputDirectory = CI.getFrontendOpts().SymbolGraphOutputDir; in createAdditionalSymbolGraphFile() 374 SerializationOptions.Compact = !CI.getFrontendOpts().EmitPrettySymbolGraphs; in ImplEndSourceFileAction() 376 CI.getFrontendOpts().EmitSymbolGraphSymbolLabelsForTesting; in ImplEndSourceFileAction() 378 if (CI.getFrontendOpts().EmitExtensionSymbolGraphs) { in ImplEndSourceFileAction() 396 auto ProductName = CI.getFrontendOpts().ProductName; in CreateASTConsumer() 398 if (CI.getFrontendOpts().SymbolGraphOutputDir.empty()) in CreateASTConsumer() 413 CI.getFrontendOpts().Inputs.back().getKind().getLanguage(), ProductName); in CreateASTConsumer() 425 if (!CI.getFrontendOpts().ExtractAPIIgnoresFileList.empty()) { in CreateASTConsumer() 427 APIIgnoresList::create(CI.getFrontendOpts().ExtractAPIIgnoresFileList, in CreateASTConsumer() 442 auto &Inputs = CI.getFrontendOpts().Inputs; in PrepareToExecuteAction() [all …]
|
| /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() 118 !getFrontendOpts().AuxTriple.empty()) { in createTarget() 120 TO->Triple = llvm::Triple::normalize(getFrontendOpts().AuxTriple); in createTarget() 121 if (getFrontendOpts().AuxTargetCPU) in createTarget() 122 TO->CPU = *getFrontendOpts().AuxTargetCPU; in createTarget() 123 if (getFrontendOpts().AuxTargetFeatures) in createTarget() 124 TO->FeaturesAsWritten = *getFrontendOpts().AuxTargetFeatures; in createTarget() 382 if (getFrontendOpts().ShowStats) in createFileManager() 469 getFrontendOpts(), getCodeGenOpts()); in createPreprocessor() 618 getFrontendOpts().ModuleFileExtensions, DependencyCollectors, in createPCHExternalASTSource() [all …]
|
| H A D | FrontendAction.cpp | 306 CI.getFrontendOpts().DumpMinimizationHintsPath; in CreateWrappedASTConsumer() 325 for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) { in CreateWrappedASTConsumer() 355 if (llvm::is_contained(CI.getFrontendOpts().AddPluginActions, in CreateWrappedASTConsumer() 367 CI.getFrontendOpts().PluginArgs[std::string(Plugin.getName())])) { in CreateWrappedASTConsumer() 676 StringRef OriginalModuleMapName = CI.getFrontendOpts().OriginalModuleMap; in prepareToBuildModule() 803 CI.getFrontendOpts().ModuleFiles.push_back(MF.FileName); in BeginSourceFile() 806 CI.getFrontendOpts().ModuleMapFiles.push_back( in BeginSourceFile() 897 for (const auto &F : CI.getFrontendOpts().ModulesEmbedFiles) { in BeginSourceFile() 903 if (CI.getFrontendOpts().ModulesEmbedAllFiles) in BeginSourceFile() 1074 for (const auto &Filename : CI.getFrontendOpts().ModuleMapFiles) { 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() 1249 if (!Act->BeginSourceFile(*Clang, Clang->getFrontendOpts().Inputs[0])) in Parse() 1346 PreambleInvocationIn.getFrontendOpts().Inputs[0].getFile(); in getMainBufferWithPrecompiledPreamble() 1411 PreambleInvocationIn.getFrontendOpts().SkipFunctionBodies; in getMainBufferWithPrecompiledPreamble() 1413 PreambleInvocationIn.getFrontendOpts().SkipFunctionBodies = true; in getMainBufferWithPrecompiledPreamble() 1420 PreambleInvocationIn.getFrontendOpts().SkipFunctionBodies = in getMainBufferWithPrecompiledPreamble() 1507 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 | 336 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer() 422 FrontendOptions &FrontendOpts = PreambleInvocation->getFrontendOpts(); in Build() 470 if (Clang->getFrontendOpts().Inputs.size() != 1 || in Build() 471 Clang->getFrontendOpts().Inputs[0].getKind().getFormat() != in Build() 473 Clang->getFrontendOpts().Inputs[0].getKind().getLanguage() == in Build() 515 if (!Act->BeginSourceFile(*Clang, Clang->getFrontendOpts().Inputs[0])) in Build() 770 auto MainFilePath = CI.getFrontendOpts().Inputs[0].getFile(); in configurePreamble()
|
| H A D | CompilerInvocation.cpp | 153 FrontendOpts = make_shared_copy(X.getFrontendOpts()); in deep_copy_assign() 577 FrontendOptions &FrontendOpts = Invocation.getFrontendOpts(); in FixupInvocation() 5139 ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags, LangOpts.IsHeaderFile); in CreateFromArgsImpl() 5141 InputKind DashX = Res.getFrontendOpts().DashX; in CreateFromArgsImpl() 5146 if (Res.getFrontendOpts().GenReducedBMI || in CreateFromArgsImpl() 5147 Res.getFrontendOpts().ProgramAction == in CreateFromArgsImpl() 5149 Res.getFrontendOpts().ProgramAction == in CreateFromArgsImpl() 5160 if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC) in CreateFromArgsImpl() 5174 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl() 5177 if (LangOpts.OpenACC && !Res.getFrontendOpts().UseClangIRPipeline && in CreateFromArgsImpl() [all …]
|
| /freebsd/contrib/llvm-project/clang/tools/driver/ |
| H A D | cc1_main.cpp | 251 if (!Clang->getFrontendOpts().TimeTracePath.empty()) { in cc1_main() 253 Clang->getFrontendOpts().TimeTraceGranularity, Argv0, in cc1_main() 254 Clang->getFrontendOpts().TimeTraceVerbose); in cc1_main() 257 if (Clang->getFrontendOpts().PrintSupportedCPUs) in cc1_main() 261 if (Clang->getFrontendOpts().PrintSupportedExtensions) in cc1_main() 265 if (Clang->getFrontendOpts().PrintEnabledExtensions) in cc1_main() 326 Clang->getFrontendOpts().TimeTracePath, /*Binary=*/false, in cc1_main() 342 if (Clang->getFrontendOpts().DisableFree) { in cc1_main()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 96 const FrontendOptions &FEOpts = getCompilerInstance().getFrontendOpts(); in BeginSourceFileAction() 119 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation() 251 Instance.getFrontendOpts().DisableFree = false; in visitModuleFile() 252 Instance.getFrontendOpts().Inputs.clear(); in visitModuleFile() 253 Instance.getFrontendOpts().Inputs.emplace_back( in visitModuleFile() 255 Instance.getFrontendOpts().ModuleFiles.clear(); in visitModuleFile() 256 Instance.getFrontendOpts().ModuleMapFiles.clear(); in visitModuleFile()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalyzerHelpFlags.cpp | 29 CI.getFrontendOpts().Plugins); in printCheckerHelp() 40 CI.getFrontendOpts().Plugins); in printEnabledCheckerList() 49 CI.getFrontendOpts().Plugins); in printCheckerConfigList()
|
| H A D | ModelInjector.cpp | 66 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts(); in onBodySynthesis()
|
| H A D | AnalysisConsumer.cpp | 800 CI, CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer() 801 CI.getFrontendOpts().Plugins, in CreateAnalysisConsumer()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 202 quoteMakeTarget(CI.getFrontendOpts().OutputFile, Target); in addOutputPaths() 286 CI.getFrontendOpts().Inputs.clear(); in makeCommonInvocationForModuleBuild() 287 CI.getFrontendOpts().OutputFile.clear(); in makeCommonInvocationForModuleBuild() 289 CI.getFrontendOpts().LLVMArgs.clear(); in makeCommonInvocationForModuleBuild() 302 CI.getFrontendOpts().ProgramAction = frontend::GenerateModule; in makeCommonInvocationForModuleBuild() 331 InputKind ModuleMapInputKind(CI.getFrontendOpts().DashX.getLanguage(), in getInvocationAdjustedForModuleBuildWithoutOutputs() 413 CI.getFrontendOpts().ModuleMapFiles.push_back(MD->ClangModuleMapFile); in addModuleMapFiles() 425 CI.getFrontendOpts().ModuleFiles.push_back(std::move(PCMPath)); in addModuleFiles() 460 resetBenignCodeGenOptions(CI.getFrontendOpts().ProgramAction, in applyDiscoveredDependencies() 463 if (llvm::any_of(CI.getFrontendOpts().Inputs, needsModules)) { in applyDiscoveredDependencies() [all …]
|
| H A D | DependencyScanningWorker.cpp | 397 OriginalInvocation.getFrontendOpts().DisableFree = DisableFree; in runInvocation() 434 ScanInstance.getFrontendOpts().GenerateGlobalModuleIndex = false; in runInvocation() 435 ScanInstance.getFrontendOpts().UseGlobalModuleIndex = false; in runInvocation() 438 ScanInstance.getFrontendOpts().ModulesShareFileManager = true; in runInvocation() 502 deduceDepTarget(ScanInstance.getFrontendOpts().OutputFile, in runInvocation() 503 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 | 303 FrontendOptions &getFrontendOpts() { in getFrontendOpts() function 304 return Invocation->getFrontendOpts(); in getFrontendOpts() 306 const FrontendOptions &getFrontendOpts() const { in getFrontendOpts() function 307 return Invocation->getFrontendOpts(); in getFrontendOpts()
|
| /freebsd/contrib/llvm-project/clang/lib/Testing/ |
| H A D | TestAST.cpp | 116 assert(!Clang->getInvocation().getFrontendOpts().DisableFree); in TestAST() 125 const FrontendInputFile &Main = Clang->getFrontendOpts().Inputs.front(); in TestAST()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 933 if (CI.getFrontendOpts().GenReducedBMI) in BeginSourceFileAction() 993 if (CI.getFrontendOpts().GenReducedBMI && in CreateASTConsumer() 994 !CI.getFrontendOpts().ModuleOutputPath.empty()) { in CreateASTConsumer() 998 CI.getFrontendOpts().ModuleOutputPath); in CreateASTConsumer()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 142 Clang->getFrontendOpts().DisableFree = false; in CreateCI() 302 switch (CI.getFrontendOpts().ProgramAction) { in IncrementalAction() 308 CI.getFrontendOpts().ProgramAction); in IncrementalAction()
|
| H A D | CodeCompletion.cpp | 370 InterpCI->getFrontendOpts().Inputs[0] = FrontendInputFile( in codeComplete()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/FrontendAction/ |
| H A D | CIRGenAction.cpp | 74 FEOptions(CI.getFrontendOpts()), CGO(CGO) {} in CIRGenConsumer()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 175 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 764 instance->getFrontendOpts().Inputs[0])) in Create()
|