/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFASTParserClang.h | 35 namespace lldb_private::plugin { 40 } // namespace lldb_private::plugin 44 class DWARFASTParserClang : public lldb_private::plugin::dwarf::DWARFASTParser { 53 const lldb_private::plugin::dwarf::DWARFDIE &die, 57 const lldb_private::plugin::dwarf::DWARFDIE &die) override; 61 const lldb_private::plugin::dwarf::DWARFDIE &die, 65 const lldb_private::plugin::dwarf::DWARFDIE &die, 70 const lldb_private::plugin::dwarf::DWARFDIE &die) override; 76 const lldb_private::plugin::dwarf::DWARFDIE &die) override; 79 const lldb_private::plugin [all...] |
/llvm-project/offload/plugins-nextgen/common/src/ |
H A D | RPC.cpp | 24 rpc::Status handleOffloadOpcodes(plugin::GenericDeviceTy &Device, in RPCServerTy() 65 static rpc::Status handleOffloadOpcodes(plugin::GenericDeviceTy &Device, in initDevice() 78 static rpc::Status runServer(plugin::GenericDeviceTy &Device, void *Buffer) { in initDevice() 147 RPCServerTy::RPCServerTy(plugin::GenericPluginTy &Plugin) 149 Devices(std::make_unique<plugin::GenericDeviceTy *[]>( 165 RPCServerTy::isDeviceUsingRPC(plugin::GenericDeviceTy &Device, 166 plugin::GenericGlobalHandlerTy &Handler, 167 plugin::DeviceImageTy &Image) { 171 Error RPCServerTy::initDevice(plugin::GenericDeviceTy &Device, 172 plugin [all...] |
/llvm-project/llvm/test/tools/gold/X86/ |
H A D | slp-vectorize-pm.ll | 4 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 5 ; RUN: --plugin-opt=thinlto \ 6 ; RUN: --plugin-opt=new-pass-manager \ 7 ; RUN: --plugin-opt=debug-pass-manager \ 8 ; RUN: --plugin-opt=cache-dir=%t.cache \ 9 ; RUN: --plugin-opt=O0 \ 10 ; RUN: --plugin-opt=save-temps \ 15 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 16 ; RUN: --plugin-opt=thinlto \ 17 ; RUN: --plugin-opt=new-pass-manager \ [all …]
|
H A D | opt-remarks.ll | 1 ; Test plugin options for opt-remarks. 3 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ 4 ; RUN: -plugin-opt=save-temps \ 5 ; RUN: -plugin-opt=opt-remarks-passes=inline \ 6 ; RUN: -plugin-opt=opt-remarks-format=yaml \ 7 ; RUN: -plugin-opt=opt-remarks-filename=%t.yaml %t.o -o %t2.o 2>&1 9 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ 10 ; RUN: -plugin-opt=opt-remarks-passes=inline \ 11 ; RUN: -plugin-opt=opt-remarks-format=yaml \ 12 ; RUN: -plugin-opt=opt-remarks-with-hotness \ [all …]
|
H A D | devirt_vcall_vis_export_dynamic.ll | 4 ;; plugin until then. 11 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 12 ; RUN: --plugin-opt=whole-program-visibility \ 13 ; RUN: --plugin-opt=save-temps \ 14 ; RUN: --plugin-opt=-pass-remarks=. \ 21 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 22 ; RUN: --plugin-opt=whole-program-visibility \ 23 ; RUN: --plugin-opt=save-temps \ 24 ; RUN: --plugin-opt=-pass-remarks=. \ 30 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ [all …]
|
H A D | cache.ll | 6 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 7 ; RUN: --plugin-opt=thinlto \ 8 ; RUN: --plugin-opt=cache-dir=%t.cache \ 21 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 22 ; RUN: --plugin-opt=thinlto \ 23 ; RUN: --plugin-opt=cache-dir=%t.cache \ 34 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 35 ; RUN: --plugin-opt=thinlto \ 36 ; RUN: --plugin-opt=cache-dir=%t.cache \ 37 ; RUN: --plugin-opt=cache-policy=prune_after=1h:prune_interval=0s \ [all …]
|
H A D | thinlto.ll | 1 ; First ensure that the ThinLTO handling in the gold plugin handles 5 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 7 ; RUN: --plugin-opt=thinlto \ 8 ; RUN: --plugin-opt=thinlto-index-only \ 11 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 13 ; RUN: --plugin-opt=thinlto \ 22 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 24 ; RUN: --plugin-opt=thinlto \ 25 ; RUN: --plugin-opt=thinlto-index-only \ 36 ; RUN: %gold -plugin [all...] |
H A D | devirt_vcall_vis_shared_def.ll | 10 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 11 ; RUN: --plugin-opt=whole-program-visibility \ 12 ; RUN: --plugin-opt=save-temps \ 13 ; RUN: --plugin-opt=-pass-remarks=. \ 21 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 22 ; RUN: --plugin-opt=whole-program-visibility \ 23 ; RUN: --plugin-opt=save-temps \ 24 ; RUN: --plugin-opt=-pass-remarks=. \ 31 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 32 ; RUN: --plugin-opt=whole-program-visibility \ [all …]
|
H A D | opt-level.ll | 2 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ 3 ; RUN: -m elf_x86_64 --plugin-opt=new-pass-manager \ 4 ; RUN: -plugin-opt=O0 -r -o %t.o %t.bc 6 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ 7 ; RUN: -m elf_x86_64 --plugin-opt=new-pass-manager \ 8 ; RUN: -plugin-opt=O1 -r -o %t.o %t.bc 10 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin [all...] |
H A D | devirt_vcall_vis_public.ll | 1 ;; Test that plugin option whole-program-visibility enables devirtualization. 6 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 7 ; RUN: --plugin-opt=whole-program-visibility \ 8 ; RUN: --plugin-opt=save-temps \ 9 ; RUN: --plugin-opt=-pass-remarks=. \ 16 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 17 ; RUN: --plugin-opt=whole-program-visibility \ 18 ; RUN: --plugin-opt=save-temps \ 19 ; RUN: --plugin-opt=-pass-remarks=. \ 25 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ [all …]
|
H A D | relocation-model-pic.ll | 5 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 7 ; RUN: --plugin-opt=save-temps %t.o -o %t-out 10 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 12 ; RUN: --plugin-opt=save-temps %t.o -o %t-out 17 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 19 ; RUN: --plugin-opt=save-temps %t.o -o %t-out 22 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 24 ; RUN: --plugin-opt=save-temps %t.o -o %t-out 27 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 29 ; RUN: --plugin-opt=save-temps %t.o -o %t-out
|
H A D | thinlto_object_suffix_replace.ll | 10 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 12 ; RUN: --plugin-opt=thinlto \ 13 ; RUN: --plugin-opt=thinlto-index-only \ 22 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 24 ; RUN: --plugin-opt=thinlto \ 25 ; RUN: --plugin-opt=thinlto-index-only \ 26 ; RUN: --plugin-opt=thinlto-object-suffix-replace=".thinlink.bc;.o" \ 33 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 35 ; RUN: --plugin-opt=thinlto \ 36 ; RUN: --plugin-opt=thinlto-index-only \ [all …]
|
H A D | time-trace.ll | 3 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 4 ; RUN: -m elf_x86_64 --plugin-opt=time-trace=%t2.json \ 8 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 9 ; RUN: -m elf_x86_64 --plugin-opt=time-trace=%t2.json \ 10 ; RUN: --plugin-opt=time-trace-granularity=250 \ 14 ; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ 15 ; RUN: -m elf_x86_64 --plugin-opt=time-trace=%t2.json \ 16 ; RUN: --plugin-opt=time-trace-granularity=hello \
|
H A D | common.ll | 11 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 12 ; RUN: --plugin-opt=emit-llvm \ 19 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 20 ; RUN: --plugin-opt=emit-llvm \ 27 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 28 ; RUN: --plugin-opt=emit-llvm \ 35 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 36 ; RUN: --plugin-opt=emit-llvm \ 44 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 45 ; RUN: --plugin-opt=emit-llvm \
|
H A D | new-pm.ll | 1 ; Test plugin options new-pass-manager and debug-pass-manager 4 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 5 ; RUN: --plugin-opt=thinlto \ 6 ; RUN: --plugin-opt=new-pass-manager \ 7 ; RUN: --plugin-opt=debug-pass-manager \ 8 ; RUN: --plugin-opt=cache-dir=%t.cache \
|
H A D | stats.ll | 4 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ 6 ; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s 9 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ 11 ; RUN: -plugin-opt=thinlto \ 12 ; RUN: -plugin-opt=thinlto-index-only \ 13 ; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
|
/llvm-project/lld/test/ELF/ |
H A D | lto-plugin-ignore.s | 9 # RUN: -plugin path/to/liblto_plugin.so \ 10 # RUN: -plugin-opt=/path/to/lto-wrapper \ 11 # RUN: -plugin-opt=/path/to/lto-wrapper.exe \ 12 # RUN: -plugin-opt=relative/path/to/lto-wrapper \ 13 # RUN: -plugin-opt=relative/path/to/lto-wrapper.exe \ 14 # RUN: -plugin-opt=-fresolution=zed \ 15 # RUN: -plugin-opt=-pass-through=-lgcc \ 16 # RUN: -plugin-opt=-pass-through=-lgcc_eh \ 17 # RUN: -plugin-opt=-pass-through=-lc 21 # RUN: ld.lld %t.o -o /dev/null -plugin /path/to/LLVMgold.so -plugin-opt=thinlto [all …]
|
/llvm-project/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…
|
/llvm-project/offload/plugins-nextgen/common/include/ |
H A D | RPC.h | 29 namespace plugin { 34 } // namespace plugin 42 RPCServerTy(plugin::GenericPluginTy &Plugin); 53 llvm::Expected<bool> isDeviceUsingRPC(plugin::GenericDeviceTy &Device, 54 plugin::GenericGlobalHandlerTy &Handler, 55 plugin::DeviceImageTy &Image); 60 llvm::Error initDevice(plugin::GenericDeviceTy &Device, 61 plugin::GenericGlobalHandlerTy &Handler, 62 plugin::DeviceImageTy &Image); 66 llvm::Error deinitDevice(plugin [all...] |
/llvm-project/llvm/test/tools/gold/X86/v1.16/ |
H A D | devirt_vcall_vis_export_dynamic.ll | 10 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 11 ; RUN: --plugin-opt=whole-program-visibility \ 12 ; RUN: --plugin-opt=save-temps \ 13 ; RUN: --plugin-opt=-pass-remarks=. \ 20 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 21 ; RUN: --plugin-opt=whole-program-visibility \ 22 ; RUN: --plugin-opt=save-temps \ 23 ; RUN: --plugin-opt=-pass-remarks=. \ 29 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ 30 ; RUN: --plugin-opt=whole-program-visibility \ [all …]
|
/llvm-project/clang/docs/ |
H A D | ClangPlugins.rst | 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: 120 To see a working example of an attribute plugin, se [all...] |
/llvm-project/lldb/test/Shell/Minidump/ |
H A D | dump-all.test | 2 # RUN: %lldb -c %t -o 'process plugin dump --all' | \ 8 # RUN: %lldb -c %t -o 'process plugin dump -a' | \ 14 # RUN: %lldb -c %t -o 'process plugin dump --directory' | FileCheck --check-prefix=CHECKDIR %s 15 # RUN: %lldb -c %t -o 'process plugin dump -d' | FileCheck --check-prefix=CHECKDIR %s 16 # RUN: %lldb -c %t -o 'process plugin dump --linux' | \ 21 # RUN: %lldb -c %t -o 'process plugin dump --cpuinfo' | FileCheck --check-prefix=CHECKCPU %s 22 # RUN: %lldb -c %t -o 'process plugin dump -C' | FileCheck --check-prefix=CHECKCPU %s 23 # RUN: %lldb -c %t -o 'process plugin dump --status' | FileCheck --check-prefix=CHECKSTATUS %s 24 # RUN: %lldb -c %t -o 'process plugin dump -s' | FileCheck --check-prefix=CHECKSTATUS %s 25 # RUN: %lldb -c %t -o 'process plugin dump --lsb-release' | FileCheck --check-prefix=CHECKLSB %s [all …]
|
/llvm-project/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 …]
|
/llvm-project/lld/test/ELF/lto/ |
H A D | slp-vectorize-pm.ll | 5 ; RUN: ld.lld --plugin-opt=debug-pass-manager --plugin-opt=O0 --plugin-opt=save-temps -shared -o %t… 8 ; RUN: ld.lld --plugin-opt=debug-pass-manager --plugin-opt=O1 --plugin-opt=save-temps -shared -o %t… 11 ; RUN: ld.lld --plugin-opt=debug-pass-manager --plugin-opt=O2 --plugin-opt=save-temps -shared -o %t… 14 ; RUN: ld.lld --plugin-opt=debug-pass-manager --plugin-opt=O3 --plugin-opt=save-temps -shared -o %t…
|
/llvm-project/lldb/include/lldb/Expression/ |
H A D | DWARFExpression.h | 24 namespace plugin { 28 } // namespace plugin 69 GetLocation_DW_OP_addr(const plugin::dwarf::DWARFUnit *dwarf_cu) const; 71 bool Update_DW_OP_addr(const plugin::dwarf::DWARFUnit *dwarf_cu, 78 ContainsThreadLocalStorage(const plugin::dwarf::DWARFUnit *dwarf_cu) const; 81 const plugin::dwarf::DWARFUnit *dwarf_cu, 135 const plugin::dwarf::DWARFUnit *dwarf_cu, 139 static bool ParseDWARFLocationList(const plugin::dwarf::DWARFUnit *dwarf_cu,
|