Home
last modified time | relevance | path

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

12345678

/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.h24 #include "clang/Frontend/CompilerInstance.h"
34 class CompilerInstance;
40 CompilerInstance *Instance;
45 std::unique_ptr<ASTConsumer> CreateWrappedASTConsumer(CompilerInstance &CI,
52 /// Prepare to execute the action on the given CompilerInstance.
56 virtual bool PrepareToExecuteAction(CompilerInstance &CI) { return true; }
71 virtual std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
80 virtual bool BeginInvocation(CompilerInstance &CI) { return true; }
86 virtual bool BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
120 CompilerInstance in getCompilerInstance()
33 class CompilerInstance; global() variable
[all...]
/llvm-project/clang/include/clang/Interpreter/
H A DInterpreter.h38 class CompilerInstance;
45 /// Create a pre-configured \c CompilerInstance for incremental processing.
57 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCpp();
65 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaHost();
66 llvm::Expected<std::unique_ptr<CompilerInstance>> CreateCudaDevice();
69 static llvm::Expected<std::unique_ptr<CompilerInstance>>
72 llvm::Expected<std::unique_ptr<CompilerInstance>> createCuda(bool device);
113 std::unique_ptr<CompilerInstance> CI;
117 Interpreter(std::unique_ptr<CompilerInstance> Instance, llvm::Error &Err,
132 create(std::unique_ptr<CompilerInstance> C
40 class CompilerInstance; global() variable
[all...]
H A DCodeCompletion.h24 class CompilerInstance; variable
43 void codeComplete(CompilerInstance *InterpCI, llvm::StringRef Content,
45 const CompilerInstance *ParentCI,
/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;
/llvm-project/clang/examples/PluginsOrder/
H A DPluginsOrder.cpp25 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
30 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
49 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
54 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
73 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
78 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
97 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
102 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
/llvm-project/flang/lib/Frontend/
H A DCompilerInstance.cpp1 //===--- CompilerInstance.cpp ---------------------------------------------===//
13 #include "flang/Frontend/CompilerInstance.h"
36 CompilerInstance::CompilerInstance() in CompilerInstance()
46 CompilerInstance::~CompilerInstance() {
50 void CompilerInstance::setInvocation( in setInvocation()
55 void CompilerInstance::setSemaOutputStream(raw_ostream &value) { in setSemaOutputStream()
60 void CompilerInstance::setSemaOutputStream(std::unique_ptr<raw_ostream> value) { in setSemaOutputStream()
93 CompilerInstance in createDefaultOutputFile()
33 CompilerInstance::CompilerInstance() CompilerInstance() function in CompilerInstance
[all...]
H A DFrontendAction.cpp14 #include "flang/Frontend/CompilerInstance.h"
32 static void beginSourceFileCleanUp(FrontendAction &fa, CompilerInstance &ci) { in beginSourceFileCleanUp()
38 bool FrontendAction::beginSourceFile(CompilerInstance &ci, in beginSourceFile()
127 CompilerInstance &ci = getInstance(); in endSourceFile()
138 CompilerInstance &ci = this->getInstance(); in runPrescan()
161 CompilerInstance &ci = this->getInstance(); in runParse()
179 CompilerInstance &ci = this->getInstance(); in runSemanticChecks()
H A DFrontendActions.cpp15 #include "flang/Frontend/CompilerInstance.h"
161 static void addDependentLibs(mlir::ModuleOp mlirModule, CompilerInstance &ci) { in addDependentLibs()
184 CompilerInstance &ci) { in addAMDGPUSpecificMLIRItems()
238 CompilerInstance &ci = this->getInstance(); in beginSourceFileAction()
397 CompilerInstance &ci = getInstance(); in executeAction()
435 CompilerInstance &ci = this->getInstance();
488 CompilerInstance &ci = this->getInstance(); in executeAction()
516 CompilerInstance &ci{getInstance()}; in executeAction()
524 CompilerInstance &ci = this->getInstance(); in executeAction()
540 CompilerInstance in executeAction()
[all...]
/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1 //===--- CompilerInstance.cpp ---------------------------------------------===//
9 #include "clang/Frontend/CompilerInstance.h"
67 CompilerInstance::CompilerInstance( in CompilerInstance()
76 CompilerInstance::~CompilerInstance() { in ~CompilerInstance()
80 void CompilerInstance::setInvocation( in setInvocation()
85 bool CompilerInstance::shouldBuildGlobalModuleIndex() const { in shouldBuildGlobalModuleIndex()
92 void CompilerInstance::setDiagnostics(DiagnosticsEngine *Value) { in setDiagnostics()
96 void CompilerInstance in setVerboseOutputStream()
65 CompilerInstance::CompilerInstance( CompilerInstance() function in CompilerInstance
1167 __anonbe2026ac0402(CompilerInstance &) compileModuleImpl() argument
1169 __anonbe2026ac0502(CompilerInstance &) __anonbe2026ac0502() argument
[all...]
H A DFrontendActions.cpp17 #include "clang/Frontend/CompilerInstance.h"
43 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer()
48 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated()
64 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
87 ReadPCHAndPreprocessAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
97 ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
105 ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
114 ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
119 ASTViewAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
124 GeneratePCHAction::CreateASTConsumer(CompilerInstance in CreateASTConsumer()
[all...]
H A DChainedIncludesSource.cpp17 #include "clang/Frontend/CompilerInstance.h"
32 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()
/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;
/llvm-project/clang/unittests/Frontend/
H A DFrontendActionTest.cpp14 #include "clang/Frontend/CompilerInstance.h"
43 bool BeginSourceFileAction(CompilerInstance &ci) override { in BeginSourceFileAction()
50 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
59 Visitor(CompilerInstance &CI, bool ActOnEndOfTranslationUnit, in Visitor()
77 CompilerInstance &CI;
92 CompilerInstance compiler; in TEST()
112 CompilerInstance compiler; in TEST()
139 CompilerInstance compiler; in TEST()
185 CompilerInstance Compiler; in TEST()
199 CompilerInstance
[all...]
H A DCompilerInstanceTest.cpp9 #include "clang/Frontend/CompilerInstance.h"
24 TEST(CompilerInstance, DefaultVFSOverlayFromInvocation) { in TEST()
57 CompilerInstance::createDiagnostics(*llvm::vfs::getRealFileSystem(), in TEST()
67 // Create a minimal CompilerInstance which should use the VFS we specified in TEST()
69 CompilerInstance Instance; in TEST()
75 // CompilerInstance. in TEST()
79 TEST(CompilerInstance, AllowDiagnosticLogWithUnownedDiagnosticConsumer) { in TEST()
91 CompilerInstance Instance; in TEST()
23 TEST(CompilerInstance,DefaultVFSOverlayFromInvocation) TEST() argument
77 TEST(CompilerInstance,AllowDiagnosticLogWithUnownedDiagnosticConsumer) TEST() argument
/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp14 #include "clang/Frontend/CompilerInstance.h"
41 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
[all...]
/llvm-project/polly/lib/External/isl/interface/
H A Dextract_interface.cc319 static TargetInfo *create_target_info(CompilerInstance *Clang, in create_target_info()
329 static TargetInfo *create_target_info(CompilerInstance *Clang, in create_target_info()
339 static TargetInfo *create_target_info(CompilerInstance *Clang, in create_target_info()
351 static void create_diagnostics(CompilerInstance *Clang) in create_diagnostics()
358 static void create_diagnostics(CompilerInstance *Clang) in create_diagnostics()
367 static void create_preprocessor(CompilerInstance *Clang) in create_preprocessor()
374 static void create_preprocessor(CompilerInstance *Clang) in create_preprocessor()
426 static void set_lang_defaults(CompilerInstance *Clang) in set_lang_defaults()
438 static void set_lang_defaults(CompilerInstance *Clang) in set_lang_defaults()
448 static void set_invocation(CompilerInstance *Clang, in set_invocation()
[all …]
/llvm-project/flang/include/flang/Frontend/
H A DFrontendAction.h25 class CompilerInstance; variable
30 CompilerInstance *instance;
61 CompilerInstance &getInstance() const { in getInstance()
66 void setInstance(CompilerInstance *value) { instance = value; } in setInstance()
99 bool beginSourceFile(CompilerInstance &ci, const FrontendInputFile &input);
/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);
/llvm-project/clang/unittests/Serialization/
H A DModuleCacheTest.cpp10 #include "clang/Frontend/CompilerInstance.h"
112 CompilerInstance::createDiagnostics(*CIOpts.VFS, new DiagnosticOptions()); in TEST_F()
122 CompilerInstance Instance; in TEST_F()
145 CompilerInstance Instance2(Instance.getPCHContainerOperations(), in TEST_F()
162 CompilerInstance::createDiagnostics(*CIOpts.VFS, new DiagnosticOptions()); in TEST_F()
172 CompilerInstance Instance; in TEST_F()
189 CompilerInstance Instance2(Instance.getPCHContainerOperations(), in TEST_F()
/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.h25 class CompilerInstance;
50 IncrementalParser(CompilerInstance &Instance, llvm::Error &Err);
33 class CompilerInstance; global() variable
/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);
/llvm-project/flang/unittests/Frontend/
H A DCompilerInstanceTest.cpp9 #include "flang/Frontend/CompilerInstance.h"
21 TEST(CompilerInstance, SanityCheckForFileManager) { in TEST() argument
45 // 2. Set up CompilerInstance (i.e. specify the input file) in TEST()
48 CompilerInstance compInst; in TEST()
53 // This is just a sanity check to make sure that CompilerInstance is capable in TEST()
66 TEST(CompilerInstance, AllowDiagnosticLogWithUnownedDiagnosticConsumer) { in TEST() argument
73 // 2. Create a CompilerInstance (to manage a DiagnosticEngine) in TEST()
74 CompilerInstance compInst; in TEST()
/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h31 class CompilerInstance; variable
37 ModelInjector(CompilerInstance &CI);
57 CompilerInstance &CI;
/llvm-project/llvm/unittests/Analysis/
H A DPluginInlineAdvisorAnalysisTest.cpp49 struct CompilerInstance { struct
77 CompilerInstance() { in setupFooOnly()
252 CompilerInstance DefaultCI{};
254 CompilerInstance PluginCI{};
270 CompilerInstance CI{};
50 Ctxllvm::__anonf05a9bbc0111::CompilerInstance global() argument
51 MPMllvm::__anonf05a9bbc0111::CompilerInstance global() argument
52 IPllvm::__anonf05a9bbc0111::CompilerInstance global() argument
54 PBllvm::__anonf05a9bbc0111::CompilerInstance global() argument
55 LAMllvm::__anonf05a9bbc0111::CompilerInstance global() argument
56 FAMllvm::__anonf05a9bbc0111::CompilerInstance global() argument
57 CGAMllvm::__anonf05a9bbc0111::CompilerInstance global() argument
58 MAMllvm::__anonf05a9bbc0111::CompilerInstance global() argument
60 Errorllvm::__anonf05a9bbc0111::CompilerInstance global() argument
63 setupPluginllvm::__anonf05a9bbc0111::CompilerInstance setupPlugin() argument
74 setupFooOnlyllvm::__anonf05a9bbc0111::CompilerInstance setupFooOnly() argument
79 CompilerInstancellvm::__anonf05a9bbc0111::CompilerInstance CompilerInstance() argument
90 ~CompilerInstancellvm::__anonf05a9bbc0111::CompilerInstance ~CompilerInstance() argument
96 outputllvm::__anonf05a9bbc0111::CompilerInstance global() argument
97 outputMllvm::__anonf05a9bbc0111::CompilerInstance global() argument
100 run_defaultllvm::__anonf05a9bbc0111::CompilerInstance run_default() argument
112 run_dynamicllvm::__anonf05a9bbc0111::CompilerInstance run_dynamic() argument

12345678