Home
last modified time | relevance | path

Searched refs:CompilerInstance (Results 1 – 25 of 57) 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.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 …]
H A DPrecompiledPreamble.h35 class CompilerInstance; variable
219 virtual void BeforeExecute(CompilerInstance &CI);
223 virtual void AfterExecute(CompilerInstance &CI);
/freebsd/contrib/llvm-project/clang/include/clang/Interpreter/
H A DInterpreter.h40 class CompilerInstance; variable
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);
137 createWithCUDA(std::unique_ptr<CompilerInstance> CI,
138 std::unique_ptr<CompilerInstance> DCI);
[all …]
/freebsd/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/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()
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()
[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 std::unique_ptr<CompilerInstance> Clang( in createChainedIncludesSource()
126 new CompilerInstance(CI.getPCHContainerOperations())); in createChainedIncludesSource()
H A DFrontendAction.cpp158 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule()
164 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
252 static SourceLocation ReadOriginalFileName(CompilerInstance &CI, in ReadOriginalFileName()
446 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem, in loadModuleMapForModuleBuild()
489 static Module *prepareToBuildModule(CompilerInstance &CI, in prepareToBuildModule()
561 getInputBufferForModule(CompilerInstance &CI, Module *M) { in getInputBufferForModule()
586 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
1072 CompilerInstance &CI = getCompilerInstance(); in Execute()
1101 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile()
1170 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
[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/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/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.cpp78 static llvm::Expected<std::unique_ptr<CompilerInstance>>
80 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in CreateCI()
140 llvm::Expected<std::unique_ptr<CompilerInstance>>
187 llvm::Expected<std::unique_ptr<CompilerInstance>>
204 llvm::Expected<std::unique_ptr<CompilerInstance>>
233 llvm::Expected<std::unique_ptr<CompilerInstance>>
238 llvm::Expected<std::unique_ptr<CompilerInstance>>
243 Interpreter::Interpreter(std::unique_ptr<CompilerInstance> CI, in Interpreter()
308 Interpreter::create(std::unique_ptr<CompilerInstance> CI) { in create()
327 Interpreter::createWithCUDA(std::unique_ptr<CompilerInstance> CI, in createWithCUDA()
[all …]
H A DCodeCompletion.cpp210 const CompilerInstance *ParentCI;
213 IncrementalSyntaxOnlyAction(const CompilerInstance *ParentCI) in IncrementalSyntaxOnlyAction()
239 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
355 void ReplCodeCompleter::codeComplete(CompilerInstance *InterpCI, in codeComplete()
358 const CompilerInstance *ParentCI, in codeComplete()
/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 DFrontendActions.cpp16 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
/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/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/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp60 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, 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 createAdditionalSymbolGraphFile()
392 void ExtractAPIActionBase::ImplEndSourceFileAction(CompilerInstance &CI) { in ImplEndSourceFileAction()
415 ExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
461 bool ExtractAPIAction::PrepareToExecuteAction(CompilerInstance &CI) { in PrepareToExecuteAction()
523 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/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);
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DPCHContainerOperations.h25 class CompilerInstance; variable
45 CreatePCHContainerGenerator(CompilerInstance &CI,
72 CreatePCHContainerGenerator(CompilerInstance &CI,

123