| /llvm-project-15.0.7/llvm/test/Transforms/Internalize/ |
| H A D | comdat.ll | 1 …RUN: opt < %s -mtriple=x86_64 -internalize -internalize-public-api-list main -internalize-public-a… 2 ; RUN: -internalize-public-api-list c3 -internalize-public-api-list c4 -S | FileCheck %s --check-… 3 … < %s -mtriple=x86_64-windows -internalize -internalize-public-api-list main -internalize-public-a… 4 ; RUN: -internalize-public-api-list c3 -internalize-public-api-list c4 -S | FileCheck %s --check-… 5 …RUN: opt < %s -mtriple=wasm32 -internalize -internalize-public-api-list main -internalize-public-a… 6 ; RUN: -internalize-public-api-list c3 -internalize-public-api-list c4 -S | FileCheck %s --check-…
|
| H A D | lists.ll | 1 ; No arguments means internalize everything 2 ; RUN: opt < %s -internalize -S | FileCheck --check-prefix=ALL %s 4 ; Non-existent files should be treated as if they were empty (so internalize 6 ; RUN: opt < %s -internalize -internalize-public-api-file /nonexistent/file 2> /dev/null -S | FileC… 9 ; RUN: opt < %s -internalize -internalize-public-api-list foo -internalize-public-api-list j -S | F… 11 ; RUN: opt < %s -S -internalize -internalize-public-api-list bar -internalize-public-api-list foo -… 14 ; RUN: opt < %s -internalize -internalize-public-api-list bar -internalize-public-api-file %S/apifi…
|
| H A D | stackguard.ll | 2 ; RUN: opt < %s -internalize -S | FileCheck %s 3 ; RUN: opt < %s -passes=internalize -S | FileCheck %s 4 ; RUN: opt -mtriple=powerpc64-ibm-aix-xcoff < %s -passes=internalize -S | FileCheck %s --check-pref…
|
| H A D | externally-initialized.ll | 1 ; RUN: opt < %s -internalize -S | FileCheck %s 2 ; RUN: opt < %s -passes=internalize -S | FileCheck %s
|
| H A D | 2009-01-05-InternalizeAliases.ll | 1 ; RUN: opt < %s -internalize -internalize-public-api-list main -S | FileCheck %s
|
| H A D | globs.ll | 1 ; RUN: opt < %s -internalize -internalize-public-api-list 'bar?,_*,*_,[ab]' -S | FileCheck %s
|
| H A D | used.ll | 1 ; RUN: opt < %s -internalize -S | FileCheck %s 2 ; RUN: opt < %s -passes=internalize -S | FileCheck %s
|
| /llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/ |
| H A D | asan_do_not_internalize.ll | 1 ; RUN: opt -O0 -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-internalize-symbols < %s | FileCheck -chec… 2 ; RUN: opt -passes='default<O0>' -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-internalize-symbols < %s… 3 ; RUN: opt -O1 -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-internalize-symbols < %s | FileCheck -chec… 4 ; RUN: opt -passes='default<O1>' -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-internalize-symbols < %s…
|
| /llvm-project-15.0.7/llvm/test/ThinLTO/X86/ |
| H A D | thinlto-internalize-doublepromoted.ll | 1 ; Test to ensure that we can internalize values produced from two rounds 17 ; RUN: opt -module-summary -o %t-main.bc %S/Inputs/thinlto-internalize-doublepromoted.ll 19 ; RUN: llvm-lto -thinlto-action=internalize -exported-symbol=main -thinlto-index %t-index.bc %t.bc … 20 ; RUN: llvm-dis %t.internalize.bc -o - | FileCheck %s
|
| H A D | internalize.ll | 2 ; RUN: opt -module-summary %p/Inputs/internalize.ll -o %t2.bc 6 ; RUN: llvm-lto -thinlto-action=internalize -thinlto-index %t.index.bc %t1.bc -o - | llvm-dis -o - … 7 ; RUN: llvm-lto -thinlto-action=internalize -thinlto-index %t.index.bc %t1.bc -o - --exported-symb… 12 ; RUN: llvm-lto -thinlto-action=internalize -thinlto-index %t.index.bc %t1.bc \ 23 ; RUN: llvm-dis < %t.o.1.2.internalize.bc | FileCheck %s --check-prefix=INTERNALIZE2 35 ; RUN: llvm-dis < %t.o.1.2.internalize.bc | FileCheck %s --check-prefix=INTERNALIZE2-OPTION-DISABLE
|
| H A D | not-internalized.ll | 11 ; Check that we don't internalize `bar` during promotion, 15 ; Thin LTO internalization shouldn't internalize `bar` as well 16 ; RUN: llvm-dis %t.out.1.2.internalize.bc -o - | FileCheck %s
|
| H A D | thinlto-internalize-used.ll | 2 ; RUN: opt -module-summary -o %t-main.bc %S/Inputs/thinlto-internalize-used2.ll 4 ; RUN: llvm-lto -thinlto-action=internalize -thinlto-index %t-index.bc %t.bc -o %t.promote.bc
|
| H A D | index-const-prop-alias.ll | 8 ; When ret_ptr is preserved we return pointer to alias, so we can't internalize aliasee 13 ; When g.alias is preserved we can't internalize aliasee either 21 ; IMPORT: attributes #0 = { "thinlto-internalize" }
|
| /llvm-project-15.0.7/llvm/test/tools/gold/X86/ |
| H A D | global_with_section.ll | 1 ; Test to ensure we don't internalize or treat as dead a global value 14 ; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s --check-prefix=CHECK --check-prefix=CH… 25 ; RUN: llvm-dis %t.o.2.internalize.bc -o - | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK… 26 ; RUN: llvm-dis %t2.o.2.internalize.bc -o - | FileCheck %s --check-prefix=CHECK2-THINLTO 42 ; We should not internalize @var_with_section due to section 53 ; We should not internalize @deadfunc_with_section due to section 73 ; In ThinLTO mode, we can't internalize it as it needs to be preserved
|
| /llvm-project-15.0.7/lld/test/ELF/lto/ |
| H A D | common4.ll | 5 ;; so LTO should be able to internalize it. 12 ; RUN: llvm-dis < %t.exe.0.2.internalize.bc | FileCheck %s 15 ; RUN: llvm-dis < %t.exe.0.2.internalize.bc | FileCheck %s
|
| H A D | internalize-undef.ll | 3 ; RUN: llvm-as %p/Inputs/internalize-undef.ll -o %t2.o 5 ; RUN: llvm-dis < %t.0.2.internalize.bc | FileCheck %s
|
| H A D | archive-3.ll | 6 ; RUN: llvm-dis %t3.0.2.internalize.bc -o - | FileCheck %s 11 ; RUN: llvm-dis %t3.0.2.internalize.bc -o - | FileCheck %s
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | internalize.ll | 1 ; RUN: opt -O0 -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-internalize-symbols < %s | FileCheck -chec… 2 ; RUN: opt -passes='default<O0>' -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-internalize-symbols < %s… 3 ; RUN: opt -O1 -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-internalize-symbols < %s | FileCheck -chec… 4 ; RUN: opt -passes='default<O1>' -S -mtriple=amdgcn-unknown-amdhsa -amdgpu-internalize-symbols < %s…
|
| /llvm-project-15.0.7/llvm/test/Linker/ |
| H A D | internalize-lazy.ll | 1 ; RUN: llvm-link -S -internalize %s %p/Inputs/internalize-lazy.ll | FileCheck %s
|
| H A D | link-flags.ll | 3 ; RUN: llvm-link -S -internalize %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -chec… 4 ; RUN: llvm-link -S -internalize -only-needed %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileC… 5 ; RUN: llvm-link -S -internalize %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll %S/Inputs/linkage.d.…
|
| H A D | only-needed-used.ll | 2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-used.ll | FileCheck %s 4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-used.ll | FileCheck %s
|
| H A D | only-needed-compiler-used.ll | 2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-compiler-used.ll | FileCheck… 4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | lto-internalize-unnamed-addr.ll | 11 ; RUN: llvm-dis < %t/test.0.2.internalize.bc | FileCheck %s --check-prefix=LTO-BC 15 ; RUN: llvm-dis < %t/test.dylib.0.2.internalize.bc | FileCheck %s --check-prefix=LTO-BC-DYLIB 20 ; RUN: llvm-dis < %t/test.thinlto.o.2.internalize.bc | FileCheck %s --check-prefix=THINLTO-BC 21 ; RUN: llvm-dis < %t/test2.thinlto.o.2.internalize.bc | FileCheck %s --check-prefix=THINLTO-BC-2 26 ; RUN: llvm-dis < %t/test.thinlto.o.2.internalize.bc | FileCheck %s --check-prefix=THINLTO-BC 27 ; RUN: llvm-dis < %t/test2.thinlto.o.2.internalize.bc | FileCheck %s --check-prefix=THINLTO-BC-2 62 ;; LD64 doesn't internalize this -- it emits it as a weak external -- which I
|
| H A D | lto-final-definition.ll | 5 ; RUN: llvm-dis %t/test.0.2.internalize.bc -o - | FileCheck %s 8 ; RUN: llvm-dis %t/flat-namespace.dylib.0.2.internalize.bc -o - | FileCheck %s \
|
| H A D | lto-internalize.ll | 3 ;; Check that we internalize bitcode symbols (only) where possible, i.e. when 12 ; RUN: llvm-dis < %t/test.0.2.internalize.bc | FileCheck %s 43 ; RUN: llvm-dis < %t/test.dylib.0.2.internalize.bc | FileCheck %s --check-prefix=DYN 48 ; RUN: llvm-dis < %t/test.extdyn.0.2.internalize.bc
|