Home
last modified time | relevance | path

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

123

/freebsd/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 &CI, StringRef InFile,
[all …]
H A DFrontendAction.h34 class CompilerInstance; variable
40 CompilerInstance *Instance;
45 std::unique_ptr<ASTConsumer> CreateWrappedASTConsumer(CompilerInstance &CI,
56 virtual bool PrepareToExecuteAction(CompilerInstance &CI) { return true; } in PrepareToExecuteAction()
71 virtual std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
80 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation()
86 virtual bool BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
120 CompilerInstance &getCompilerInstance() const { in getCompilerInstance()
125 void setCompilerInstance(CompilerInstance *Value) { Instance = Value; } in setCompilerInstance()
213 bool PrepareToExecute(CompilerInstance &CI) { in PrepareToExecute()
[all …]
H A DCompilerInstance.h81 class CompilerInstance : public ModuleLoader {
203 CompilerInstance(const CompilerInstance &) = delete;
204 void operator=(const CompilerInstance &) = delete;
206 explicit CompilerInstance(
212 ~CompilerInstance() override;
872 std::unique_ptr<CompilerInstance> cloneForModuleCompileImpl(
885 std::unique_ptr<CompilerInstance> cloneForModuleCompile(
895 StringRef ModuleFileName, CompilerInstance &Instance);
/freebsd/contrib/llvm-project/clang/include/clang/Interpreter/
H A DInterpreter.h39 class CompilerInstance; variable
59 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCpp();
67 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaHost();
68 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaDevice();
71 static llvm::Expected<std::unique_ptr<CompilerInstance>>
74 llvm::Expected<std::unique_ptr<CompilerInstance>> createCuda(bool device);
118 std::unique_ptr<CompilerInstance> CI;
121 std::unique_ptr<CompilerInstance> DeviceCI;
125 Interpreter(std::unique_ptr<CompilerInstance> Instance, llvm::Error &Err,
140 create(std::unique_ptr<CompilerInstance> CI,
[all …]
/freebsd/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/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp68 CompilerInstance::CompilerInstance( in CompilerInstance() function in CompilerInstance
79 CompilerInstance::~CompilerInstance() { in ~CompilerInstance()
83 bool CompilerInstance::shouldBuildGlobalModuleIndex() const { in shouldBuildGlobalModuleIndex()
90 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) { in setDiagnostics()
94 void CompilerInstance::setVerboseOutputStream(raw_ostream &Value) { in setVerboseOutputStream()
99 void CompilerInstance::setVerboseOutputStream(std::unique_ptr<raw_ostream> Value) { in setVerboseOutputStream()
104 void CompilerInstance::setTarget(TargetInfo *Value) { Target = Value; } in setTarget()
105 void CompilerInstance::setAuxTarget(TargetInfo *Value) { AuxTarget = Value; } in setAuxTarget()
107 bool CompilerInstance::createTarget() { in createTarget()
159 llvm::vfs::FileSystem &CompilerInstance::getVirtualFileSystem() const { in getVirtualFileSystem()
[all …]
H A DFrontendActions.cpp42 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 &CI, StringRef InFile) { in CreateASTConsumer()
152 bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance &CI, in ComputeASTConsumerArguments()
[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 auto Clang = std::make_unique<CompilerInstance>( 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/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp40 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
51 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
95 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
114 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
163 RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
186 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
195 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
204 CompilerInstance &CI;
210 RewriteImportsListener(CompilerInstance &CI, std::shared_ptr<raw_ostream> Out) in RewriteImportsListener()
244 CompilerInstance Instance( in visitModuleFile()
[all …]
/freebsd/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
53 CreateAnalysisConsumer(CompilerInstance &CI);
H A DFrontendActions.h28 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
46 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
/freebsd/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h31 class CompilerInstance; variable
37 ModelInjector(CompilerInstance &CI);
57 CompilerInstance &CI;
H A DAnalyzerHelpFlags.cpp23 void ento::printCheckerHelp(raw_ostream &out, CompilerInstance &CI) { in printCheckerHelp()
35 void ento::printEnabledCheckerList(raw_ostream &out, CompilerInstance &CI) { in printEnabledCheckerList()
45 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/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.h22 class CompilerInstance; variable
31 CompilerInstance &DeviceInstance, CompilerInstance &HostInstance,
H A DInterpreter.cpp86 static llvm::Expected<std::unique_ptr<CompilerInstance>>
88 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in CreateCI()
151 llvm::Expected<std::unique_ptr<CompilerInstance>>
198 llvm::Expected<std::unique_ptr<CompilerInstance>>
214 llvm::Expected<std::unique_ptr<CompilerInstance>>
243 llvm::Expected<std::unique_ptr<CompilerInstance>>
248 llvm::Expected<std::unique_ptr<CompilerInstance>>
296 IncrementalAction(CompilerInstance &CI, llvm::LLVMContext &LLVMCtx, in IncrementalAction()
332 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
367 Interpreter::Interpreter(std::unique_ptr<CompilerInstance> Instance, in Interpreter()
[all …]
H A DIncrementalParser.h25 class CompilerInstance; variable
50 IncrementalParser(CompilerInstance &Instance, llvm::Error &Err);
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DFrontendActions.h27 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
43 bool PrepareToExecuteAction(CompilerInstance &CI) override;
69 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp59 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;
359 createAdditionalSymbolGraphFile(CompilerInstance &CI, Twine BaseName) { in createAdditionalSymbolGraphFile()
372 void ExtractAPIActionBase::ImplEndSourceFileAction(CompilerInstance &CI) { in ImplEndSourceFileAction()
395 ExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
441 bool ExtractAPIAction::PrepareToExecuteAction(CompilerInstance &CI) { in PrepareToExecuteAction()
503 WrappingExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenAction.h57 bool loadLinkModules(CompilerInstance &CI);
60 bool BeginSourceFileAction(CompilerInstance &CI) override;
69 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DPCHContainerOperations.h25 class CompilerInstance; variable
45 CreatePCHContainerGenerator(CompilerInstance &CI,
72 CreatePCHContainerGenerator(CompilerInstance &CI,
/freebsd/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