Home
last modified time | relevance | path

Searched refs:CompilerInstance (Results 1 – 25 of 68) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendActions.h26 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
39 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
104 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
110 CreateOutputFile(CompilerInstance &CI, StringRef InFile,
113 bool BeginSourceFileAction(CompilerInstance &CI) override;
118 CreateOutputFile(CompilerInstance &CI, StringRef InFile) = 0;
144 bool BeginSourceFileAction(CompilerInstance &CI) override;
152 bool BeginSourceFileAction(CompilerInstance &CI) override;
164 bool BeginSourceFileAction(CompilerInstance &CI) override;
189 bool BeginInvocation(CompilerInstance &CI) override;
[all …]
H A DFrontendAction.h33 class CompilerInstance; variable
39 CompilerInstance *Instance;
79 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation()
85 virtual bool BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
119 CompilerInstance &getCompilerInstance() const { in getCompilerInstance()
207 bool PrepareToExecute(CompilerInstance &CI) { in PrepareToExecute()
260 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
269 virtual bool ParseArgs(const CompilerInstance &CI,
309 bool PrepareToExecuteAction(CompilerInstance &CI) override;
312 bool BeginInvocation(CompilerInstance &CI) override;
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Interpreter/
H A DInterpreter.h38 class CompilerInstance; variable
52 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCpp();
60 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaHost();
61 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaDevice();
64 static llvm::Expected<std::unique_ptr<CompilerInstance>>
84 Interpreter(std::unique_ptr<CompilerInstance> CI, llvm::Error &Err);
97 create(std::unique_ptr<CompilerInstance> CI);
99 createWithCUDA(std::unique_ptr<CompilerInstance> CI,
100 std::unique_ptr<CompilerInstance> DCI);
103 const CompilerInstance *getCompilerInstance() const;
[all …]
H A DCodeCompletion.h24 class CompilerInstance; variable
43 void codeComplete(CompilerInstance *InterpCI, llvm::StringRef Content,
45 const CompilerInstance *ParentCI,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ARCMigrate/
H A DARCMTActions.h21 bool BeginInvocation(CompilerInstance &CI) override;
29 bool BeginInvocation(CompilerInstance &CI) override;
38 bool BeginInvocation(CompilerInstance &CI) override;
39 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
48 bool BeginInvocation(CompilerInstance &CI) override;
62 CompilerInstance *CompInst;
68 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
70 bool BeginInvocation(CompilerInstance &CI) override;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DFrontendActions.h25 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
34 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
37 bool BeginSourceFileAction(CompilerInstance &CI) override;
56 bool BeginInvocation(CompilerInstance &CI) override;
61 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 bool BeginSourceFileAction(CompilerInstance &CI) override;
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp65 CompilerInstance::CompilerInstance( in CompilerInstance() function in CompilerInstance
74 CompilerInstance::~CompilerInstance() { in ~CompilerInstance()
78 void CompilerInstance::setInvocation( in setInvocation()
107 bool CompilerInstance::createTarget() { in createTarget()
183 void CompilerInstance::setSema(Sema *S) { in setSema()
216 void CompilerInstance::setModuleDepCollector( in setModuleDepCollector()
551 void CompilerInstance::createASTContext() { in createASTContext()
724 void CompilerInstance::createFrontendTimer() { in createFrontendTimer()
1363 [&](CompilerInstance &Instance) { in compileModule()
1672 void CompilerInstance::createASTReader() { in createASTReader()
[all …]
H A DFrontendActions.cpp188 GenerateModuleAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
222 CompilerInstance &CI) { in BeginSourceFileAction()
255 CompilerInstance &CI) { in BeginSourceFileAction()
312 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
554 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
816 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
986 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
1078 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
1088 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
1136 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
[all …]
H A DChainedIncludesSource.cpp32 ChainedIncludesSource(std::vector<std::unique_ptr<CompilerInstance>> CIs) in ChainedIncludesSource()
52 std::vector<std::unique_ptr<CompilerInstance>> CIs;
57 createASTReader(CompilerInstance &CI, StringRef pchFile, in createASTReader()
91 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource()
96 std::vector<std::unique_ptr<CompilerInstance>> CIs; in createChainedIncludesSource()
125 std::unique_ptr<CompilerInstance> Clang( in createChainedIncludesSource()
126 new CompilerInstance(CI.getPCHContainerOperations())); in createChainedIncludesSource()
H A DASTMerge.cpp20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
34 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DFrontendActions.h27 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
43 bool PrepareToExecuteAction(CompilerInstance &CI) override;
54 CreateOutputFile(CompilerInstance &CI, StringRef InFile);
72 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
90 CreateOutputFile(CompilerInstance &CI, StringRef InFile);
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp41 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
52 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
96 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
115 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
164 RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
187 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
196 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
205 CompilerInstance &CI;
245 CompilerInstance Instance(CI.getPCHContainerOperations(), in visitModuleFile()
271 bool RewriteIncludesAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/
H A DAnalyzerHelpFlags.h18 class CompilerInstance; variable
22 void printCheckerHelp(llvm::raw_ostream &OS, CompilerInstance &CI);
23 void printEnabledCheckerList(llvm::raw_ostream &OS, CompilerInstance &CI);
25 void printCheckerConfigList(llvm::raw_ostream &OS, CompilerInstance &CI);
H A DAnalysisConsumer.h24 class CompilerInstance; variable
52 CreateAnalysisConsumer(CompilerInstance &CI);
H A DFrontendActions.h28 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
46 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/FrontendTool/
H A DUtils.h21 class CompilerInstance; variable
28 std::unique_ptr<FrontendAction> CreateFrontendAction(CompilerInstance &CI);
34 bool ExecuteCompilerInvocation(CompilerInstance *Clang);
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.h33 class CompilerInstance; variable
46 std::unique_ptr<CompilerInstance> CI;
69 std::unique_ptr<CompilerInstance> Instance,
73 CompilerInstance *getCI() { return CI.get(); } in getCI()
H A DInterpreter.cpp72 static llvm::Expected<std::unique_ptr<CompilerInstance>>
74 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in CreateCI()
134 llvm::Expected<std::unique_ptr<CompilerInstance>>
181 llvm::Expected<std::unique_ptr<CompilerInstance>>
191 llvm::Expected<std::unique_ptr<CompilerInstance>>
219 llvm::Expected<std::unique_ptr<CompilerInstance>>
224 llvm::Expected<std::unique_ptr<CompilerInstance>>
229 Interpreter::Interpreter(std::unique_ptr<CompilerInstance> CI, in Interpreter()
274 Interpreter::create(std::unique_ptr<CompilerInstance> CI) { in create()
294 Interpreter::createWithCUDA(std::unique_ptr<CompilerInstance> CI, in createWithCUDA()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h31 class CompilerInstance; variable
37 ModelInjector(CompilerInstance &CI);
57 CompilerInstance &CI;
H A DAnalyzerHelpFlags.cpp28 void ento::printCheckerHelp(raw_ostream &out, CompilerInstance &CI) { in printCheckerHelp()
40 void ento::printEnabledCheckerList(raw_ostream &out, CompilerInstance &CI) { in printEnabledCheckerList()
50 void ento::printCheckerConfigList(raw_ostream &out, CompilerInstance &CI) { in printCheckerConfigList()
H A DFrontendActions.cpp16 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMTActions.cpp16 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
39 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp57 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName()
171 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName()
215 LocationFileChecker(const CompilerInstance &CI, in LocationFileChecker()
224 const CompilerInstance &CI;
391 ExtractAPIAction::CreateOutputFile(CompilerInstance &CI, StringRef InFile) { in CreateOutputFile()
402 ExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
442 bool ExtractAPIAction::PrepareToExecuteAction(CompilerInstance &CI) { in PrepareToExecuteAction()
502 WrappingExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
561 WrappingExtractAPIAction::CreateOutputFile(CompilerInstance &CI, in CreateOutputFile()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DPCHContainerOperations.h25 class CompilerInstance; variable
45 CreatePCHContainerGenerator(CompilerInstance &CI,
72 CreatePCHContainerGenerator(CompilerInstance &CI,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h28 class CompilerInstance; variable
129 CrossTranslationUnitContext(CompilerInstance &CI);
235 ASTLoader(CompilerInstance &CI, StringRef CTUDir,
258 CompilerInstance &CI;
293 ASTUnitStorage(CompilerInstance &CI);

123