Home
last modified time | relevance | path

Searched refs:getFrontendOpts (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp44 switch (CI.getFrontendOpts().ProgramAction) { in CreateFrontendBaseAction()
78 if (it->getName() == CI.getFrontendOpts().ActionName) { in CreateFrontendBaseAction()
89 << CI.getFrontendOpts().ActionName; in CreateFrontendBaseAction()
138 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in CreateFrontendAction()
184 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
196 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
218 Clang->getFrontendOpts().ActionName = it->getName(); in ExecuteCompilerInvocation()
227 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
228 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation()
232 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str(); in ExecuteCompilerInvocation()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DFrontendActions.cpp42 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in EnsureSemaIsCreated()
78 CI.getFrontendOpts().ASTDumpFilter, in CreateASTConsumer()
79 CI.getFrontendOpts().ASTDumpDecls, in CreateASTConsumer()
80 CI.getFrontendOpts().ASTDumpAll, in CreateASTConsumer()
106 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer()
109 const auto &FrontendOpts = CI.getFrontendOpts(); in CreateASTConsumer()
147 OutputFile = CI.getFrontendOpts().OutputFile; in CreateOutputFile()
201 if (CI.getFrontendOpts().OutputFile.empty()) { in CreateOutputFile()
207 CI.getFrontendOpts().OutputFile = in CreateOutputFile()
246 auto &Inputs = CI.getFrontendOpts().Inputs; in PrepareToExecuteAction()
[all …]
H A DFrontendAction.cpp592 CI.getFrontendOpts().ModuleFiles.push_back(MF.FileName); in BeginSourceFile()
677 for (const auto &F : CI.getFrontendOpts().ModulesEmbedFiles) { in BeginSourceFile()
683 if (CI.getFrontendOpts().ModulesEmbedAllFiles) in BeginSourceFile()
795 for (const auto &Filename : CI.getFrontendOpts().ModuleMapFiles) { in BeginSourceFile()
900 for (const auto &ModuleFile : CI.getFrontendOpts().ModuleFiles) in BeginSourceFile()
906 if (!CI.getFrontendOpts().OverrideRecordLayoutsFile.empty() && in BeginSourceFile()
967 bool DisableFree = CI.getFrontendOpts().DisableFree; in EndSourceFile()
978 if (CI.getFrontendOpts().ShowStats) { in EndSourceFile()
1025 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in ExecuteAction()
1036 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
[all …]
H A DCompilerInstance.cpp399 getFrontendOpts()); in createPreprocessor()
495 getFrontendOpts().ModuleFileExtensions, in createPCHExternalASTSource()
500 getFrontendOpts().UseGlobalModuleIndex); in createPCHExternalASTSource()
821 getDependencyOutputOpts(), getFrontendOpts()); in InitializeSourceManager()
916 !getFrontendOpts().AuxTriple.empty()) { in ExecuteAction()
942 if (getFrontendOpts().ShowTimers) in ExecuteAction()
945 if (getFrontendOpts().ShowStats || !getFrontendOpts().StatsFile.empty()) in ExecuteAction()
988 if (getFrontendOpts().ShowStats) { in ExecuteAction()
995 StringRef StatsFile = getFrontendOpts().StatsFile; in ExecuteAction()
1484 getFrontendOpts().ModuleFileExtensions, in createModuleManager()
[all …]
H A DASTUnit.cpp1110 OriginalSourceFile = Clang->getFrontendOpts().Inputs[0].getFile(); in Parse()
1128 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in Parse()
1286 PreambleInvocationIn.getFrontendOpts().Inputs[0].getFile(); in getMainBufferWithPrecompiledPreamble()
1350 PreambleInvocationIn.getFrontendOpts().SkipFunctionBodies; in getMainBufferWithPrecompiledPreamble()
1358 PreambleInvocationIn.getFrontendOpts().SkipFunctionBodies = in getMainBufferWithPrecompiledPreamble()
1529 CI->getFrontendOpts().DisableFree = false; in LoadFromCompilerInvocationAction()
1559 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in LoadFromCompilerInvocationAction()
1642 Invocation->getFrontendOpts().DisableFree = false; in LoadFromCompilerInvocation()
1743 CI->getFrontendOpts().SkipFunctionBodies = in LoadFromCommandLine()
2126 FrontendOptions &FrontendOpts = CCInvocation->getFrontendOpts(); in CodeComplete()
[all …]
H A DPrecompiledPreamble.cpp210 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer()
242 FrontendOptions &FrontendOpts = PreambleInvocation->getFrontendOpts(); in Build()
299 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in Build()
301 assert(Clang->getFrontendOpts().Inputs[0].getKind().getFormat() == in Build()
304 assert(Clang->getFrontendOpts().Inputs[0].getKind().getLanguage() != in Build()
343 if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0])) in Build()
691 auto MainFilePath = CI.getFrontendOpts().Inputs[0].getFile(); in configurePreamble()
H A DChainedIncludesSource.cpp120 InputKind IK = CI.getFrontendOpts().Inputs[0].getKind(); in createChainedIncludesSource()
137 CInvok->getFrontendOpts().Inputs.clear(); in createChainedIncludesSource()
139 CInvok->getFrontendOpts().Inputs.push_back(InputFile); in createChainedIncludesSource()
H A DCompilerInvocation.cpp3271 InputKind DashX = ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags, in CreateFromArgs()
3275 Res.getTargetOpts(), Res.getFrontendOpts()); in CreateFromArgs()
3297 if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC) in CreateFromArgs()
3314 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()
3319 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()
3331 Res.getFrontendOpts().ProgramAction); in CreateFromArgs()
3333 Res.getFrontendOpts().ProgramAction); in CreateFromArgs()
3414 const FrontendOptions &frontendOpts = getFrontendOpts(); in getModuleHash()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp97 const FrontendOptions &FEOpts = getCompilerInstance().getFrontendOpts(); in BeginSourceFileAction()
120 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation()
247 Instance.getFrontendOpts().DisableFree = false; in visitModuleFile()
248 Instance.getFrontendOpts().Inputs.clear(); in visitModuleFile()
249 Instance.getFrontendOpts().Inputs.emplace_back( in visitModuleFile()
251 Instance.getFrontendOpts().ModuleFiles.clear(); in visitModuleFile()
252 Instance.getFrontendOpts().ModuleMapFiles.clear(); in visitModuleFile()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCompilerInvocation.h212 FrontendOptions &getFrontendOpts() { return FrontendOpts; } in getFrontendOpts() function
213 const FrontendOptions &getFrontendOpts() const { return FrontendOpts; } in getFrontendOpts() function
H A DCompilerInstance.h293 FrontendOptions &getFrontendOpts() { in getFrontendOpts() function
294 return Invocation->getFrontendOpts(); in getFrontendOpts()
296 const FrontendOptions &getFrontendOpts() const { in getFrontendOpts() function
297 return Invocation->getFrontendOpts(); in getFrontendOpts()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DARCMT.cpp256 CInvok->getFrontendOpts().Inputs.clear(); in checkForManualIssues()
257 CInvok->getFrontendOpts().Inputs.push_back(Input); in checkForManualIssues()
356 CInvok.getFrontendOpts().Inputs.clear(); in applyTransforms()
357 CInvok.getFrontendOpts().Inputs.push_back(Input); in applyTransforms()
H A DObjCMT.cpp2015 unsigned ObjCMTAction = CI.getFrontendOpts().ObjCMTAction; in CreateASTConsumer()
2028 getWhiteListFilenames(CI.getFrontendOpts().ObjCMTWhiteListPath); in CreateASTConsumer()
2030 CI.getFrontendOpts().OutputFile, ObjCMTAction, Remapper, in CreateASTConsumer()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.cpp68 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts(); in onBodySynthesis()
H A DAnalysisConsumer.cpp768 CI, CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer()
769 CI.getFrontendOpts().Plugins, in CreateAnalysisConsumer()
/freebsd-12.1/contrib/llvm/tools/clang/tools/driver/
H A Dcc1_main.cpp231 if (Clang->getFrontendOpts().DisableFree) { in cc1_main()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp649 instance->getFrontendOpts().Inputs[0])) in Create()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DTooling.cpp125 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp898 CI.getLangOpts(), CI.getFrontendOpts().ShowTimers, InFile, in CreateASTConsumer()