Home
last modified time | relevance | path

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

123

/freebsd-src/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,
47 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
64 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
70 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
76 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
82 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
88 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
104 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
110 CreateOutputFile(CompilerInstance
260 CreateASTConsumer(CompilerInstance &,StringRef) CreateASTConsumer() argument
271 CreateASTConsumer(CompilerInstance &,StringRef) CreateASTConsumer() argument
[all...]
H A DFrontendAction.h33 class CompilerInstance; variable
39 CompilerInstance *Instance;
44 std::unique_ptr<ASTConsumer> CreateWrappedASTConsumer(CompilerInstance &CI,
55 virtual bool PrepareToExecuteAction(CompilerInstance &CI) { return true; } in PrepareToExecuteAction()
70 virtual std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation()
85 virtual bool BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
119 CompilerInstance &getCompilerInstance() const { in getCompilerInstance()
124 void setCompilerInstance(CompilerInstance *Value) { Instance = Value; } in setCompilerInstance()
207 bool PrepareToExecute(CompilerInstance &CI) { in PrepareToExecute()
[all …]
/freebsd-src/contrib/llvm-project/clang/include/clang/Interpreter/
H A DInterpreter.h40 class CompilerInstance;
44 /// Create a pre-configured \c CompilerInstance for incremental processing.
56 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCpp();
64 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaHost();
65 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaDevice();
68 static llvm::Expected<std::unique_ptr<CompilerInstance>>
71 llvm::Expected<std::unique_ptr<CompilerInstance>> createCuda(bool device);
114 Interpreter(std::unique_ptr<CompilerInstance> CI, llvm::Error &Err,
135 create(std::unique_ptr<CompilerInstance> CI); in getValuePrintingInfo()
137 createWithCUDA(std::unique_ptr<CompilerInstance> C in getValuePrintingInfo()
38 class CompilerInstance; global() variable
[all...]
H A DCodeCompletion.h24 class CompilerInstance; variable
43 void codeComplete(CompilerInstance *InterpCI, llvm::StringRef Content,
45 const CompilerInstance *ParentCI,
/freebsd-src/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-src/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1 //===--- CompilerInstance.cpp ---------------------------------------------===//
9 #include "clang/Frontend/CompilerInstance.h"
65 CompilerInstance::CompilerInstance( in CompilerInstance() function in CompilerInstance
74 CompilerInstance::~CompilerInstance() { in ~CompilerInstance()
78 void CompilerInstance::setInvocation( in setInvocation()
83 bool CompilerInstance::shouldBuildGlobalModuleIndex() const { in shouldBuildGlobalModuleIndex()
90 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) { in setDiagnostics()
94 void CompilerInstance
1156 __anon52f0fd0b0402(CompilerInstance &) compileModuleImpl() argument
1158 __anon52f0fd0b0502(CompilerInstance &) __anon52f0fd0b0502() argument
[all...]
H A DFrontendActions.cpp17 #include "clang/Frontend/CompilerInstance.h"
42 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer()
47 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated()
63 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
86 ReadPCHAndPreprocessAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
96 ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
104 ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
113 ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
118 ASTViewAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
123 GeneratePCHAction::CreateASTConsumer(CompilerInstance
[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-src/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-src/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;
211 RewriteImportsListener(CompilerInstance &CI, std::shared_ptr<raw_ostream> Out) in RewriteImportsListener()
245 CompilerInstance Instance(CI.getPCHContainerOperations(), in visitModuleFile()
[all …]
/freebsd-src/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DFrontendActions.h27 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
38 /// Prepare to execute the action on the given CompilerInstance.
43 bool PrepareToExecuteAction(CompilerInstance &CI) override;
69 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
/freebsd-src/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-src/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-src/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.cpp35 #include "clang/Frontend/CompilerInstance.h"
78 static llvm::Expected<std::unique_ptr<CompilerInstance>> in CreateCI()
80 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in CreateCI()
116 // FIXME: Merge with CompilerInstance::ExecuteAction. in CreateCI()
140 llvm::Expected<std::unique_ptr<CompilerInstance>> in create()
187 llvm::Expected<std::unique_ptr<CompilerInstance>> in CreateCpp()
204 llvm::Expected<std::unique_ptr<CompilerInstance>> in createCuda()
233 llvm::Expected<std::unique_ptr<CompilerInstance>> in Interpreter()
238 llvm::Expected<std::unique_ptr<CompilerInstance>> in ~Interpreter()
[all...]
/freebsd-src/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-src/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-src/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp30 #include "clang/Frontend/CompilerInstance.h"
60 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName()
64 "CompilerInstance does not have a FileNamager!"); in getRelativeIncludeName()
172 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName()
216 LocationFileChecker(const CompilerInstance &CI, in LocationFileChecker()
225 const CompilerInstance &CI;
379 createAdditionalSymbolGraphFile(CompilerInstance &CI, Twine BaseName) { in ImplEndSourceFileAction()
392 void ExtractAPIActionBase::ImplEndSourceFileAction(CompilerInstance &CI) { in CreateOutputFile()
415 ExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
461 bool ExtractAPIAction::PrepareToExecuteAction(CompilerInstance in PrepareToExecuteAction()
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Serialization/
H A DPCHContainerOperations.h25 class CompilerInstance; variable
45 CreatePCHContainerGenerator(CompilerInstance &CI,
72 CreatePCHContainerGenerator(CompilerInstance &CI,
/freebsd-src/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