Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DFrontendActions.h28 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
38 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
55 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
61 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
67 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
73 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
95 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
101 CreateOutputFile(CompilerInstance &CI, StringRef InFile,
104 bool BeginSourceFileAction(CompilerInstance &CI) override;
[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 …]
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DCompilerInstance.cpp58 CompilerInstance::CompilerInstance( in CompilerInstance() function in CompilerInstance
67 CompilerInstance::~CompilerInstance() { in ~CompilerInstance()
71 void CompilerInstance::setInvocation( in setInvocation()
76 bool CompilerInstance::shouldBuildGlobalModuleIndex() const { in shouldBuildGlobalModuleIndex()
83 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) { in setDiagnostics()
87 void CompilerInstance::setVerboseOutputStream(raw_ostream &Value) { in setVerboseOutputStream()
92 void CompilerInstance::setVerboseOutputStream(std::unique_ptr<raw_ostream> Value) { in setVerboseOutputStream()
97 void CompilerInstance::setTarget(TargetInfo *Value) { Target = Value; } in setTarget()
98 void CompilerInstance::setAuxTarget(TargetInfo *Value) { AuxTarget = Value; } in setAuxTarget()
100 bool CompilerInstance::createTarget() { in createTarget()
[all …]
H A DFrontendActions.cpp37 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer()
42 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated()
58 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
70 ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
78 ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
87 ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
92 ASTViewAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
97 GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
125 bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance &CI, in ComputeASTConsumerArguments()
137 GeneratePCHAction::CreateOutputFile(CompilerInstance &CI, StringRef InFile, in CreateOutputFile()
[all …]
H A DChainedIncludesSource.cpp32 ChainedIncludesSourceImpl(std::vector<std::unique_ptr<CompilerInstance>> CIs) in ChainedIncludesSourceImpl()
52 std::vector<std::unique_ptr<CompilerInstance>> CIs;
59 std::vector<std::unique_ptr<CompilerInstance>> CIs, in ChainedIncludesSourceMembers()
72 ChainedIncludesSource(std::vector<std::unique_ptr<CompilerInstance>> CIs, in ChainedIncludesSource()
80 createASTReader(CompilerInstance &CI, StringRef pchFile, in createASTReader()
114 CompilerInstance &CI, IntrusiveRefCntPtr<ExternalSemaSource> &Reader) { in createChainedIncludesSource()
119 std::vector<std::unique_ptr<CompilerInstance>> CIs; in createChainedIncludesSource()
148 std::unique_ptr<CompilerInstance> Clang( in createChainedIncludesSource()
149 new CompilerInstance(CI.getPCHContainerOperations())); in createChainedIncludesSource()
H A DFrontendAction.cpp144 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule()
150 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
230 static SourceLocation ReadOriginalFileName(CompilerInstance &CI, in ReadOriginalFileName()
428 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem, in loadModuleMapForModuleBuild()
460 static Module *prepareToBuildModule(CompilerInstance &CI, in prepareToBuildModule()
526 getInputBufferForModule(CompilerInstance &CI, Module *M) { in getInputBufferForModule()
550 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
945 CompilerInstance &CI = getCompilerInstance(); in Execute()
974 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile()
1040 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction()
[all …]
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()
/netbsd-src/external/apache2/llvm/dist/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()
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(CI.getPCHContainerOperations(), in visitModuleFile()
[all …]
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/mit/isl/dist/interface/
H A Dextract_interface.cc323 static TargetInfo *create_target_info(CompilerInstance *Clang, in create_target_info()
333 static TargetInfo *create_target_info(CompilerInstance *Clang, in create_target_info()
343 static TargetInfo *create_target_info(CompilerInstance *Clang, in create_target_info()
355 static void create_diagnostics(CompilerInstance *Clang) in create_diagnostics()
362 static void create_diagnostics(CompilerInstance *Clang) in create_diagnostics()
371 static void create_preprocessor(CompilerInstance *Clang) in create_preprocessor()
378 static void create_preprocessor(CompilerInstance *Clang) in create_preprocessor()
430 static void set_lang_defaults(CompilerInstance *Clang) in set_lang_defaults()
442 static void set_lang_defaults(CompilerInstance *Clang) in set_lang_defaults()
452 static void set_invocation(CompilerInstance *Clang, in set_invocation()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Interpreter/
H A DInterpreter.h33 class CompilerInstance; variable
41 static llvm::Expected<std::unique_ptr<CompilerInstance>>
51 Interpreter(std::unique_ptr<CompilerInstance> CI, llvm::Error &Err);
56 create(std::unique_ptr<CompilerInstance> CI);
57 const CompilerInstance *getCompilerInstance() const;
/netbsd-src/external/apache2/llvm/dist/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);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/
H A DIncrementalParser.h30 class CompilerInstance; variable
45 std::unique_ptr<CompilerInstance> CI;
61 IncrementalParser(std::unique_ptr<CompilerInstance> Instance,
65 const CompilerInstance *getCI() const { return CI.get(); } in getCI()
H A DInterpreter.cpp63 static llvm::Expected<std::unique_ptr<CompilerInstance>>
65 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in CreateCI()
120 llvm::Expected<std::unique_ptr<CompilerInstance>>
176 Interpreter::Interpreter(std::unique_ptr<CompilerInstance> CI, in Interpreter()
188 Interpreter::create(std::unique_ptr<CompilerInstance> CI) { in create()
197 const CompilerInstance *Interpreter::getCompilerInstance() const { in getCompilerInstance()
/netbsd-src/external/mit/isl/dist/m4/
H A Dax_detect_clang.m4156 [[#include <clang/Frontend/CompilerInstance.h>]], [[
159 CompilerInstance *Clang;
162 [Define if CompilerInstance::createDiagnostics takes argc and argv])])
181 [[#include <clang/Frontend/CompilerInstance.h>]], [[
183 CompilerInstance *Clang;
186 [Define if CompilerInstance::createPreprocessor takes TranslationUnitKind])])
212 #include <clang/Frontend/CompilerInstance.h>
217 CompilerInstance *Clang;
227 #include <clang/Frontend/CompilerInstance.h>
232 CompilerInstance *Clang;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/FrontendTool/
H A DUtils.h21 class CompilerInstance; variable
28 std::unique_ptr<FrontendAction> CreateFrontendAction(CompilerInstance &CI);
34 bool ExecuteCompilerInvocation(CompilerInstance *Clang);
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h31 class CompilerInstance; variable
40 ModelInjector(CompilerInstance &CI);
60 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()
/netbsd-src/external/apache2/llvm/dist/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp26 CompilerInstance &Instance;
30 PrintFunctionsConsumer(CompilerInstance &Instance, in PrintFunctionsConsumer()
82 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
87 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h119 ModuleDepCollectorPP(CompilerInstance &I, ModuleDepCollector &MDC) in ModuleDepCollectorPP()
138 CompilerInstance &Instance;
161 CompilerInstance &I, DependencyConsumer &C);
170 CompilerInstance &Instance;
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h28 class CompilerInstance; variable
126 CrossTranslationUnitContext(CompilerInstance &CI);
224 ASTLoader(CompilerInstance &CI, StringRef CTUDir,
247 CompilerInstance &CI;
281 ASTUnitStorage(CompilerInstance &CI);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DPCHContainerOperations.h27 class CompilerInstance; variable
47 CreatePCHContainerGenerator(CompilerInstance &CI,
74 CreatePCHContainerGenerator(CompilerInstance &CI,
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-import-test/
H A Dclang-import-test.cpp163 std::unique_ptr<CompilerInstance> BuildCompilerInstance() { in BuildCompilerInstance()
164 auto Ins = std::make_unique<CompilerInstance>(); in BuildCompilerInstance()
220 BuildASTContext(CompilerInstance &CI, SelectorTable &ST, Builtin::Context &BC) { in BuildASTContext()
228 std::unique_ptr<CodeGenerator> BuildCodeGen(CompilerInstance &CI, in BuildCodeGen()
249 std::unique_ptr<CompilerInstance> CI;
262 CompilerInstance &getCompilerInstance() { return *CI; } in getCompilerInstance()
289 llvm::Error ParseSource(const std::string &Path, CompilerInstance &CI, in ParseSource()

1234