Home
last modified time | relevance | path

Searched refs:Compiler (Results 1 – 25 of 275) sorted by relevance

1234567891011

/llvm-project-15.0.7/clang/unittests/Frontend/
H A DOutputStreamTest.cpp32 CompilerInstance Compiler; in TEST() local
38 Compiler.setOutputStream(std::move(IRStream)); in TEST()
39 Compiler.setInvocation(std::move(Invocation)); in TEST()
40 Compiler.createDiagnostics(); in TEST()
56 CompilerInstance Compiler; in TEST() local
62 Compiler.setInvocation(std::move(Invocation)); in TEST()
64 Compiler.createDiagnostics( in TEST()
66 Compiler.setVerboseOutputStream(VerboseStream); in TEST()
85 CompilerInstance Compiler; in TEST() local
93 Compiler.createDiagnostics( in TEST()
[all …]
H A DCodeGenActionTest.cpp53 CompilerInstance Compiler; in TEST() local
54 Compiler.setInvocation(std::move(Invocation)); in TEST()
55 Compiler.createDiagnostics(); in TEST()
56 EXPECT_TRUE(Compiler.hasDiagnostics()); in TEST()
59 bool Success = Compiler.ExecuteAction(*Act); in TEST()
71 CompilerInstance Compiler; in TEST() local
73 Compiler.createDiagnostics(); in TEST()
74 EXPECT_TRUE(Compiler.hasDiagnostics()); in TEST()
98 CompilerInstance Compiler; in TEST() local
103 Compiler.createDiagnostics(); in TEST()
[all …]
H A DFrontendActionTest.cpp184 CompilerInstance Compiler; in TEST() local
185 Compiler.setInvocation(std::move(Invocation)); in TEST()
186 Compiler.createDiagnostics(); in TEST()
192 ASSERT_TRUE(Compiler.ExecuteAction(TestAction)); in TEST()
245 CompilerInstance Compiler; in TEST() local
246 Compiler.setInvocation(std::move(Invocation)); in TEST()
249 Compiler.setExternalSemaSource(new TypoExternalSemaSource(Compiler)); in TEST()
252 ASSERT_TRUE(Compiler.ExecuteAction(TestAction)); in TEST()
278 CompilerInstance Compiler; in TEST() local
279 Compiler.setInvocation(std::move(Invocation)); in TEST()
[all …]
/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DTBAAMetadataTest.cpp66 Compiler.init(TestProgram); in TEST()
163 Compiler.init(TestProgram); in TEST()
285 Compiler.init(TestProgram); in TEST()
378 Compiler.init(TestProgram); in TEST()
472 Compiler.init(TestProgram); in TEST()
575 Compiler.init(TestProgram); in TEST()
698 Compiler.init(TestProgram); in TEST()
799 Compiler.init(TestProgram); in TEST()
881 Compiler.init(TestProgram); in TEST()
960 Compiler.init(TestProgram); in TEST()
[all …]
H A DBufferSourceTest.cpp45 TestCompiler Compiler(LO); in TEST() local
46 Compiler.init(TestProgram); in TEST()
48 clang::ParseAST(Compiler.compiler.getSema(), false, false); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DIncludeFixer.cpp34 CreateASTConsumer(clang::CompilerInstance &Compiler, in CreateASTConsumer() argument
47 Compiler->createCodeCompletionConsumer(); in ExecuteAction()
50 if (Compiler->hasCodeCompletionConsumer()) in ExecuteAction()
54 SemaSource.setCompilerInstance(Compiler); in ExecuteAction()
57 clang::ParseAST(Compiler->getSema(), Compiler->getFrontendOpts().ShowStats, in ExecuteAction()
92 Compiler.setInvocation(std::move(Invocation)); in runInvocation()
93 Compiler.setFileManager(Files); in runInvocation()
99 Compiler.createSourceManager(*Files); in runInvocation()
103 Compiler.getDiagnostics().setErrorLimit(0); in runInvocation()
108 Compiler.ExecuteAction(*ScopedToolAction); in runInvocation()
[all …]
/llvm-project-15.0.7/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp57 CreateASTConsumer(clang::CompilerInstance &Compiler, in CreateASTConsumer() argument
59 return Processor.createASTConsumer(Compiler, File); in CreateASTConsumer()
137 CompilerInstance Compiler(std::make_shared<clang::PCHContainerOperations>()); in main() local
138 Compiler.setInvocation(std::move(Invocation)); in main()
140 Compiler.createDiagnostics(&DiagnosticPrinter, false); in main()
141 if (!Compiler.hasDiagnostics()) in main()
145 Compiler.getDiagnosticOpts().ShowCarets = false; in main()
146 Compiler.createSourceManager(*Files); in main()
147 Compiler.setFileManager(Files.get()); in main()
150 Compiler.ExecuteAction(ScopedToolAction); in main()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DExpandModularHeadersPPCallbacks.cpp70 : Recorder(std::make_unique<FileRecorder>()), Compiler(*CI), in ExpandModularHeadersPPCallbacks()
72 Sources(Compiler.getSourceManager()), in ExpandModularHeadersPPCallbacks()
76 LangOpts(Compiler.getLangOpts()) { in ExpandModularHeadersPPCallbacks()
86 *HSO = Compiler.getHeaderSearchOpts(); in ExpandModularHeadersPPCallbacks()
92 *PO = Compiler.getPreprocessorOpts(); in ExpandModularHeadersPPCallbacks()
98 PP->Initialize(Compiler.getTarget(), Compiler.getAuxTarget()); in ExpandModularHeadersPPCallbacks()
99 InitializePreprocessor(*PP, *PO, Compiler.getPCHContainerReader(), in ExpandModularHeadersPPCallbacks()
100 Compiler.getFrontendOpts()); in ExpandModularHeadersPPCallbacks()
102 Compiler.getTarget().getTriple()); in ExpandModularHeadersPPCallbacks()
122 Compiler.getASTReader()->visitInputFiles( in handleModuleFile()
[all …]
H A DClangTidy.cpp389 clang::CompilerInstance &Compiler, StringRef File) { in createASTConsumer() argument
392 SourceManager *SM = &Compiler.getSourceManager(); in createASTConsumer()
395 Context.setASTContext(&Compiler.getASTContext()); in createASTConsumer()
397 auto WorkingDir = Compiler.getSourceManager() in createASTConsumer()
419 Preprocessor *PP = &Compiler.getPreprocessor(); in createASTConsumer()
424 &Compiler, OverlayFS); in createASTConsumer()
439 AnalyzerOptionsRef AnalyzerOptions = Compiler.getAnalyzerOpts(); in createASTConsumer()
447 ento::CreateAnalysisConsumer(Compiler); in createASTConsumer()
568 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &Compiler, in runClangTidy() argument
570 return Factory->createASTConsumer(Compiler, File); in runClangTidy()
/llvm-project-15.0.7/compiler-rt/docs/
H A DBuildingCompilerRT.rst4 Building Compiler-RT
12 The instructions on this page are aimed at vendors who ship Compiler-RT as part of an
14 are a user merely trying to use Compiler-RT in your program, you most likely want to
35 The C++ compiler to use when building and testing Compiler-RT.
40 Compiler-RT specific options
47 Prefix for directories where built Compiler-RT artifacts should be installed.
59 Path where built Compiler-RT libraries should be installed. If a relative
66 Path where built Compiler-RT executables should be installed. If a relative
73 Path where Compiler-RT headers should be installed. If a relative
80 Path where Compiler-RT data should be installed. If a relative
/llvm-project-15.0.7/clang/tools/scan-build/libexec/
H A Dccc-analyzer65 my $Compiler;
92 $Compiler = $ENV{'CCC_CXX'};
93 …if (!defined $Compiler || (! -x $Compiler && ! SearchInPath($Compiler))) { $Compiler = $DefaultCXX…
101 $Compiler = $ENV{'CCC_CC'};
102 …if (!defined $Compiler || (! -x $Compiler && ! SearchInPath($Compiler))) { $Compiler = $DefaultCCo…
180 `"$Compiler" -v >> $PPFile.info.txt 2>&1`;
457 my $Status = system($Compiler,@ARGV);
459 print STDERR "$Compiler @ARGV\n";
/llvm-project-15.0.7/clang/unittests/AST/
H A DExternalASTSourceTest.cpp48 CompilerInstance Compiler; in testExternalASTSource() local
49 Compiler.createDiagnostics(); in testExternalASTSource()
56 Compiler.getDiagnostics()); in testExternalASTSource()
57 Compiler.setInvocation(std::move(Invocation)); in testExternalASTSource()
60 return Compiler.ExecuteAction(Action); in testExternalASTSource()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/
H A DFindAllSymbolsAction.cpp27 FindAllSymbolsAction::CreateASTConsumer(CompilerInstance &Compiler, in CreateASTConsumer() argument
29 Compiler.getPreprocessor().addCommentHandler(&Handler); in CreateASTConsumer()
30 Compiler.getPreprocessor().addPPCallbacks(std::make_unique<FindAllMacros>( in CreateASTConsumer()
31 Reporter, &Compiler.getSourceManager(), &Collector)); in CreateASTConsumer()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DDependencyScannerTest.cpp59 CompilerInstance Compiler(std::move(PCHContainerOps)); in runInvocation() local
60 Compiler.setInvocation(std::move(Invocation)); in runInvocation()
61 Compiler.setFileManager(FileMgr); in runInvocation()
63 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false); in runInvocation()
64 if (!Compiler.hasDiagnostics()) in runInvocation()
67 Compiler.createSourceManager(*FileMgr); in runInvocation()
68 Compiler.addDependencyCollector(std::make_shared<TestFileCollector>( in runInvocation()
69 Compiler.getInvocation().getDependencyOutputOpts(), Deps)); in runInvocation()
72 return Compiler.ExecuteAction(*Action); in runInvocation()
/llvm-project-15.0.7/llvm/test/Linker/
H A Dident.ll6 ; CHECK-DAG: "Compiler V1"
7 ; CHECK-DAG: "Compiler V2"
8 ; CHECK-DAG: "Compiler V3"
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DBugReportInterestingnessTest.cpp111 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &Compiler, in CreateASTConsumer() argument
114 CreateAnalysisConsumer(Compiler); in CreateASTConsumer()
116 std::move(ExpectedDiags), Compiler.getSourceManager())); in CreateASTConsumer()
121 Compiler.getAnalyzerOpts()->CheckersAndPackages = { in CreateASTConsumer()
/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DTreeTestBase.cpp151 CompilerInstance Compiler; in buildTree() local
152 Compiler.setInvocation(Invocation); in buildTree()
153 Compiler.setDiagnostics(Diags.get()); in buildTree()
154 Compiler.setFileManager(FileMgr.get()); in buildTree()
155 Compiler.setSourceManager(SourceMgr.get()); in buildTree()
162 if (!Compiler.ExecuteAction(Recorder) && in buildTree()
/llvm-project-15.0.7/llvm/test/Linker/Inputs/
H A Dident.a.ll2 !0 = !{!"Compiler V1"}
3 !1 = !{!"Compiler V2"}
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyTest.h57 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &Compiler,
59 Context.setSourceManager(&Compiler.getSourceManager());
61 Context.setASTContext(&Compiler.getASTContext());
63 Preprocessor *PP = &Compiler.getPreprocessor();
75 Check->registerPPCallbacks(Compiler.getSourceManager(), PP, PP);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/plugin/
H A DClangTidyPlugin.cpp39 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &Compiler, in CreateASTConsumer() argument
43 new ClangTidyDiagnosticConsumer(*Context, &Compiler.getDiagnostics()); in CreateASTConsumer()
51 Vec.push_back(Factory.createASTConsumer(Compiler, File)); in CreateASTConsumer()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DMyriad.h22 class LLVM_LIBRARY_VISIBILITY Compiler : public Tool {
24 Compiler(const ToolChain &TC) : Tool("moviCompile", "movicompile", TC) {} in Compiler() function
95 mutable std::unique_ptr<Tool> Compiler;
/llvm-project-15.0.7/compiler-rt/
H A DREADME.txt1 Compiler-RT
7 Compiler-RT is open source software. You may freely distribute it under the
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DClangDoc.cpp44 CreateASTConsumer(clang::CompilerInstance &Compiler, in create() argument
46 return std::make_unique<MapASTVisitor>(&Compiler.getASTContext(), CDCtx); in create()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/altera/
H A Dsingle-work-item-barrier.rst12 Compiler (>= v17.01).
14 If using an older version of the Altera Offline Compiler, these kernel
57 Defines the version of the Altera Offline Compiler. Defaults to ``1600``
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/tests/
H A DCMakeLists.txt15 set_target_properties(FuzzerUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
18 set_target_properties(FuzzedDataProviderUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
61 FOLDER "Compiler-RT Runtime tests")

1234567891011