| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | attr-external-source-symbol.m | 5 __attribute__((external_source_symbol(language="Swift", defined_in="module"))) 14 CaseB __attribute__((external_source_symbol(generated_declaration, language="Swift"))) 15 } __attribute__((external_source_symbol(language = "Swift"))); 22 __attribute__((external_source_symbol(language))); // expected-error {{expected '=' after language}} 24 __attribute__((external_source_symbol(language=))); // expected-error {{expected string literal for… 31 …_attribute__((external_source_symbol(language="Swift", language="Swift"))); // expected-error {{du… 45 __attribute__((external_source_symbol(language=Swift))); // expected-error {{expected string litera… 57 …tribute__((external_source_symbol(language="Swift", "generated_declaration"))); // expected-error … 60 __attribute__((external_source_symbol(language= =))); // expected-error {{expected string literal f… 78 …ute__((external_source_symbol(language = generated_declaration))); // expected-error {{expected st… [all …]
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | TypeSystem.cpp | 33 void LanguageSet::Insert(LanguageType language) { bitvector.set(language); } in Insert() argument 47 create_callback(language, module, target); in CreateInstanceHelper() 57 return CreateInstanceHelper(language, module, nullptr); in CreateInstance() 226 lldb::LanguageType language, in GetTypeSystemForLanguage() argument 234 collection::iterator pos = m_map.find(language); in GetTypeSystemForLanguage() 250 m_map[language] = pair.second; in GetTypeSystemForLanguage() 270 m_map[language] = type_system_sp; in GetTypeSystemForLanguage() 285 language, llvm::Optional<CreateCallback>([language, module]() { in GetTypeSystemForLanguage() 289 return GetTypeSystemForLanguage(language); in GetTypeSystemForLanguage() 297 language, llvm::Optional<CreateCallback>([language, target]() { in GetTypeSystemForLanguage() [all …]
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Language.cpp | 82 result = language; in FindPlugin() 92 Language *result = FindPlugin(language); in FindPlugin() 218 if (language < num_languages) in GetNameForLanguageType() 219 return language_names[language].name; in GetNameForLanguageType() 240 switch (language) { in LanguageIsCPlusPlus() 253 switch (language) { in LanguageIsObjC() 263 switch (language) { in LanguageIsC() 275 switch (language) { in LanguageIsCFamily() 293 switch (language) { in LanguageIsPascal() 302 switch (language) { in GetPrimaryLanguage() [all …]
|
| H A D | LanguageRuntime.cpp | 22 lldb::LanguageType language, in ExceptionSearchFilter() argument 24 : SearchFilter(target_sp, FilterTy::Exception), m_language(language), in ExceptionSearchFilter() 104 ExceptionBreakpointResolver(lldb::LanguageType language, bool catch_bp, in ExceptionBreakpointResolver() argument 107 m_language(language), m_catch_bp(catch_bp), m_throw_bp(throw_bp) {} in ExceptionBreakpointResolver() 203 lldb::LanguageType language) { in FindPlugin() argument 210 if (LanguageRuntime *runtime = create_callback(process, language)) in FindPlugin() 219 LanguageRuntime::GetExceptionPrecondition(LanguageType language, in GetExceptionPrecondition() argument 231 precondition_callback(language, throw_bp)) in GetExceptionPrecondition() 242 new ExceptionBreakpointResolver(language, catch_bp, throw_bp)); in CreateExceptionBreakpoint() 244 new ExceptionSearchFilter(target.shared_from_this(), language)); in CreateExceptionBreakpoint() [all …]
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/Generic/ |
| H A D | debug-names-many-cu.ll | 74 !12 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 80 !22 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 86 !32 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 92 !42 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 98 !52 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 104 !62 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 110 !72 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 116 !82 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 122 !92 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun… 128 !102 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (tru… [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | attr-external-source-symbol.c | 3 void threeClauses(void) __attribute__((external_source_symbol(language="Swift", defined_in="module"… 5 void twoClauses(void) __attribute__((external_source_symbol(language="Swift", defined_in="module"))… 7 void fourClauses(void) __attribute__((external_source_symbol(language="Swift", defined_in="module",… 16 …__attribute__((external_source_symbol(language="Swift"))) { // expected-warning {{'external_source… in namedDeclsOnly() 21 [[clang::external_source_symbol(language="Swift", defined_in="module", generated_declaration)]] voi… 23 [[clang::external_source_symbol(language="Swift", defined_in="module")]] void twoClauses2(void); 25 [[clang::external_source_symbol(language="Swift", defined_in="module", generated_declaration, gener…
|
| /llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/ |
| H A D | python.test | 1 # RUN: %lldb --script-language python -o 'script print("{}".format(1000+100+10+1))' 2>&1 | FileChec… 2 # RUN: %lldb --script-language python -o 'script -- print("{}".format(1000+100+10+1))' 2>&1 | FileC… 3 # RUN: %lldb --script-language python -o 'script --language default -- print("{}".format(1000+100+1… 6 # RUN: %lldb -o 'script --language python -- print("{}".format(1000+100+10+1))' 2>&1 | FileCheck %s 7 # RUN: %lldb -o 'script --language=python -- print("{}".format(1000+100+10+1))' 2>&1 | FileCheck %s 11 # RUN: %lldb -o 'script --language invalid -- print("{}".format(1000+100+10+1))' 2>&1 | FileCheck %… 12 # INVALID: error: unrecognized value for language 'invalid'
|
| /llvm-project-15.0.7/mlir/docs/Tools/ |
| H A D | MLIRLSP.md | 6 [LSP](https://microsoft.github.io/language-server-protocol/) IDE language 8 generally comprised of two components; a language client and a language server. 137 language servers for various other programming languages, the PDLL language 262 language servers for various other programming languages, the TableGen language 336 The language server, such as `mlir-lsp-server`, communicates with the language 380 The MLIR extension adds language support for the 398 The various `.mlir` language features require the 399 [`mlir-lsp-server` language server](https://mlir.llvm.org/docs/Tools/MLIRLSP/#mlir-lsp-language-ser… 406 The MLIR extension adds language support for the 443 The MLIR extension adds language support for the [all …]
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectScript.cpp | 35 language = (lldb::ScriptLanguage)OptionArgParser::ToOptionEnum( in SetOptionValue() 51 language = lldb::eScriptLanguageNone; in OptionParsingStarting() 79 lldb::ScriptLanguage language = in DoExecute() local 80 (m_options.language == lldb::eScriptLanguageNone) in DoExecute() 82 : m_options.language; in DoExecute() 84 if (language == lldb::eScriptLanguageNone) { in DoExecute() 91 GetDebugger().GetScriptInterpreter(true, language); in DoExecute()
|
| /llvm-project-15.0.7/llvm/test/BugPoint/ |
| H A D | named-md.ll | 17 ; CHECK-DAG: ![[FIRST]] = distinct !DICompileUnit(language: DW_LANG_Julia, 18 ; CHECK-DAG: ![[SECOND]] = distinct !DICompileUnit(language: DW_LANG_Julia, 25 !0 = distinct !DICompileUnit(language: DW_LANG_Julia, 27 !1 = distinct !DICompileUnit(language: DW_LANG_Julia, 29 !2 = distinct !DICompileUnit(language: DW_LANG_Julia, 31 !3 = distinct !DICompileUnit(language: DW_LANG_Julia, 33 !4 = distinct !DICompileUnit(language: DW_LANG_Julia, 35 !5 = distinct !DICompileUnit(language: DW_LANG_Julia,
|
| H A D | invalid-debuginfo.ll | 10 !0 = distinct !DICompileUnit(language: 12, file: !6) 11 !1 = distinct !DICompileUnit(language: 12, file: !6) 12 !2 = distinct !DICompileUnit(language: 12, file: !6) 13 !3 = distinct !DICompileUnit(language: 12, file: !6) 14 !4 = distinct !DICompileUnit(language: 12, file: !6) 15 !5 = distinct !DICompileUnit(language: 12, file: !6)
|
| /llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Lua/ |
| H A D | lua.test | 1 # RUN: %lldb --script-language lua -o 'script io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileChec… 2 # RUN: %lldb --script-language lua -o 'script -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileC… 3 # RUN: %lldb --script-language lua -o 'script --language default -- io.stdout:write(1000+100+10+1, … 5 # RUN: %lldb -o 'script --language lua -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileCheck %s
|
| /llvm-project-15.0.7/llvm/utils/vscode/llvm/ |
| H A D | vsc-extension-quickstart.md | 6 * `package.json` - this is the manifest file in which you declare your language support and define … 8 * `language-configuration.json` - this is the language configuration, defining the tokens that are … 12 * Make sure the language configuration settings in `language-configuration.json` are accurate. 14 * Create a new file with a file name suffix matching your language. 15 * Verify that syntax highlighting works and that the language configuration settings are working. 22 ## Add more language features
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-rc/ |
| H A D | language.test | 1 ; RUN: llvm-rc -no-preprocess /l 40A /FO %t.res -- %p/Inputs/language.rc 3 ; RUN: llvm-rc -no-preprocess /l40A /FO %t.res -- %p/Inputs/language.rc 5 ; RUN: llvm-windres --no-preprocess -l 40A %p/Inputs/language.rc %t.res 7 ; RUN: llvm-windres --no-preprocess --language 40A %p/Inputs/language.rc %t.res 9 ; RUN: llvm-windres --no-preprocess -l 0x40A %p/Inputs/language.rc %t.res
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | dicompileunit.ll | 19 ; CHECK: !8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimiz… 20 !8 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", 28 ; CHECK: !9 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, isOptimized: false, runtimeV… 29 !9 = distinct !DICompileUnit(language: 12, file: !1, producer: "", 33 ; CHECK: !10 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimi… 34 !10 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang",
|
| /llvm-project-15.0.7/llvm/docs/HistoricalNotes/ |
| H A D | 2001-01-31-UniversalIRIdea.txt | 7 customizable runtime system that can be used to implement language-specific 14 perhaps a garbage collection library). Each language vm would select the 15 runtime features needed for that language, extending or customizing them as 18 could be provided by LLVM and should be sufficient for any language, 19 simplifying the language compiler. (This would also help interoperability 22 reusable by different languages, with minor extensions. The language 23 compiler could then focus on language-specific analyses and optimizations. 36 structure LLVM to support one or more language VMs.
|
| /llvm-project-15.0.7/clang/utils/TestUtils/ |
| H A D | pch-test.pl | 13 my $language = shift; 21 my $code = system("clang -fsyntax-only -x $language $file > /dev/null 2>&1"); 24 $code = system("clang -cc1 -emit-pch -x $language -o $file.pch $file > /dev/null 2>&1"); 26 …$code = system("clang -cc1 -include-pch $file.pch -x $language -ast-dump /dev/null > /dev/null 2>&…
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/DWARF/x86/ |
| H A D | compilercontext.ll | 3 ; RUN: lldb-test symbols %t.o -find=type --language=C99 \ 6 ; RUN: lldb-test symbols %t.o -find=type --language=C++ \ 9 ; RUN: lldb-test symbols %t.o -find=type --language=C99 \ 12 ; RUN: lldb-test symbols %t.o -find=type --language=C99 \ 15 ; RUN: lldb-test symbols %t.o -find=type --language=C99 \ 18 ; RUN: lldb-test symbols %t.o -find=type --language=C99 \ 40 !2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang", isOptimized: false…
|
| /llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | index.rst | 23 run through the implementation of a simple language, showing 28 This tutorial introduces the simple "Kaleidoscope" language, building it 30 over time. This lets us cover a range of language design and LLVM-specific 47 - `Chapter #1: Kaleidoscope language and Lexer <LangImpl01.html>`_ - 50 is also the first part of building a parser for a language, and we 64 the basic language up and running, we show how to extend 69 <LangImpl06.html>`_ - This chapter extends the language to let 72 "language" as library routines. 81 - `Chapter #9: Debug Information <LangImpl09.html>`_ - A real language 94 language including a hand-written lexer, parser, AST, as well as code [all …]
|
| /llvm-project-15.0.7/lldb/test/Shell/REPL/ |
| H A D | Basic.test | 3 // RUN: %lldb --repl --repl-language c++ 2>&1 | FileCheck %s --check-prefix=CPP 6 // RUN: %lldb --repl --repl-language python 2>&1 | FileCheck %s --check-prefix=PYTHON 9 // RUN: not %lldb --repl --repl-language bogus 2>&1 | FileCheck %s --check-prefix=BOGUS 10 // BOGUS: error: Unrecognized language name: "bogus"
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | Language.h | 149 static Language *FindPlugin(lldb::LanguageType language); 155 static Language *FindPlugin(lldb::LanguageType language, 277 static const char *GetNameForLanguageType(lldb::LanguageType language); 285 static bool LanguageIsCPlusPlus(lldb::LanguageType language); 287 static bool LanguageIsObjC(lldb::LanguageType language); 289 static bool LanguageIsC(lldb::LanguageType language); 292 static bool LanguageIsCFamily(lldb::LanguageType language); 294 static bool LanguageIsPascal(lldb::LanguageType language); 298 static lldb::LanguageType GetPrimaryLanguage(lldb::LanguageType language);
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverName.cpp | 29 LanguageType language, Breakpoint::MatchType type, lldb::addr_t offset, in BreakpointResolverName() argument 52 m_match_type(Breakpoint::Exact), m_language(language), in BreakpointResolverName() 62 LanguageType language, in BreakpointResolverName() argument 66 m_match_type(Breakpoint::Exact), m_language(language), in BreakpointResolverName() 75 lldb::LanguageType language, in BreakpointResolverName() argument 80 m_match_type(Breakpoint::Regexp), m_language(language), in BreakpointResolverName() 94 LanguageType language = eLanguageTypeUnknown; in CreateFromStructuredData() local 99 language = Language::GetLanguageTypeFromString(language_name); in CreateFromStructuredData() 100 if (language == eLanguageTypeUnknown) { in CreateFromStructuredData() 128 language, offset, skip_prologue); in CreateFromStructuredData() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/REPL/Clang/ |
| H A D | ClangREPL.cpp | 18 ClangREPL::ClangREPL(lldb::LanguageType language, Target &target) in LLDB_PLUGIN_DEFINE() 19 : REPL(eKindClang, target), m_language(language), in LLDB_PLUGIN_DEFINE() 47 lldb::LanguageType language, in CreateInstance() argument 55 lldb::REPLSP result = std::make_shared<ClangREPL>(language, *target); in CreateInstance() 56 target->SetREPL(language, result); in CreateInstance()
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-attr.cpp | 171 __attribute__((external_source_symbol(language="Swift", defined_in="module", generated_declaration)… 176 __attribute__((external_source_symbol(defined_in="module", language="Swift"))); 181 __attribute__((external_source_symbol(generated_declaration, language="Objective-C++", defined_in="… 186 …nal_source_symbol(defined_in="Some external file.cs", generated_declaration, language="C Sharp"))); 191 __attribute__((external_source_symbol(generated_declaration, defined_in="module", language="Swift")…
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBLanguageRuntime.cpp | 24 SBLanguageRuntime::GetNameForLanguageType(lldb::LanguageType language) { in GetNameForLanguageType() argument 25 LLDB_INSTRUMENT_VA(language); in GetNameForLanguageType() 27 return Language::GetNameForLanguageType(language); in GetNameForLanguageType()
|