/openbsd-src/gnu/llvm/clang/docs/ |
H A D | ClangPlugins.rst | 7 run a Clang Plugin. 15 simple clang plugin. 21 handle plugin command line options. The ``PluginASTAction`` base class declares 22 a ``ParseArgs`` method which you have to implement in your plugin. 36 Registering a plugin 39 A plugin is loaded from a dynamic library at runtime by the compiler. To 40 register a plugin in a library, use ``FrontendPluginRegistry::Add<>``: 44 static FrontendPluginRegistry::Add<MyPlugin> X("my-plugin-name", "my plugin description"); 88 The members of ``ParsedAttrInfo`` that a plugin attribute must define are: 113 To see a working example of an attribute plugin, see `the Attribute.cpp example [all …]
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Passes/ |
H A D | PassPlugin.h | 1 //===- llvm/Passes/PassPlugin.h - Public Plugin API -----------------------===// 27 /// Identifies the API version understood by this plugin. 29 /// When a plugin is loaded, the driver will check it's supported plugin version 30 /// against that of the plugin. A mismatch is an error. The supported version 36 /// Information about the plugin required to load its passes 39 /// be filled out by plugin implementors. LLVM-side users of a plugin are 42 /// The API version understood by this plugin, usually \c 45 /// A meaningful name of the plugin. 47 /// The version of the plugin. 50 /// The callback for registering plugin passes with a \c PassBuilder [all …]
|
/openbsd-src/gnu/llvm/clang/examples/PrintFunctionNames/ |
H A D | README.txt | 2 providing AST consumers using a plugin. 4 Build the plugin by running `make` in this directory. 6 Once the plugin is built, you can run it using: 9 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-fi… 10 … ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns help -pl… 11 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-p… 14 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns some-input… 15 …/../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns help -pl… 16 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-ar…
|
/openbsd-src/gnu/llvm/llvm/docs/ |
H A D | GoldPlugin.rst | 2 The LLVM gold plugin 13 The LLVM gold plugin implements the gold plugin interface on top of 14 :ref:`libLTO`. The same plugin can also be used by other tools such as 17 gold plugin with ld.bfd is not tested and therefore not officially 20 As of LLVM 15, the gold plugin will ignore bitcode from the ``.llvmbc`` 26 .. _`gold plugin interface`: http://gcc.gnu.org/wiki/whopr/driver 33 You need to have gold with plugin support and build the LLVMgold plugin. 43 If you have gold installed, check for plugin support by running 44 ``/usr/bin/ld.gold -plugin``. If it complains "missing argument" then 45 you have plugin support. If not, and you get an error such as "unknown option", [all …]
|
H A D | WritingAnLLVMNewPMPass.rst | 240 ``clang`` or ``opt``. A pass plugin can add passes to default optimization 270 // Declare plugin extension function declarations. 276 // Register plugin extensions in PassBuilder. 284 // Load plugin dynamically. 285 auto Plugin = PassPlugin::Load(PathToPlugin); 286 if (!Plugin) 288 // Register plugin extensions in PassBuilder. 289 Plugin.registerPassBuilderCallbacks(PB);
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-test/ |
H A D | x_deprecated-META.json | 11 "plugin", 28 "name" : "Dist-Zilla-Plugin-Test-EOL", 86 "Dist::Zilla::Plugin::EOLTests" : { 87 "file" : "lib/Dist/Zilla/Plugin/EOLTests.pm", 91 "Dist::Zilla::Plugin::Test::EOL" : { 92 "file" : "lib/Dist/Zilla/Plugin/Test/EOL.pm", 99 "mailto" : "bug-Dist-Zilla-Plugin-Test-EOL@rt.cpan.org", 100 "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-EOL" 102 "homepage" : "https://github.com/karenetheridge/Dist-Zilla-Plugin-Test-EOL", 105 "url" : "https://github.com/karenetheridge/Dist-Zilla-Plugin-Test-EOL.git", [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-valid/ |
H A D | x_deprecated-META.yml | 17 - plugin 30 name: Dist-Zilla-Plugin-Test-EOL 36 Dist::Zilla::Plugin::EOLTests: 37 file: lib/Dist/Zilla/Plugin/EOLTests.pm 40 Dist::Zilla::Plugin::Test::EOL: 41 file: lib/Dist/Zilla/Plugin/Test/EOL.pm 62 bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-EOL 63 homepage: https://github.com/karenetheridge/Dist-Zilla-Plugin-Test-EOL 64 repository: https://github.com/karenetheridge/Dist-Zilla-Plugin-Test-EOL.git 71 class: Dist::Zilla::Plugin::Bootstrap::lib [all …]
|
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/ |
H A D | StructuredDataPlugin.h | 19 /// Plugin that supports process-related structured data sent asynchronously 22 /// This plugin type is activated by a Process-derived instance when that 35 /// data events raised by the plugin, and give the plugin both the output 36 /// and error streams such that the plugin can display something about the 50 /// Return whether this plugin supports the given StructuredData feature. 54 /// one at a time, and have the first plugin that supports a given feature 55 /// be the plugin instantiated to handle that feature. There is a 1-1 57 /// mapped to that process. A plugin can support handling multiple 58 /// features, and if that happens, there is a single plugin instance 66 /// true if the plugin supports the feature; otherwise, false. [all …]
|
/openbsd-src/gnu/llvm/lldb/source/Target/ |
H A D | StructuredDataPlugin.cpp | 23 "Parent for per-plugin structured data commands", in CommandStructuredData() 24 "plugin structured-data <plugin>") {} in CommandStructuredData() 36 // By default, plugins are always enabled. Plugin authors should override in GetEnabled() 37 // this if there is an enabled/disabled state for their plugin. in GetEnabled() 48 if (!interpreter.GetCommandObject("plugin structured-data")) { in InitializeBasePluginForDebugger() 51 debugger.GetCommandInterpreter().GetCommandObject("plugin"); in InitializeBasePluginForDebugger() 59 // Hook it up under the top-level plugin command. in InitializeBasePluginForDebugger()
|
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
H A D | ValueProfileCollector.cpp | 21 /// A plugin-based class that takes an arbitrary number of Plugin types. 22 /// Each plugin type must satisfy the following API: 23 /// 1) the constructor must take a `Function &f`. Typically, the plugin would 27 /// such that the plugin would append its result into the vector parameter. 44 PluginT Plugin; member in __anon42f4d7fd0111::PluginChain 49 : PluginChain<Ts...>(F, TLI), Plugin(F, TLI) {} in PluginChain() 53 Plugin.run(Candidates); in get()
|
H A D | ValueProfilePlugins.inc | 9 // This file contains a set of plugin classes used in ValueProfileCollectorImpl. 10 // Each plugin is responsible for collecting Value Profiling candidates for a 12 // Each plugin must satisfy the interface described in ValueProfileCollector.cpp 94 /// For now, registering a plugin with the ValueProfileCollector is done by 95 /// adding the plugin type to the VP_PLUGIN_LIST macro.
|
/openbsd-src/gnu/llvm/lld/ELF/ |
H A D | Options.td | 620 def: J<"plugin-opt=O">, Alias<lto_O>, HelpText<"Alias for --lto-O">; 621 def: F<"plugin-opt=debug-pass-manager">, 623 def: F<"plugin-opt=disable-verify">, Alias<disable_verify>, HelpText<"Alias for --disable-verify">; 624 def plugin_opt_dwo_dir_eq: J<"plugin-opt=dwo_dir=">, 626 def plugin_opt_emit_asm: F<"plugin-opt=emit-asm">, 628 def plugin_opt_emit_llvm: F<"plugin-opt=emit-llvm">; 629 def: J<"plugin-opt=jobs=">, Alias<thinlto_jobs_eq>, HelpText<"Alias for --thinlto-jobs=">; 630 def: J<"plugin-opt=lto-partitions=">, Alias<lto_partitions>, HelpText<"Alias for --lto-partitions">; 631 def plugin_opt_mcpu_eq: J<"plugin-opt=mcpu=">; 632 def: F<"plugin-opt=new-pass-manager">, [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Passes/ |
H A D | PassPlugin.cpp | 27 // llvmGetPassPluginInfo should be resolved to the definition from the plugin in Load() 33 // If the symbol isn't found, this is probably a legacy plugin, which is an in Load() 35 return make_error<StringError>(Twine("Plugin entry point not found in '") + in Load() 36 Filename + "'. Is this a legacy plugin?", in Load() 43 Twine("Wrong API version on plugin '") + Filename + "'. Got version " + in Load() 49 return make_error<StringError>(Twine("Empty entry callback in plugin '") + in Load()
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/ |
H A D | Plugin.pm | 1 package CPAN::Plugin; 83 package CPAN::Plugin; 93 CPAN::Plugin - Base class for CPAN shell extensions 97 package CPAN::Plugin::Flurb; 98 use parent 'CPAN::Plugin'; 110 The plugin system in the CPAN shell was introduced in version 2.07 and 115 See L<CPAN/"Plugin support">. 121 returns list of packages given plugin requires for functionality.
|
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Plugins/ |
H A D | BUILD.gn | 4 # In the CMake build, each plugin calls `add_lldb_library(name PLUGIN ...)`, 5 # which implicitly adds the plugin name to the LLDB_PLUGINS list. 8 # plugin names to generate Plugins.def. 210 foreach(plugin, lldb_plugins) { 211 plugin_id = plugin[1] 244 foreach(plugin, lldb_plugins) { 245 deps += [ plugin[0] ]
|
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/scripts/ |
H A D | asan_symbolize.py | 559 def register_plugin(plugin): argument 560 logging.info('Registering plugin %s', plugin.get_name()) 561 self.add_plugin(plugin) 570 def add_plugin(self, plugin): argument 571 assert isinstance(plugin, AsanSymbolizerPlugIn) 572 self._plugins.append(plugin) 573 self._plugin_names.add(plugin.get_name()) 574 plugin._receive_proxy(self) 576 def remove_plugin(self, plugin): argument 577 assert isinstance(plugin, AsanSymbolizerPlugIn) [all …]
|
/openbsd-src/gnu/llvm/lldb/source/Commands/ |
H A D | CommandObjectPlugin.cpp | 19 : CommandObjectParsed(interpreter, "plugin load", in CommandObjectPluginLoad() 20 "Import a dylib that implements an LLDB plugin.", in CommandObjectPluginLoad() 52 result.AppendError("'plugin load' requires one argument"); in DoExecute() 72 : CommandObjectMultiword(interpreter, "plugin", in CommandObjectPlugin() 74 "plugin <subcommand> [<subcommand-options>]") { in CommandObjectPlugin()
|
/openbsd-src/gnu/llvm/clang/lib/Tooling/ |
H A D | ArgumentsAdjusters.cpp | 157 // plugin arguments are in the form: in getStripPluginsAdjuster() 158 // -Xclang {-load, -plugin, -plugin-arg-<plugin-name>, -add-plugin} in getStripPluginsAdjuster() 161 (Args[I + 1] == "-load" || Args[I + 1] == "-plugin" || in getStripPluginsAdjuster() 162 llvm::StringRef(Args[I + 1]).startswith("-plugin-arg-") || in getStripPluginsAdjuster() 163 Args[I + 1] == "-add-plugin") && in getStripPluginsAdjuster()
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/Plugin/ |
H A D | Specfile.pm | 3 CPAN::Plugin::Specfile - Proof of concept implementation of a trivial CPAN::Plugin 8 o conf plugin_list push CPAN::Plugin::Specfile 26 Implemented as a post-test hook, this plugin writes a specfile after 33 B<WARNING:> This code is just a small demo how to use the plugin 35 expect new features in this plugin. 42 o conf plugin_list push CPAN::Plugin::Specfile=dir,/tmp/specfiles-000042 45 C<plugins/CPAN::Plugin::Specfile> directory in the I<cpan_home> 54 package CPAN::Plugin::Specfile; 247 - autogenerated by CPAN::Plugin::Specfile()
|
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
H A D | PluginManager.h | 277 /// The name of the plugin. 280 /// A description string for the plugin. 294 /// 1. Only do something if the plugin's behavior is enabled. 296 /// plugin. The callback gets a pointer to the Target, which 299 /// plugin if, for instance, additional environment variables 358 /// the given plugin. 361 /// The name of the plugin. 364 /// An empty \a StringRef if no plugin was found with that plugin name, 369 /// the plugin given by its index. 372 /// The index of the plugin to get the schema of.
|
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/unittests/Passes/ |
H A D | BUILD.gn | 6 foreach(plugin, 11 loadable_module(plugin) { 12 # Put plugin next to the unit test executable. 15 sources = [ "$plugin.cpp" ]
|
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/ |
H A D | parse_abstract.t | 75 test_abstract(<<END, "Catalyst::Plugin::Authentication", "Infrastructure plugin for the Catalyst au… 80 Catalyst::Plugin::Authentication - Infrastructure plugin for the Catalyst
|
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/unittests/Analysis/ |
H A D | BUILD.gn | 6 foreach(plugin, [ "InlineAdvisorPlugin" ]) { 7 loadable_module(plugin) { 8 # Put plugin next to the unit test executable. 11 sources = [ "$plugin.cpp" ]
|
/openbsd-src/gnu/usr.bin/perl/cpan/parent/t/ |
H A D | parent-classfromfile.t | 21 eval sprintf q{package Test2; require '%s/lib/Dummy2.plugin'; use parent -norequire, 'Dummy2::Inlin… 23 isnt $INC{"$base/lib/Dummy2.plugin"}, undef, "We loaded the plugin file";
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPGridValues.h | 22 /// consistent between host RTL (plugin), device RTL, and clang. 44 /// Example usage in libomptarget hsa plugin: 47 /// ... Then use this reference to access GV_Warp_Size in the hsa plugin. 50 /// Example usage in libomptarget cuda plugin: 53 /// ... Then use this reference to access GV_Warp_Size in the cuda plugin.
|