Home
last modified time | relevance | path

Searched refs:plugin (Results 1 – 25 of 273) sorted by relevance

1234567891011

/llvm-project-15.0.7/llvm/test/tools/gold/X86/
H A Dslp-vectorize-pm.ll5 ; RUN: --plugin-opt=thinlto \
9 ; RUN: --plugin-opt=O0 \
10 ; RUN: --plugin-opt=save-temps \
16 ; RUN: --plugin-opt=thinlto \
20 ; RUN: --plugin-opt=O1 \
21 ; RUN: --plugin-opt=save-temps \
27 ; RUN: --plugin-opt=thinlto \
31 ; RUN: --plugin-opt=O2 \
32 ; RUN: --plugin-opt=save-temps \
38 ; RUN: --plugin-opt=thinlto \
[all …]
H A Dopt-remarks.ll1 ; Test plugin options for opt-remarks.
4 ; RUN: -plugin-opt=save-temps \
5 ; RUN: -plugin-opt=opt-remarks-passes=inline \
6 ; RUN: -plugin-opt=opt-remarks-format=yaml \
10 ; RUN: -plugin-opt=opt-remarks-passes=inline \
11 ; RUN: -plugin-opt=opt-remarks-format=yaml \
12 ; RUN: -plugin-opt=opt-remarks-with-hotness \
15 ; RUN: -plugin-opt=opt-remarks-passes=inline \
16 ; RUN: -plugin-opt=opt-remarks-format=yaml \
17 ; RUN: -plugin-opt=opt-remarks-with-hotness \
[all …]
H A Dcache.ll7 ; RUN: --plugin-opt=thinlto \
8 ; RUN: --plugin-opt=cache-dir=%t.cache \
22 ; RUN: --plugin-opt=thinlto \
23 ; RUN: --plugin-opt=cache-dir=%t.cache \
35 ; RUN: --plugin-opt=thinlto \
36 ; RUN: --plugin-opt=cache-dir=%t.cache \
49 ; RUN: --plugin-opt=thinlto \
50 ; RUN: --plugin-opt=cache-dir=%t.cache \
61 ; RUN: --plugin-opt=thinlto \
62 ; RUN: --plugin-opt=save-temps \
[all …]
H A Dthinlto.ll7 ; RUN: --plugin-opt=thinlto \
13 ; RUN: --plugin-opt=thinlto \
24 ; RUN: --plugin-opt=thinlto \
39 ; RUN: --plugin-opt=thinlto \
40 ; RUN: --plugin-opt=jobs=1 \
51 ; RUN: --plugin-opt=thinlto \
52 ; RUN: --plugin-opt=jobs=1 \
62 ; RUN: --plugin-opt=thinlto \
63 ; RUN: --plugin-opt=jobs=2 \
73 ; RUN: --plugin-opt=jobs=2 \
[all …]
H A Ddevirt_vcall_vis_export_dynamic.ll4 ;; plugin until then.
13 ; RUN: --plugin-opt=save-temps \
14 ; RUN: --plugin-opt=-pass-remarks=. \
23 ; RUN: --plugin-opt=save-temps \
24 ; RUN: --plugin-opt=-pass-remarks=. \
32 ; RUN: --plugin-opt=save-temps \
33 ; RUN: --plugin-opt=-pass-remarks=. \
45 ; RUN: --plugin-opt=save-temps \
46 ; RUN: --plugin-opt=-pass-remarks=. \
54 ; RUN: --plugin-opt=save-temps \
[all …]
H A Ddevirt_vcall_vis_shared_def.ll11 ; RUN: --plugin-opt=whole-program-visibility \
12 ; RUN: --plugin-opt=save-temps \
13 ; RUN: --plugin-opt=-pass-remarks=. \
22 ; RUN: --plugin-opt=whole-program-visibility \
23 ; RUN: --plugin-opt=save-temps \
24 ; RUN: --plugin-opt=-pass-remarks=. \
33 ; RUN: --plugin-opt=save-temps \
34 ; RUN: --plugin-opt=-pass-remarks=. \
48 ; RUN: --plugin-opt=-pass-remarks=. \
56 ; RUN: --plugin-opt=-pass-remarks=. \
[all …]
H A Dopt-level.ll2 ; 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-opt=save-temps \
11 ; RUN: -m elf_x86_64 --plugin-opt=new-pass-manager \
12 ; RUN: -plugin-opt=O2 -r -o %t.o %t.bc
H A Drelocation-model-pic.ll5 ; 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 Dthinlto_object_suffix_replace.ll10 ; 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 Ddevirt_vcall_vis_public.ll8 ; RUN: --plugin-opt=save-temps \
9 ; RUN: --plugin-opt=-pass-remarks=. \
18 ; RUN: --plugin-opt=save-temps \
19 ; RUN: --plugin-opt=-pass-remarks=. \
27 ; RUN: --plugin-opt=save-temps \
28 ; RUN: --plugin-opt=-pass-remarks=. \
40 ; RUN: --plugin-opt=save-temps \
41 ; RUN: --plugin-opt=-pass-remarks=. \
48 ; RUN: --plugin-opt=save-temps \
49 ; RUN: --plugin-opt=-pass-remarks=. \
[all …]
H A Dnew-pm.ll1 ; 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 Dstats.ll4 ; 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
H A Dcommon.ll11 ; 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 Dthinlto_funcimport.ll5 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
6 ; RUN: --plugin-opt=save-temps \
7 ; RUN: --plugin-opt=thinlto \
14 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
15 ; RUN: --plugin-opt=save-temps \
16 ; RUN: --plugin-opt=thinlto \
17 ; RUN: --plugin-opt=O0 \
/llvm-project-15.0.7/lld/test/ELF/
H A Dlto-plugin-ignore.s9 # 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 \
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
24 # RUN: not ld.lld %t.o -o /dev/null -plugin-opt=-abc -plugin-opt=-xyz 2>&1 | FileCheck %s
[all …]
/llvm-project-15.0.7/clang/examples/PrintFunctionNames/
H A DREADME.txt2 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-15.0.7/llvm/test/tools/gold/X86/v1.16/
H A Ddevirt_vcall_vis_export_dynamic.ll12 ; RUN: --plugin-opt=save-temps \
13 ; RUN: --plugin-opt=-pass-remarks=. \
22 ; RUN: --plugin-opt=save-temps \
23 ; RUN: --plugin-opt=-pass-remarks=. \
31 ; RUN: --plugin-opt=save-temps \
44 ; RUN: --plugin-opt=save-temps \
53 ; RUN: --plugin-opt=save-temps \
62 ; RUN: --plugin-opt=save-temps \
78 ; RUN: --plugin-opt=save-temps \
87 ; RUN: --plugin-opt=save-temps \
[all …]
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Dslp-vectorize-pm.ll5 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager --plugin-opt=O0 --plugi…
8 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager --plugin-opt=O1 --plugi…
11 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager --plugin-opt=O2 --plugi…
14 ; RUN: ld.lld --plugin-opt=new-pass-manager --plugin-opt=debug-pass-manager --plugin-opt=O3 --plugi…
/llvm-project-15.0.7/clang/docs/
H A DClangPlugins.rst15 simple clang plugin.
36 Registering a plugin
44 static FrontendPluginRegistry::Add<MyPlugin> X("my-plugin-name", "my plugin description");
124 Running the plugin
135 passed to the plugin can.
146 If your plugin name contains dashes, either rename the plugin or used the
153 To run a plugin, the dynamic library containing the plugin registry must be
157 `-plugin-arg-<plugin-name>`.
170 clang, first build the plugin, and then call clang with the plugin from the
182 -plugin -Xclang print-fns
[all …]
/llvm-project-15.0.7/lldb/test/Shell/Minidump/
H A Ddump-all.test2 # 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
25 # RUN: %lldb -c %t -o 'process plugin dump --lsb-release' | FileCheck --check-prefix=CHECKLSB %s
26 # RUN: %lldb -c %t -o 'process plugin dump -r' | FileCheck --check-prefix=CHECKLSB %s
27 # RUN: %lldb -c %t -o 'process plugin dump --cmdline' | FileCheck --check-prefix=CHECKCMD %s
[all …]
H A Dfb-dump.test2 # RUN: %lldb -c %t -o 'process plugin dump --all' | \
9 # RUN: %lldb -c %t -o 'process plugin dump -a' | \
16 # RUN: %lldb -c %t -o 'process plugin dump --facebook' | \
23 # RUN: %lldb -c %t -o 'process plugin dump --fb-app-data' | \
25 # RUN: %lldb -c %t -o 'process plugin dump --fb-build-id' | \
27 # RUN: %lldb -c %t -o 'process plugin dump --fb-version' | \
29 # RUN: %lldb -c %t -o 'process plugin dump --fb-java-stack' | \
31 # RUN: %lldb -c %t -o 'process plugin dump --fb-dalvik-info' | \
35 # RUN: %lldb -c %t -o 'process plugin dump --fb-error-log' | \
41 # RUN: %lldb -c %t -o 'process plugin dump --fb-thread-name' | \
[all …]
/llvm-project-15.0.7/lldb/test/Shell/ObjectFile/PECOFF/
H A Dsettings-abi.yaml8 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi msvc" \
13 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi gnu" \
18 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi msvc" \
24 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi gnu" \
30 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi msvc" \
36 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi gnu" \
42 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi msvc" \
44 # RUN: -O "settings append plugin.object-file.pe-coff.module-abi UPPER_CASE=gnu" \
49 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi msvc" \
56 # RUN: %lldb -O "settings set plugin.object-file.pe-coff.abi msvc" \
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/
H A DCMakeLists.txt9 # Build a plugin for a CUDA machine if available.
13 "Whether to build CUDA plugin")
23 libomptarget_say("Not building CUDA offloading plugin: libelf dependency not found.")
27 libomptarget_say("Building CUDA offloading plugin.")
41 libomptarget_say("Building CUDA plugin linked against libcuda")
64 libomptarget_say("Building CUDA plugin for dlopened libcuda")
91 # Install plugin under the lib destination folder.
101 # Report to the parent scope that we are building a plugin for CUDA.
104 # Otherwise this plugin is being built speculatively and there may be no cuda available
106 libomptarget_say("Enable tests using CUDA plugin")
[all …]
/llvm-project-15.0.7/llvm/docs/
H A DGoldPlugin.rst2 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
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
49 * Download, configure and build gold with plugin support:
71 * Build the LLVMgold plugin. Run CMake with
73 path will contain the file ``plugin-api.h``.
[all …]
/llvm-project-15.0.7/clang/test/Driver/
H A Dhipspv-pass-plugin.hip9 // RUN: -nogpuinc -nogpulib --hipspv-pass-plugin=%S/Inputs/pass-plugin.so %s \
13 // RUN: -nogpuinc -nogpulib --hipspv-pass-plugin=foo.so %s \
20 // FROM-HIP-PATH: {{".*opt"}} {{".*.bc"}} "-load-pass-plugin"
22 // FROM-OPTION: {{".*opt"}} {{".*.bc"}} "-load-pass-plugin"
23 // FROM-OPTION-SAME: {{".*/Inputs/pass-plugin.so"}}
25 // NO-PLUGIN-NOT: {{".*opt"}} {{".*.bc"}} "-load-pass-plugin"

1234567891011